Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: TRAPALRM and vlock problem



On Sep 4,  4:13pm, Kevin Way wrote:
}
} The problem is that when called by zsh in this manner, vlock will only
} accept one character, making it impossible to unlock the terminal.

Try replacing the call to "vlock -c" with a call to "stty -a" just to
find out what the tty settings are at the time vlock runs.

If for some reason the ZLE tty settings are not being reset properly
from inside a trap (which would be a bug, but could be happening), try
replacing "vlock -c" in the trap with

	STTY=sane vlock -c

or some such.  See the manual for an explanation of the STTY parameter.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author