LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 03-30-2006, 10:51 AM   #1
cheesypretzel
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Question Can I change my auto-complete key?


I work on a Linux machine but often rlogin to Solaris boxes. On Linux the auto-complete is Tab, but on Solaris it is Esc.
Is there a way to reassign auto-complete to be Tab on Solaris so they are alike?
 
Old 03-30-2006, 03:16 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63

what shell are you using?
 
Old 03-30-2006, 05:39 PM   #3
cheesypretzel
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
sorry, csh
 
Old 03-31-2006, 04:32 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
I believe the tab completion is a tcsh, not csh, feature.
You can switch to tcsh on your machine.
If not installed, you should be able to find it in the SUNWtcsh package.
 
Old 03-31-2006, 11:19 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
You could run xmodmap and bind your tab key to esc, or the other way round. It wouldn't be specific to that shell though.
 
Old 03-31-2006, 11:37 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Yes, a drastic solution that would lead to a quite confusing environment as many command line and graphic applications rely on tab and escape in their UI.

Even while these changes can be limited to xterm (or a compatible terminal emulator) with XTerm*VT100*translations, I would have a lot of trouble under vi if escape and tab are swapped out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmail and auto complete of email address in the TO field shazam75 Linux - Software 3 08-14-2013 01:17 PM
annoying OOo Writer auto-complete mapesju Linux - Software 1 11-18-2004 09:20 PM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 05:51 PM
case-insensitive auto-complete gSalsero Programming 3 06-08-2004 08:33 AM
bash auto-complete behaviour changes acid_kewpie Linux - Software 5 10-26-2002 02:32 PM


All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration