zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: "Owen M. Astley" <oma1000@cam.ac.uk>, zsh-users@math.gatech.edu
Subject: Re: xterm keeps forgetting stty options
Date: Wed, 1 Apr 1998 10:04:56 -0800	[thread overview]
Message-ID: <980401100456.ZM12338@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.OSF.3.96.980401165731.21421G-100000@alpha9.poco.phy.cam.ac.uk>

On Apr 1,  5:00pm, Owen M. Astley wrote:
} Subject: xterm keeps forgetting stty options
}
} I don't know if this is a problem with zsh, but I can't track it down to
} any other particular program that I run (apart from xterm, and of course
} that doesn't help).
} 
} Sometimes xterm/zsh forgets the settings for susp, quit etc.

Some implementations of pseudo-ttys read their initial terminal settings
from /dev/tty, which sometimes is the console, which (if you're running
X11) is probably not in any state to have its tty settings read.  Since
xterm uses a pty, it gets weird settings.

This is particularly a problem on various flavors of SunOS/Solaris, but
it can happen elsewhere as well.  It usually occurs when the window manager
or some other GUI-only application starts up the xterm, because if you
start an xterm by typing "xterm" at a shell prompt in -another- xterm, the
shell's xterm is /dev/tty of the new xterm and they'll both get the same
settings.

Xterm in X11R6 has resources for the stty settings it should use, precisely
because of this problem.  Check out the ttyModes resource.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


      reply	other threads:[~1998-04-01 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-01 16:00 Owen M. Astley
1998-04-01 18:04 ` Bart Schaefer [this message]

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=980401100456.ZM12338@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=oma1000@cam.ac.uk \
    --cc=zsh-users@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).