[1937] in Athena Bugs

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

Problem with /usr/athena/lib/aliases or csh.

daemon@ATHENA.MIT.EDU (Chris D. Peterson)
Mon Mar 20 18:35:53 1989

To: bugs@ATHENA.MIT.EDU
Cc: xdm@ATHENA.MIT.EDU, kit@ATHENA.MIT.EDU, lavin@ATHENA.MIT.EDU
Date: Mon, 20 Mar 89 18:33:02 EST
From: Chris D. Peterson <kit@ATHENA.MIT.EDU>

I tend to think this is a bug in csh, but I may be wrong.  In any case
it doesn't work.  If your "term" variable is not set then the default
athena .chsrc will fail.  This problem has been biting people when they
use xdm, which has no terminal, and therefore does not set the term variable.


					Chris


---------------- Offending line ----------------------

if ($?term && $term =~ xterm*) then
        alias xresize 'set noglob; eval `resize` || unset noglob'
endif


---------------- This works -------------------------

if ( $?term ) then
	if ($term =~ xterm*) then
	        alias xresize 'set noglob; eval `resize` || unset noglob'
	endif
endif

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