[2831] in Athena Bugs

home help back first fref pref prev next nref lref last post

6.3B: login

daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Sat Aug 12 00:21:03 1989

From: <probe@ATHENA.MIT.EDU>
Date: Sat, 12 Aug 89 00:20:47 -0400
To: bugs@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>

DISPLAY=unix:0.0
HOME=/
KRBTKFILE=/tmp/tkt_ttyv0
PATH=/usr/athena:/etc:/etc/athena:/bin/athena:/usr/ucb:/bin:/usr/bin:/usr/local:
.:/usr/new:/usr/etc
SHELL=/bin/csh
USER=root
WGFILE=/tmp/wg.002028
XSESSION=
MORE=-s
EDITOR=/usr/athena/emacs
VISUAL=/usr/athena/emacs
RSUSERHOME=/mit/probe/rsuserhome
MANPATH=/usr/man:/mit/sipb/man:/mit/watchmaker/man:/usr/local/man
WINDOW_MANAGER=uwm
ENSCRIPT=-fCourier7
MAILHOST=e40-po
MAKEOPT=-wk
TEXINPUTS=.:/mit/probe/tex:/usr/athena/lib/tex/macros:/mit/sipb/lib/tex/macros
BE2WM=x11
ANDREWDIR=/mit/andrew/vax
CLASSPATH=/usr/andy/dlib/atk:.:/mit/andrew/vax/dlib/atk
ENV_SET=
WHO=probe
X=11
PATH_SET=
TERM=xterm
WINDOWID=5242895


This is my current environment (I did an "unsetenv TERMCAP" and added a
few variables) and I still don't get argument lists when I do a "ps".
However, it is close... I can do an "unsetenv WINDOW_MANAGER" and then
"ps" works...

Several comments on the environment variables:

- Why is WINDOW_MANAGER an environment variable?  It can be a shell
  variable... it is started but once... it is not used by anything
  else, so don't clutter the environment with this variable.  Shell
  variables don't cost anything; environment variables do!

- Why do you set XSESSION, PATH_SET, and ENV_SET?  Perhaps you need two
  of these variables.  However, in /usr/athena/lib/init/cshrc, you
  set up your environment, set the variable ENV_SET, set up the path,
  then set up PATH_SET.  Since both of these are next to each other
  in the code, why not simply set one variable that indicates that
  the general environment has been set up, rather than setting two
  of them.

- As was mentioned earlier in my message, I did an "unsetenv TERMCAP".
  I have found no need for this variable and it is very expensive on
  the whole.  Can anyone name anything that relies upon this still?


I am objecting highly to the cluttering of the environment if this is
going to cause problems with "ps".  Don't clutter the environment!!!
The u-area of a process has only so much area and if you waste it, it
makes life difficult when trying to debug.

(By the way, until this problem is fixed with "ps" listings; I am not
going to stop complaining; this message is to point out things leading
to a solution).

-Richard

home help back first fref pref prev next nref lref last post