Chuck
Set the old_esc_mode variable to 1 in your .mc.ini file (it's in yourQuote:> How could I make Linux consider one ESC is enough? Why does user have to
> press ESC twice when working in MC? Is there any way to solve this?
> Thanks.
Miguel.
--
The GNU Midnight Commander: http://stekt.oulu.fi/~jtklehto/mc/
1. Use [n]curses to do the input. It does things properly.
or,
2. When you see the Meta (Escape) key, look for the next character to
follow within a short time period. If you don't see the key in, oh,
one second, then assume that you just received the true Escape
key. Use select() to perform the timeout condition on the read buffer.
If you were to do things absolutely properly, then the timeout would be
a function of the transmission rate to the terminal.
--
The above opinions do not necessarily represent those of the Management
of System Integrators nor any of its subsidiaries.
Chuck
1. How to "escape" from dreaded esc-esc?
Please squash this minor annoyance.
On my Sun using csh, pressing "esc" once enables filename completion.
Under Linux using tcsh, I need to press escape twice. I want it to
act like the Sun. Sure, it is minor, but I probably do this over
a hundred times each hour. Any suggestions?
Jeff Arnholt
Mayo Clinic
--
Mayo Medical and Graduate Schools
200 1st St. SW, Rochester, MN 55905
2. connecting xt as a terminal
3. Suse 7.2 ESC-ESC for commandoline fillout?
4. RH 5.2 : does it support scsi AVA1505
5. Help to change the Esc-Esc pattern matching functionality
6. BSDCon 2003 - Call for Papers
7. Does Esc-Esc work on Solaris?
9. Help to change the Esc-Esc pattern matching functionality
12. - ksh ESC-ESC filename complete?