Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: xterm keeps forgetting stty options
- X-seq: zsh-users 1436
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: "Owen M. Astley" <oma1000@xxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: xterm keeps forgetting stty options
- Date: Wed, 1 Apr 1998 10:04:56 -0800
- In-reply-to: <Pine.OSF.3.96.980401165731.21421G-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <Pine.OSF.3.96.980401165731.21421G-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author