[2187] in RedHat Linux List
xon
daemon@ATHENA.MIT.EDU (Philip Blundell)
Fri Nov 1 08:33:37 1996
Date: Fri, 1 Nov 1996 13:31:36 +0000 (GMT)
From: Philip Blundell <pjb27@cam.ac.uk>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
xon has a small bug. Without the following patch, the -user option is
liable not to work.
--- /home/phil/xon Fri Nov 1 13:29:02 1996
+++ /usr/X11R6/bin/xon Sun Oct 20 11:42:33 1996
@@ -62,7 +62,7 @@
shift
case x$XAUTHORITY in
x)
- XAUTHORITY="$HOME/.Xauthority"
+ XAUTHORITY="\$HOME/.Xauthority"
;;
esac
case x$XUSERFILESEARCHPATH in
For those who want the gory details, the problem is that without the
backslash, $HOME gets expanded on the _local_ machine, although the
resulting filename is used to refer to your authority file on the _remote_
machine. Usually this doesn't matter, because $HOME will be
/home/username on both machines. But if you have different usernames on
the two machines, or if your home directories are in different places, it
is liable to go wrong.
phil
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null