From: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
To: zsh-workers@math.gatech.edu
Subject: zsh stty control for background processes
Date: Fri, 31 Jan 1997 14:54:14 +0900 [thread overview]
Message-ID: <19970131145414W/kasahara@nc.kyushu-u.ac.jp> (raw)
Hello.
I'm not a member of zsh-workers, so please Cc: replies to me.
When I invoked 'xterm &', new shell in the xterm forget some of stty
control characters.
This is 'stty all' output of the original shell(zsh-3.1.0 on BSD/OS
2.1).
% stty all
speed 9600 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -noclocal -cstopb
-cts_oflow -rts_iflow -mdmbuf
discard dsusp eof eol eol2 erase intr kill lnext
^O ^Y ^D <undef> <undef> ^H ^C ^U ^V
min quit reprint start status stop susp time werase
1 ^\ ^R ^Q <undef> ^S ^Z 0 ^W
And this is 'stty all' output of new shell in xterm (invoked in
background).
% stty all
speed 9600 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -noclocal -cstopb
-cts_oflow -rts_iflow -mdmbuf
discard dsusp eof eol eol2 erase intr kill lnext
^@ ^@ ^D <undef> <undef> ^H ^C ^U ^@
min quit reprint start status stop susp time werase
1 ^@ ^R ^@ <undef> ^@ ^@ 0 ^W
The similar problem occured on Solaris 2.5 and SunOS 4.1.4, too.
It still occurs even if I use no startup file, but forgotten entries
vary like this:
% stty all
speed 9600 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -noclocal -cstopb
-cts_oflow -rts_iflow -mdmbuf
discard dsusp eof eol eol2 erase intr kill lnext
^@ ^@ ^D <undef> <undef> ^H ^C ^U ^@
min quit reprint start status stop susp time werase
1 ^@ ^R ^Q <undef> ^S ^@ 0 ^W
This problem never occurs on tcsh, csh, or sh. It is ok if xterm is
invoked on foreground. I tried zsh-3.0-pre, zsh-3.0.0, zsh-3.0.2, and
zsh-3.1.0. Also I checked /usr/contrib/bin/zsh (v2.5.03 distributed
with BSD/OS 2.1) and found that this problem occured....
Is it a bug of zsh, or something wrong with me? Sorry if it had
already reported/corrected.
Regards,
--
Yoshiaki Kasahara
KITE Network Operation Center, Computer Center, Kyushu University
Email addr: | I'm free! & ~ __-^-_/~
kasahara@nc.kyushu-u.ac.jp | ~ \___/
next reply other threads:[~1997-01-31 6:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-31 5:54 Yoshiaki Kasahara [this message]
1997-01-31 8:57 ` Bart Schaefer
1997-01-31 9:20 ` Yoshiaki Kasahara
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=19970131145414W/kasahara@nc.kyushu-u.ac.jp \
--to=kasahara@nc.kyushu-u.ac.jp \
--cc=zsh-workers@math.gatech.edu \
/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).