Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-31 Thread Casper . Dik
# cp /usr/bin/i86/ksh93 /sbin/sh will fix your problem. And also damage the system's consistency. And it will cause all running copies of sh to crash. Casper ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-31 Thread UNIX admin
Bummer, I thought was done by now, but just hadn't yet gotten around to checking. Could very well be. I know it's being worked on, and I know that preview binaries are available, perhaps in a package form as well. A little digging on opensolaris.org will surely turn up what the current

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-31 Thread UNIX admin
no? Routinely done on HP-UX boxes inside of HP. If not, then why? What do you mean by routinely done on HP boxes inside of HP? Just like Solaris, HP-UX is well known for being forward compatible and guaranteeing compatibility. I've never observed any of hp's products changing the root's

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-31 Thread UNIX admin
You can change your own login shell with passwd -e. If you mean hanging /sbin/sh to be ksh93, then you need to redesign the system or create your own OpenSolaris-based distribution or pick one that does this. That's exactly right. And the amount of work necessary to implement this

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-31 Thread UNIX admin
How do I make the change permanent? To do this, cleanly, in such a way that it scales, you'd have to deliver your own private copy of ksh93 in /opt/whatever/bin/. This in turn implies that you'd have to compile ksh93 such, that he looks for the system-wide configuration files (profile, etc.)

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Thomas Maier-Komor
Nico Sabbi schrieb: On Wednesday 30 January 2008 09:31:49 Richard Zhao wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? because the default shell isn't bash. run bash or ask your sysadmin to change it definitely in /etc/passwd (doesn't

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Ken Gunderson
On Wed, 30 Jan 2008 00:31:49 PST Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? What shell are you using? Sounds like you may be logged in as root, wh/I think defaults to /bin/sh (just coming to Solaris

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Nico Sabbi
On Wednesday 30 January 2008 09:31:49 Richard Zhao wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? because the default shell isn't bash. run bash or ask your sysadmin to change it definitely in /etc/passwd (doesn't Solaris have chsh? )

[osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Richard Zhao
I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Nico Sabbi
On Wednesday 30 January 2008 10:40:09 UNIX admin wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? Because on Solaris, the default shell for root is /sbin/sh. This can be fixed very simply: # exec tcsh -l And [TAB] completion, as

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread UNIX admin
I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? Because on Solaris, the default shell for root is /sbin/sh. This can be fixed very simply: # exec tcsh -l And [TAB] completion, as well as many more advanced features, will become available.

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Ken Gunderson
On Wed, 30 Jan 2008 01:40:09 PST UNIX admin [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? Because on Solaris, the default shell for root is /sbin/sh. This can be fixed very simply: # exec tcsh -l And

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Sergio Schvezov
On Jan 30, 2008 7:46 AM, Nico Sabbi [EMAIL PROTECTED] wrote: On Wednesday 30 January 2008 10:40:09 UNIX admin wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? Because on Solaris, the default shell for root is /sbin/sh. This can

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Jennifer Pioch
On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? # cp /usr/bin/i86/ksh93 /sbin/sh will fix your problem. Jennifer Pioch, Uni Frankfurt ___

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread UNIX admin
on none of the linux distributions tcsh is the default shell; better advise him something familiar such as bash :) And what then? Breed an army of users using creating bash script monstrosities? How are they ever going to learn something new (and good) if we never show it to them? This

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread James Carlson
Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? # cp /usr/bin/i86/ksh93 /sbin/sh will fix your problem. Unless, of course, you ever upgrade your system. In that

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread UNIX admin
A linuxer will be like a fish out of water with tcsh. So what? Remember that they were also once fish out of water with Linux, too. Note that I have recommended to read the manual page for tcsh as well. Much easier for im to change his login shell to bash. And do what, take the path of

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Kyle McDonald
UNIX admin wrote: on none of the linux distributions tcsh is the default shell; better advise him something familiar such as bash :) And what then? Breed an army of users using creating bash script monstrosities? How are they ever going to learn something new (and good) if we never

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Ron Halstead
ux-admin wrote: Should the root's shell be changed to bash? Definitely not. ksh, fine, if it must be; ksh93, fine; tcsh, fine; zsh, fine. But can we please kill the bash abomination on Solaris, and wean users off of it? This 'my shell is better than your shell' flame war has been going on for

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Jennifer Pioch
On 1/30/08, James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? # cp /usr/bin/i86/ksh93 /sbin/sh will fix your problem.

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Scott Rotondo
Jennifer Pioch wrote: On 1/30/08, James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? # cp /usr/bin/i86/ksh93 /sbin/sh will fix your

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread James Carlson
Jennifer Pioch writes: On 1/30/08, James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab auto-completion doesn't work in console. why? # cp /usr/bin/i86/ksh93 /sbin/sh

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Ken Gunderson
On Wed, 30 Jan 2008 12:12:43 -0500 James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from linux, and find Tab

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread UNIX admin
For the record, I am long time *BSD user so am quite familiar with t/csh and use it routinely. I never assumed otherwise. Or assumed anything for that matter. I still wouldn't recommend it, unless it is default shell on the platform at hand. IRIX 6.5, anyone? My shell of preference is

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread UNIX admin
Then teach them ksh (or ksh93) not tcsh. Teach them something where the script language is useful. I'm a firm believer in knowing how to script in both C- and Bourne-family of shells. I can script in Bourne family shells, and in fact, do so when I write scripts that must run without

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread James Carlson
Ken Gunderson writes: On Wed, 30 Jan 2008 12:12:43 -0500 James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, James Carlson [EMAIL PROTECTED] wrote: Jennifer Pioch writes: On 1/30/08, Richard Zhao [EMAIL PROTECTED] wrote: I just come to solaris from

Re: [osol-discuss] Tab auto-completion doesn't work?

2008-01-30 Thread Ken Gunderson
On Wed, 30 Jan 2008 11:53:32 PST UNIX admin [EMAIL PROTECTED] wrote: For the record, I am long time *BSD user so am quite familiar with t/csh and use it routinely. I never assumed otherwise. Or assumed anything for that matter. I still wouldn't recommend it, unless it is default