[6469] in Athena Bugs
MacAthena problems with Athena dotfiles
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Nov 27 00:08:02 1990
Date: Tue, 27 Nov 90 00:07:52 -0500
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: vrt@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
Reply-To: dkk@mit.edu
In logging into the Mac with the "X11" session option, a few things
break. ("X11" is basically a normal Athena workstation login.)
I consider these all Mac/AUX problems, but just in case any are
considered Athena bugs, I wanted to run them past "bugs", as well.
------------------------
1. "stty dec" fails on the Mac. This is a problem since it's in the
standard .cshrc (in case of a packless login) that we give all users
(that they shouldn't need to change) and on the packs, in
/usr/athena/lib/init/login. Not only do I use the standard dotfiles,
but this is the first time I've ever needed to modify them to work
around a problem. Here's the patch for .cshrc:
------------
heath-bar-crunch% diff /usr/prototype_user/.cshrc .cshrc
30c30
< stty dec
---
> if ( `/bin/athena/machtype` != mac ) stty dec
------------
I fixed the /usr/athena/lib/init/login failure with this gross, but
effective, hack in .cshrc.mine;
if ( `/bin/athena/machtype` == mac ) alias /bin/stty 'echo \!* >/dev/null'
------------------------
2. The login created a file named x11debug.log in my homedir. If it
weren't for the excellent work of the professionals of LSI, I wouldn't
have even known the file existed... Quoting from the file an error
that I saw on the console:
You don't have an X11 startup script (/mit/dkk/.xsession).
Default X11 startup script (/usr/lib/X11/.xsession) doesn't exist.
This is clearly undesirable. Either the default should be changed, or
the current default should be valid.
------------------------
3. /etc/X doesn't exist. Shouldn't it be a link to the real X
server?
------------------------
I've spent almost all my time tweaking my dot files because of the
many, many, differences between Athena on AUX and Athena on BSD or
Ultrix, so I forgot most of the problems I wanted to report. Don't
worry, you'll get more...
BTW, is there any documentation on what the different login options do
(or are supposed to do)? Even the "guest" login doesn't work right.