Unix and C Shell

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
I'm using putty to ssh to a SunOS 5.8 machine using C shell, and I was wondering if it's possible to have autocomplete like in linux where you hit tab and it will complete your command as far as it knows how?

TIA :)
 

rmrf

Platinum Member
May 14, 2003
2,872
0
0
I'm not familiar with the c shell, but if you use bash, I'm pretty sure it will work.
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
It's possible, but it's been a long time since I did it. My book said that "set filec" should do it, except that the completion key is Esc instead of Tab. But that didn't seem to work. Definitely possible, though.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
cst@tau~% uname -a
SunOS tau.ece.cmu.edu 5.8 Generic_108528-15 sun4u sparc
cst@tau~% env |grep SHELL
SHELL=/usr/local/bin/tcsh

tab completion works in tcsh. Any reason you need to use csh instead?


 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Im not csh user, but have a look at OpenBSD's manpages.
csh is the default shell, and OpenBSD's documentation tends to be extremely good, so I'd be surprised if it isn't in there.
 

jonmullen

Platinum Member
Jun 17, 2002
2,517
0
0
set filec is what you need...now I dont know if you need to set it too something out what but that sould be it.
 

jonmullen

Platinum Member
Jun 17, 2002
2,517
0
0
are you using <escape> I looked it up in the OpenBSD doc's and thats what it said it needed.