zsh-workers
 help / color / mirror / code / Atom feed
* stty problem
@ 1997-10-03 17:20 stringfellow.n.d
  1997-10-03 17:39 ` Andrew Main
  0 siblings, 1 reply; 2+ messages in thread
From: stringfellow.n.d @ 1997-10-03 17:20 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stty problem
  1997-10-03 17:20 stty problem stringfellow.n.d
@ 1997-10-03 17:39 ` Andrew Main
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Main @ 1997-10-03 17:39 UTC (permalink / raw)
  To: stringfellow.n.d; +Cc: zsh-workers

stringfellow.n.d wrote:
>Can anyone help ( have I built zsh incorrectly ) ?

The bug is in emacs.  If you put "ttyctl -f" in your .zlogin/.zprofile,
zsh will work around it, restoring the tty settings whenever a command
is run.

-zefram


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-03 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-03 17:20 stty problem stringfellow.n.d
1997-10-03 17:39 ` Andrew Main

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).