|
Posted by Ilya Zakharevich on June 1, 2006, 7:10 am
Please log in for more thread options
[A complimentary Cc of this posting was sent to
Sisyphus
>
> > I am submitting this message again. Doesn't anyone out there know about
> > using termcap under Windows XP?
> >
>
> It seems that the Cygwin developers know something about this as Term::Cap
> works fine in Cygwin's shell on Windows 2000 (and presumably XP as well). By
> "works fine" I mean that all tests in the Term::Cap-1.09 test suite pass
> under Cygwin (whereas on native windows they are all simply skipped).
>
> The Term::Cap-1.09 documentation says that the module will "use capabilities
> from a terminal capability (termcap) database" - and I guess that the
> "terminal capability database" is missing in the native windows environment.
> The problem may go well beyond that - faik it may be that Term::Cap *cannot*
> be applied to the cmd.exe shell.
I would be very surprised if TERM=ansi with "standard" termcap file
won't work. Put it somewhere, and set TERMCAP appropriately to check.
If this works, this implies that on Win32 etc, Term::Cap should
fallback to this value if it can't find the database or TERM.
Hope this helps,
Ilya
|