[17135] in Athena Bugs

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

athena xlogin doc bug (report and patch)

daemon@ATHENA.MIT.EDU (Luka)
Sat Sep 4 03:11:40 1999

Message-Id: <199909040711.DAA12806@x15-cruise-basselope.mit.edu>
To: bugs@MIT.EDU
Cc: luka@MIT.EDU
Date: Sat, 04 Sep 1999 03:11:30 -0400
From: Luka <luka@MIT.EDU>

short description:
  documentation bug:  athena's xlogin (8) man page does not mention that the
default session script is /etc/athena/login/Xsession.

more details:
  the xlogin (8) manpage describes the command line flag '-session' and
X resource *sessionScript used to set the session script which it executes
on login.  alas, it never documents the default value, which is rather
significant since ***athena relies on the default behavior***.
The excerpt from xlogin's XtResource struct initialization shows the default.

/afs/dev.mit.edu/source/src-current/athena/etc/xdm/xlogin/xlogin.c (162,163):
  {"sessionScript", XtCFile, XtRString, sizeof(String),
     Offset(session), XtRImmediate, (caddr_t) "/etc/athena/login/Xsession"},

the fact that this is not mentioned in the manpage is a documentation bug,
which the following patch would fix.

patch:
-------cut-------
--- /mit/source/athena/etc/xdm/xlogin/xlogin.8  Sat Jan 23 00:01:30 1999
+++ /tmp/luka/xlogin.8  Sat Sep  4 02:51:40 1999
@@ -118,6 +118,7 @@
 .TP
 .B *sessionScript
 Name of the global session script to run when logging the user in.
+This defaults to /etc/athena/login/Xsession.
 .PP
 The following resources may also be specified (typically in Xlogin.local):
 .TP
-------cut-------

/-  Peter Luka -- luka@mit.edu -- http://cran.mit.edu/~luka  -\
\-   Finger luka@monk.mit.edu for schedule and other info    -/

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