Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TRAPALRM and vlock problem
- X-seq: zsh-users 4192
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Kevin Way <kevin.way@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: TRAPALRM and vlock problem
- Date: Tue, 4 Sep 2001 16:24:03 +0000
- In-reply-to: <20010904161322.B49337@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010904161322.B49337@xxxxxxxxxxxxxxxxx>
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