* Re: tty settings
1998-09-09 13:27 tty settings Vincent Lefevre
@ 1998-09-09 11:46 ` TGAPE!
0 siblings, 0 replies; 3+ messages in thread
From: TGAPE! @ 1998-09-09 11:46 UTC (permalink / raw)
To: Vincent Lefevre; +Cc: zsh-users
Vincent Lefevre wrote:
>
> Under some conditions (from a failsafe session with Solaris 2.5),
> when I start an xterm and zsh, the tty settings are not correct.
> For instance, susp is undefined. But if I use tcsh, it is OK
> (though I don't set anything in my .cshrc). So, why are the tty
> settings wrong with zsh only? What should I do to have the standard
> ones?
I seem to recall that tcsh explicitly does a stty before it prints
the first prompt, setting all of its standard settings. I have talked
with a few SCO people who found this annoying, as SCO has some different
(really demented, IMHO) ideas on what those settings should be (for
example, intr is set to ^?.) They were confused about why their csh
used ^?, and their tcsh used ^C.
I suggest putting them in your .zlogin or .zprofile. Not specifying
something like this is a good way to mess yourself up on cross-platform
hops, not to mention the fun you get when your sysadmin decides to
recompile your shell with different defaults, and forgets to mention it.
(BTDT, WNDIA)
Ed Grimm
^ permalink raw reply [flat|nested] 3+ messages in thread
* tty settings
@ 1998-09-09 13:27 Vincent Lefevre
1998-09-09 11:46 ` TGAPE!
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Lefevre @ 1998-09-09 13:27 UTC (permalink / raw)
To: zsh-users
Under some conditions (from a failsafe session with Solaris 2.5),
when I start an xterm and zsh, the tty settings are not correct.
For instance, susp is undefined. But if I use tcsh, it is OK
(though I don't set anything in my .cshrc). So, why are the tty
settings wrong with zsh only? What should I do to have the standard
ones?
--
Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr> - PhD stud. in Computer Science
Web: http://www.ens-lyon.fr/~vlefevre/ - 100% validated HTML - Acorn Risc PC,
Yellow Pig 17, Championnat International des Jeux Mathematiques et Logiques,
TETRHEX, Faits divers insolites, etc...
^ permalink raw reply [flat|nested] 3+ messages in thread
* tty settings
@ 1998-04-26 23:48 Stefan Monnier
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 1998-04-26 23:48 UTC (permalink / raw)
To: zsh-users
When I use zsh inside an Emacs shell buffer, I get all kinds of ugly
^M's and echoing of the command. By experimenting with other shells
I came to the conclusion that it's zsh's fault in that it changes the
tty settings (like 'echo').
Better yet, it seems that zsh resets the `echo' setting whenever a prompt is
displayed (and even if ttyctl is unfrozen):
% ttyctl -u; stty -echo; stty -a | grep echo
isig icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
% stty -a | grep echo
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
% ttyctl
tty is not frozen
%
How can I convince zsh (3.0.5) not to mess around with the tty settings
in Emacs shells buffers (TERM=dumb) ?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-09-09 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-09 13:27 tty settings Vincent Lefevre
1998-09-09 11:46 ` TGAPE!
-- strict thread matches above, loose matches on Subject: below --
1998-04-26 23:48 Stefan Monnier
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).