It is currently Thu, 20 Jan 2022 04:49:46 GMT



 
Author Message
 how to make tcsh login shell?

# chsh <username> /usr/local/bin/tcsh
# echo /usr/local/bin/tcsh >> /etc/shells

read the man pages for chsh(1) and shells(5).

        vb
--

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mc...@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <b...@teknon.de>



 Sat, 11 Mar 2000 03:00:00 GMT   
 how to make tcsh login shell?

Hi

I've just dropped the tcsh binary into /usr/local/bin/, although I'm unsure
if it should be there or not. Somehow, I've edited .cshrc to set the shell
as tcsh, which works, as I can set the prompt, and ps-u gives me -sh
(tcsh).

But I can't use 'login' or 'logout'. Strange. Maybe there's more to
installing a shell than I first thought. Maybe somebody could outline what
changes need to be made and where they need to live?!

I guess tcsh needs to be a 'login shell', but aren't sure.

And there's more:

Emacs is installed, I think, but seems to be really sluggish to start-up
9goes through all sorts of loading of stuff). Oh dear. All I want is a
simple text file editor!

Has anybody got any favourite simple small text file editors they care to
recommend?

ANY help for the above much appreciated!

rob
...........................................
puffin design limited / puf...@ihug.co.nzzz
remove zz from end of address to send email
       PGP key available on request.
...........................................



 Sat, 11 Mar 2000 03:00:00 GMT   
 how to make tcsh login shell?

i'm not sure what's wrong other than that but i'm not an expert.

as for the text editor, depends upon the type of system you're on. Sun's
have 'textedit', SGI's have 'jot'...
are you looking for a graphical text editor using a mouse or command
line driven?

personally i use 'jot'  (because i have an sgi) for most things but also
use 'vi' which is rather cryptic but extremely powerful.

xemacs is supposed to be pretty good. i'd check the www.shareware.com
and do a search for text editors.

--
| David Roberts (AKA "aeroman") || ...One tactical thermonuclear    |
| dtrob...@ladc.lockheed.com    || weapon can ruin your whole day:) |
| work  (805)572-5778           || (send complaints to "/dev/null") |
=====================================================================



 Sat, 11 Mar 2000 03:00:00 GMT   
 how to make tcsh login shell?

On Tue, 23 Sep 1997 09:04:44 -0700, David Roberts
: as for the text editor, depends upon the type of system you're on.

vi is small, fast, simple and reliable. You can expect to find it
on any system. Or consider nvi (new vi) or vim (vi improved).
If you want it faster and smaller, use /bin/ed :-)

: personally i use 'jot'  (because i have an sgi) for most things but also
: use 'vi' which is rather cryptic but extremely powerful.

Cryptic, but easy to learn: http://www.ii.uib.no/~georg/doc/vi/vi.html
for reference manual.

--
:-- Hans Georg           --- student of 'Life, the Universe and Everything'
<ge...@ii.uib.no>  (stud.oecon. stud.scient.)  http://www.ii.uib.no/~georg/



 Sun, 12 Mar 2000 03:00:00 GMT   
 how to make tcsh login shell?

You might be better off changing your shell rather than just exec-ing it
from your start-up files. Try chsh, or ypchpass (NIS) or whatever it is
on your system. And make sure that /usr/local/bin/tcsh is in /etc/shells
if /etc/shells exists. You can check your shell with finger or by
looking in the passwd file. Eiting /etc/passwd directly will also allow
you to change your shell.

How are you running tcsh from your .cshrc. It seems a bit strange to me
that ps says -sh (tcsh) yet your default shell must be csh for it to run
.cshrc.

You should be using something like exec '/usr/local/bin/tcsh -l' and
that should be in your .login not your .cshrc. The .cshrc is run
whenever you run csh or tcsh and you only want to exec tcsh with -l only
if it is a login shell.

Try typing exit first - I would bet that that will return you to csh (in
the way you currently have it set up) and you could log out from there.

I would recommend nedit (http://fnpspa.fnal.gov/nirvana/nedit.html). It
is an X based editor which is very good. It has a server mode so can be
very quick to start up when you edit more than one file.  If you are
using an SGI, then you should have jot on the system which is okay but
nedit is much nicer. If you want something really quick and really
simple, try pico (comes with the pine mailer). There is vi and vim which
are probably good once you have learnt all the commands. vi is probably
already on your system.

Oliver Kiddle

--
 __
/  \|.   _ _  |_/. _| _|| _     E-mail: opk...@york.ac.uk
\__/||\/(-|   | \|(_|(_||(-        Web: http://www.york.ac.uk/~opk101/



 Mon, 13 Mar 2000 03:00:00 GMT   
 
   [ 5 post ] 

Similar Threads

1. Waiting for tcsh login shell to terminate (via tcsh or perl)

2. tcsh "Not a login shell"

3. How do I make tcsh my login shell?

4. changing login shell from csh to tcsh

5. Problem using TCSH as login shell

6. Question: set tcsh to login shell, how?

7. tcsh as login shell

8. tcsh as LOGIN shell

9. PROBLEM: tcsh as login shell

10. tcsh as login shell


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software