[26840] in Athena Bugs
sun4 9.4.26: dialup init scripts
daemon@ATHENA.MIT.EDU (Zev A Benjamin)
Mon May 1 12:03:31 2006
Message-Id: <200605011600.k41G0J2T007611@cruella-de-vil.mit.edu>
To: bugs@mit.edu
Date: Mon, 01 May 2006 12:00:19 -0400
From: Zev A Benjamin <zev@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu
System name: cruella-de-vil.mit.edu
Type and version: Sun-Blade-1500 9.4.26
Display type: jfb
Shell: /bin/athena/bash
Window manager: metacity
The dialup init scripts have a slight bug under tsch, which prevents
the "Which display are you using?" prompt from appearing. A patch for
/usr/athena/lib/init/login follows:
--- /usr/athena/lib/init/login Thu Feb 9 14:54:36 2006
+++ local_login Mon May 1 11:54:20 2006
@@ -85,7 +85,7 @@
# been set, ask the user what the DISPLAY should be (e.g., rlogin)
if ((`/etc/athena/dialuptype` == "X" ) || (`/etc/athena/dialuptype` == "test")) then
- if (("$term" =~ xterm*) && (! $?DISPLAY) &&) then
+ if (("$term" =~ xterm*) && (! $?DISPLAY)) then
echo -n "What DISPLAY are you using [default: none]? "
set response = ($<)
if ("$response" != "") then
However, I would like to echo Yoyo's statements in
http://diswww.mit.edu/menelaus/suggest/4458 that the prompt itself is
really just silly.
Zev