Solved

running an old working perl on windows vista produce the "Can't find a valid termcap" message

Posted on 2010-08-15
7
271 Views
Last Modified: 2012-05-10
running an old working perl on windows vista (via cygwin) produce the "Can't find a valid termcap" message while running the same perl script on windows xp (via the same perl version and the same cygwin) run quite well ...

any idea what is wrong and how do i fix it ???
0
Comment
Question by:HPBSM
7 Comments
 

Author Comment

by:HPBSM
ID: 33440180
help please ...
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 33440183
Wondering why this is in Java ..?
0
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 125 total points
ID: 33440775
Hate to second guess ya, but the only time I've see perl complain about a missing termcap (and I run perl on Vista, Win7, and 2008 R2 servers), is when there *is* a missing termcap. That'd be a cygwin thing, not a perl thing. So I'm guessing the cygwin installations are not the same after all.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Expert Comment

by:vikaskhoria
ID: 33444787
From my guess, it looks like there is some issue with the platform where you are running the script.
In this case cygwin.
The perl script must be correct (if it is running fine elsewhere)

Try fixing your cygwin as suggested above.

You can do one more thing to check if the script runs on Vista:
Install a perl software like say ActivePerl (I use that on my Vista with no problems)
And then try running the script with that. If that works then script has nothing to do with Vista!
0
 

Author Comment

by:HPBSM
ID: 33574620
Checking it out.
0
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 37061332
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 53
java.io.BufferedReader   readLine()  //returns the entire file ? 4 59
Java DateChooser? 3 29
Java Loop 6 48
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now