Forum Moderators: bakedjake

Message Too Old, No Replies

Unix (Solaris 8) Terminal Shortcuts

Up and tab don't seem to work

         

davemarks

4:32 pm on Mar 20, 2003 (gmt 0)

10+ Year Member



Can anyone provide me with some direction.

I'm fairly new to Unix as far as configuring is concerned so apologies if i#m being dumb...

I have a SPARC5 running Solairs 8, pretty bare and basic install

My problem is that when using terminal i cannot use the Up arrow and tab as I would normally

i.e tab to autocomplete and up to display the last command

I have had a look around the Options menu with no luck. At present using the arrows writes some mumbo jumbo to the screen ^[[A for example

BTW I'm using X-Win32 to access the machine, but I'm pretty certain the same thing happens when I sit infront of the machine itself

Thanks for any help

jatar_k

12:55 am on Mar 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



here is the answer I got

tell them to make sure they're in bash, only bash recognizes the tab and up arrows, etc. If he's in as root, or hasn't created a user with shell set to bash, tell them to do so

dingman

3:14 am on Mar 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I *think* the default shell on Solaris is sh. Assuming bash is installed, the chsh command should let you make bash your default. I haven't used Solaris much, or lately, so I could be wrong. I hope it helps, though.

davemarks

11:36 am on Mar 26, 2003 (gmt 0)

10+ Year Member



Wow, that worked!

Thank you so much, that has been driving me made...

I simply typed bash to get into bash as oppossed to sh.

Now to investigate setting bash as my default....
Not sure how to use the chsh command.

I tried adding

SHELL=/usr/bin/bash
export SHELL

to my .profile but didn't seem to make any difference. Google's not helping much either :(

davemarks

1:46 pm on Mar 26, 2003 (gmt 0)

10+ Year Member



Ahh fixed it :)

Used the admintool to specify the default Shell, worked a treat :)

Thanks for the help guys..