I have ttyctl -f, not because I'm terribly clever, but because it came from a sample somewhere in a zsh distribution. I do see that stty may not be the best solution in some cases, e.g., remote logins may need ^?, while local logins may need ^h, or v.v. To me it is better to detect the source and use stty. The function solution to me is a bit too brittle. You can make a reasonable argument for either solution. Peter Stephenson wrote: >Bart Schaefer wrote: > > >>That's a pretty cute trick, Peter. I think it still runs into problems >>with "ttyctl -f", though? >> >> > >Yes, you'd need to unfreeze it before the stty to be sure. I suspect >most users haven't got the tty frozen. > >pws > > >********************************************************************** >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom they >are addressed. If you have received this email in error please notify >the system manager. > >This footnote also confirms that this email message has been swept by >MIMEsweeper for the presence of computer viruses. > >www.mimesweeper.com >********************************************************************** > > >!DSPAM:41f0a0ef160441761677783! > > >