-   Solaris / OpenSolaris (
-   -   Can I change my auto-complete key? (

cheesypretzel 03-30-2006 09: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 02:16 PM

what shell are you using?

cheesypretzel 03-30-2006 04:39 PM

sorry, csh

jlliagre 03-31-2006 03: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 10: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 10: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 11:13 AM.