LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Can I change my auto-complete key? (http://www.linuxquestions.org/questions/solaris-opensolaris-20/can-i-change-my-auto-complete-key-430023/)

cheesypretzel 03-30-2006 10:51 AM

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?

Blinker_Fluid 03-30-2006 03:16 PM

:confused:
what shell are you using?

cheesypretzel 03-30-2006 05:39 PM

sorry, csh

jlliagre 03-31-2006 04:32 AM

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.

ilikejam 03-31-2006 11:19 AM

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.

jlliagre 03-31-2006 11:37 AM

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.


All times are GMT -5. The time now is 12:18 PM.