zsh-workers
 help / color / mirror / code / Atom feed
* tty settings being corrupted
@ 2001-06-28 17:49 martin.ebourne
  0 siblings, 0 replies; only message in thread
From: martin.ebourne @ 2001-06-28 17:49 UTC (permalink / raw)
  To: zsh-workers


If I perform the following sequence:


% stty
speed 38400 baud; evenp hupcl
rows = 24; columns = 80; ypixels = 316; xpixels = 499;
erase = ^h; swtch = <undef>;
-brkint -inpck -istrip
crt iexten

% zsh -f       [ Type ctrl-D immediately after enter such that the shell gets it before printing the prompt]

% stty
speed 38400 baud; evenp hupcl
rows = 24; columns = 80; ypixels = 316; xpixels = 499;
quit = <undef>; erase = ^h; eof = ^a; swtch = <undef>; susp = <undef>; dsusp = <undef>; flush = <undef>; lnext = <undef>;
-brkint -inpck -istrip inlcr
crt iexten

% echo $ZSH_VERSION
4.0.2

% uname -a
SunOS gdd-odybin2.uk.jpmorgan.com 5.6 Generic_111435-01 sun4u sparc SUNW,Ultra-Enterprise-10000

Here the shell has corrupted the tty settings simply by running it and quitting before entering the line editor. Obviously ctrl-D after the prompt has
 been printed is fine.

Any ideas what is happening here? I could use ttyctl -f but I consider that a bit a brute force solution.

Cheers,

Martin.




This e-mail message is CONFIDENTIAL and may contain legally privileged
information.  If you are not the intended recipient you should not  read,
copy, distribute, disclose or otherwise use the information in this e-mail.
Please also telephone or fax us immediately and delete the message from
your system.  E-mail may be susceptible to data corruption, interception
and unauthorised amendment, and we do not accept liability for any such
corruption, interception or amendment or the consequences thereof.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-28 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28 17:49 tty settings being corrupted martin.ebourne

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).