Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!hplabs!hpfcso!stroyan From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan) Newsgroups: comp.sys.hp Subject: Re: HP-UX 8.0 and stty settings Message-ID: <7370416@hpfcso.FC.HP.COM> Date: 18 Jun 91 20:02:10 GMT References: <1991Jun17.231236.25720@apd.mentorg.com> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 28 > I have recently installed HP-UX 8.0 on my 845 and the behavior of the > stty inheritance seems to have changed. They used to get set when I logged > in from /etc/profile (things like stty erase ^H). > > Now, when I log in (terminal mode) the settings get set, but when I start > mwm up via x11start, the xterms and/or hpterms don't inherit any stty > settings unless I use the -ls (act as a login shell). Because the default login sequence is straight to X through the Vuelogin screen, there is often no initial stty setting to inherit. The 8.0 version of hpterm has default stty settings that can be modified by X resources. The following is an excerpt from the hpterm manual entry. > ttyModes > This resource specifies a string containing terminal-setting > keywords and the characters to which they may be bound. > Allowable keywords include: intr, quit, erase, kill, eof, eol, > swtch, start, stop, brk, susp, dsusp, rprnt, flush, weras, and > Inext. Control characters may be specified as ^char (e.g. ^c or > ^u), and ^? may be used to indicate delete. This is very useful > for overriding the default terminal settings without having to do > an stty every time an hpterm is started. The resource can be set with a line like "*ttyModes: erase ^H" in .Xdefaults or can be merged into the xrdb settings using "xrdb -merge" if you are using HP-VUE or xrdb. Mike Stroyan, mike_stroyan@fc.hp.com