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

stty problem



Here's a small problem that I can't find any references to
in the FAQ or zsh-workers archives, that I hope someone 
could help me with.

I am currently using zsh version 3.1.2 beta under solaris 2.5.1
and sunos 4.1.3.

Whenever a process which has been running in the background
returns, it resets the stty settings. This particularly 
causes problems with resetting ^z as the suspend character.

e.g.

> zsh@fourier:<17:34:07>:[Doc]% stty susp \^z
> zsh@fourier:<17:34:19>:[Doc]% stty         
> speed 9600 baud; -parity 
> rows = 24; columns = 115; ypixels = 0; xpixels = 0;
> quit = <undef>; eof = ^a; swtch = <undef>; dsusp = <undef>; flush = <undef>; lnext = <undef>; 
> brkint -inpck -istrip inlcr icrnl -ixany imaxbel onlcr 
> echo echoe echok echoctl echoke iexten 
> zsh@fourier:<17:34:26>:[Doc]% emacs &
> [2] 18284
> zsh@fourier:<17:34:38>:[Doc]% 
> [2]  + 18284 done       emacs
> zsh@fourier:<17:34:51>:[Doc]% stty   
> speed 9600 baud; -parity 
> rows = 24; columns = 115; ypixels = 0; xpixels = 0;
> quit = <undef>; eof = ^a; swtch = <undef>; susp = <undef>; dsusp = <undef>; flush = <undef>; lnext = <undef>; 
> brkint -inpck -istrip inlcr icrnl -ixany imaxbel onlcr 
> echo echoe echok echoctl echoke iexten 
> zsh@fourier:<17:34:54>:[Doc]% 


Note the "susp = <undef>; " entry which has appeared
in the key definitions line after the emacs had returned.
(N.B. This happens with any background process, not just
emacs.)

A similar problem was encountered with SGIs in archive reference:

http://www.primenet.com.au/zsh/workers-1996-hyper/1724.html

Can anyone help ( have I built zsh incorrectly ) ?

Neil Stringfellow.



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