Re: esc key



Maybe the delay should be an integer variable in milliseconds?  Different
terminals, different connections and different users will need different delays.

So we need two ini file parameters:

esc_mode={0|1|2} 

where 0 means "stick forever", 1 means "stick 
for some time" (controlled by esc_delay) and 2 
means "do not stick". For compatibility, 
old_esc_mode should be recognized as an alias 
for esc_mode.

esc_delay=<integer>

sets the delay for esc_mode=1 in milliseconds.

Perhaps we don't even need a UI for these 
parameters, as they are of limited appeal. I 
think the ini file parameters plus a new item 
in the FAQ would be enough. Can anyone 
implement this quickly? I've never looked into 
handling ini parameters, so I can try but this 
may take a while.

While we are at it, I have also implemented a 
function to clear the contents of the command 
line (with panels) on pressing esc. If the 
above is implemented, I think we can bind this 
function to esc if esc_mode==2. It's very 
convenient, and this is the way most other 
norton-like shells behave. What do you think?
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]