[8510] in Athena Bugs

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

[daemon@ATHENA.MIT.EDU : rsaix 7.3R: rs6000]

daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Oct 30 13:07:42 1991

Date: Wed, 30 Oct 91 13:07:27 -0500
From: Calvin Clark <ckclark@Athena.MIT.EDU>
To: nebosite@Athena.MIT.EDU
Cc: bugs@Athena.MIT.EDU, olc-stock@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
In-Reply-To: [8509]

>What were you trying to do?
>	access previous commands/ edit command lines.  (set lineedit
>	command had been activated.

>What's wrong:
>	Arrow keys print garbage instead of responding normally

The csh installed as /bin/csh on the RS/6000 does not support line
editing.  There is a version of tcsh available on Athena which supports
line editing and works on all of the Athena platforms, including the
RS/6000.  It is available in /afs/sipb/project/tcsh/tcsh.  To try out
this shell, simply start it up from a currently running shell:

athena% /afs/sipb/project/tcsh/tcsh <RETURN>

There are some differences between the Athena csh and this version.  For
more information, read the man page by typing:

athena% man -M /afs/sipb/project/tcsh/man tcsh

To use this shell as your default shell, you can run the command `chsh'.
Type `man chsh' for more information.  When it prompt you for a new
shell, type the full path: 

Current shell for user is /bin/csh.
New Shell: /afs/sipb/project/tcsh/tcsh

The change will take effect in a day or so. 

WARNING: Always be very careful when changing your shell with `chsh'.
If you make an error, you may not be able to log in!

If you only want to use it with the RS/6000, then you can put something
like this in your .environment file:

if ("$hosttype" == "rsaix") then
	setenv SHELL /afs/sipb/project/tcsh/tcsh
endif

By doing this, you will only get the Cornell 6.00 tcsh when you log in
to an RS/6000, and you will get the regular Athena tcsh on other
machines.  Note that this will only work of X window sessions; if you
connect to an RS/6000 via rlogin or telnet, for example, you will get
the shell which is listed in your entry in /etc/passwd, which can be
changed by using `chsh' as described earlier.  However, the change to
.enviroment is less dangerous than using `chsh', because you can always
undo it immediately by selecting `Ignore your customizations' from the
`Login Options' menu in the xlogin window.

If you find a problem with this shell which is not described as its
intended behavior in the man page, send a description of the problem to
bug-tcsh6@athena (NOT to bugs@athena.)

-Calvin 

P.S. to olc-stock: I normally would not forward an answer to olc-stock,
but this question is asked frequently enough that a stock answer is in
order.  Please feel free to take portions of the text of this reply, and
tell me you find any errors.

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