Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ira.uka.de!ny20.rz.uni-karlsruhe.de!chris From: chris@rz.uni-karlsruhe.de (Christian Finger) Newsgroups: comp.sys.hp Subject: Re: HP-UX 8.0 and stty settings Message-ID: <1991Jun19.150542.21611@ira.uka.de> Date: 19 Jun 91 15:05:42 GMT References: <1991Jun17.231236.25720@apd.mentorg.com> Sender: news@ira.uka.de (USENET News System) Reply-To: chris@rz.uni-karlsruhe.de (Christian Finger) Organization: Computer Center, University of Karlsruhe, Germany Lines: 50 In article <1991Jun17.231236.25720@apd.mentorg.com>, pbrooks@mentorg.com (Phil Brooks) writes: |> |> 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). |> |> This isn't consistent with other systems nor (it seems) with HP-UX 7.0. |> I have asked around a little here and everyone says "Oh, I just changed |> all of my menus and my .x11start file to use -ls". This does not seem to |> be the right answer to me. It seems that everything should inherit nicely |> from the initial shell. |> |> Has anyone else noticed this? Is there a reasonable answer for why the |> change was made? |> |> To duplicate this, you can use the generic sys.x11start file and run |> x11start from the terminal mode. stty settings present in the console |> terminal session will be gone in the x11start session. |> |> |> -- |> Phil Brooks, Mentor Graphics Corporation |> (phil_brooks@mentorg.com) |> 8005 SW Boeckman Road |> Wilsonville, OR 97070-7777 (503) 685-1324 We had the same effect with HP-UX 8.01 on a s720. The X windows terminal emulators try to get their tty settings from their controlling terminal. In X11R4 the behavior of xinit starting clients has changed. They are started without a controlling terminal. In X11R3 the terminal you started X windows from became controlling terminal. Just take a look on the output of 'ps -ef' on HP-UX 7.x and HP-UX 8.x. Using an old xinit is possible, but I wouldn't suggest it. You'll have to set some resource strings (as mentioned in another posting). Ciao - -- --- ---- ----- ------ ------- -------- -- . Christian Finger | SMTP: ||| Computer Center | finger@rz.uni-karlsruhe.de \||| University of Karlsruhe | X.400: / D-7500 Karlsruhe 1 | finger@rz.uni-karlsruhe.dbp.de