in reply to Using Tab Completion on Windows in cmd.exe
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?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using Tab Completion on Windows in cmd.exe
by Anonymous Monk on Nov 26, 2011 at 05:40 UTC | |
by Stamm (Sexton) on Nov 26, 2011 at 11:14 UTC | |
by Anonymous Monk on Nov 26, 2011 at 11:33 UTC | |
by Stamm (Sexton) on Nov 26, 2011 at 13:51 UTC | |
by Anonymous Monk on Nov 26, 2011 at 14:09 UTC |
In Section
Seekers of Perl Wisdom