PI Problems

Brendan Eich brendan at illyria.wpd.sgi.com
Tue Feb 27 10:42:42 AEST 1990


In article <2836 at umbc3.UMBC.EDU>, bernie at umbc3.UMBC.EDU (Bernard J. Duffy) writes:
> This isn't an SGI-only problem, I've noticed this with DEC's Ultrix as well,
> but had an easier time working the .cshrc since SGI's setup of the DISPLAY
> is a bit sloppy (sets DISPLAY even thought there's no Xterm... convience
> for the "console" user to run x programs while in wsh).
> There may be a solution to this, but I haven't accidently run acrossed it
> yet.

It seems xterm doesn't start a login shell (one with an initial "-" in
its argv[0] basename).  Only a login C-shell reads /etc/cshrc and .login,
similarly for sh and /etc/profile & .profile.  I don't know much about X;
perhaps there's an xterm option for logging in (creating a login shell,
updating /etc/utmp).

Sub-shells and "automatic" shells such as the remote half of rcp uses
are not login shells, and should not result in /etc/motd or unintended
noise on standard output.

Brendan



More information about the Comp.sys.sgi mailing list