zsh-workers
 help / color / mirror / code / Atom feed
From: martin.ebourne@arcordia.com
To: zsh-workers@sunsite.dk
Subject: tty settings being corrupted
Date: Thu, 28 Jun 2001 18:49:02 +0100	[thread overview]
Message-ID: <OFB2751805.7954D02C-ON80256A79.00614B07@uk.jpmorgan.com> (raw)


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.


                 reply	other threads:[~2001-06-28 17:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFB2751805.7954D02C-ON80256A79.00614B07@uk.jpmorgan.com \
    --to=martin.ebourne@arcordia.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).