laziness, impatience, and hubris | |
PerlMonks |
Re: Using Tab Completion on Windows in cmd.exeby Stamm (Sexton) |
on Nov 25, 2011 at 22:40 UTC ( [id://940134]=note: print w/replies, xml ) | Need Help?? |
I noticed that, by default, the environment variable TERM is set to DUMB on Windows. If I unset it, tab completion works in all packages. It's actually Term::ReadLine::Perl who is called behind the scenes. Unfortunately, I can't use arrow keys anymore to edit the line. I can only use Ctrl-B & Ctrl-F like in vi. Is there a way to have the arrow key comfort? By looking at the source, I suspect it can be done with Keymaps in the Term::ReadLine::Perl package, but there's no documentation. Anybody knows how to do that?
In Section
Seekers of Perl Wisdom
|
|