reassigning key functions in super user mode


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users reassigning key functions in super user mode
# 1  
Old 06-17-2003
Question reassigning key functions in super user mode

At my old job the TAB key was used in Super User mode rather than the default of the ESC key. I was wondering how to reassign the TAB key so that it acquires the functions of the ESC key.

Thanks for the help.
-Shana
# 2  
Old 06-18-2003
assign teh tab key a new value.

for example when my backspace key does not work properly i do a 'stty erase ^?' the ^? is my backspace key on my keyboard.
# 3  
Old 06-18-2003
yes i would like to reassign the value. what exactly is the syntax to do this. thanks for the help.
-shana
# 4  
Old 06-19-2003
Was the tab key always set to do the work of the Escape key? Or was it in one particular script/application?

What would you do when you needed a tab?

What OS (and version) and what shell did you use at the old job and what at the new?

I know in the bash shell, you can use the tab key to complete a command (or a filename). Is this the type of thing you are looking for?
# 5  
Old 06-19-2003
man stty.

i gave you a clue, now you have to persue it.

NAME
stty - set the options for a terminal
DESCRIPTION
The stty command sets certain terminal I/O options for the
device that is the current standard input; without argu-
ments, it reports the settings of certain options.
# 6  
Old 06-19-2003
I doubt very much that "man stty" will lead anywhere useful.

In a few environments it is possible to exchange the roles of the escape and tab keys completely. I could do it on my X terminal with the keymap editor. And I see that sun has a "pcmapkeys".

But I doubt that the OP really wants to do that.

I think that RTM is on the right track. Most likely the OP has switched from one program to another and the two programs are using different keys for some function.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I run command with super user privledge

Hello All, I am working on UNIX like environment. This environment is ported from UNIX. Here when we need to build product set, we need to run some script with super user privledge (which we normal user dont have) Is there any way (some C program or some script) through which any normal... (2 Replies)
Discussion started by: joshi123
2 Replies

2. Shell Programming and Scripting

[bash] reassigning referenced variables in functions

Hello all, Problem. ---------- I'm trying to reassign a referenced variable passed to a 'local' variable in a function but the local variable refuses to be assigned the content of the referenced variable. Any ideas would be appreciated. Objective. ----------- Eliminate all $VAR... (1 Reply)
Discussion started by: ASGR
1 Replies

3. UNIX for Advanced & Expert Users

loggin remote computer as a super user.

hello all, can i loggin remote computer as a super user(i know root user/passwd) and change his access controlle list. if yes please tell me how to do it, i am new to linux. thank you. (6 Replies)
Discussion started by: zius_oram
6 Replies

4. Shell Programming and Scripting

auto login to Super User account

i want to write to script which will login to su account without hving user interaction.( i know Super user password) i wrote following script its also able to log into su account. but seesion gets terminates soon. what can be done ??? or is there any other solution. i don't want to use expect... (6 Replies)
Discussion started by: anup13
6 Replies

5. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

6. Shell Programming and Scripting

Script using awk works only as super user

hi friends, I am a new Sun Solaris 10 user. I have the following script line=$(awk '{if(substr($0,1,1)!="#" && substr($0,1,1)!=";" && substr($0,1,1)!=" " && substr($0,1,1)!="/" && substr($0,1,1)!="*" && substr($0,1,1)!="\\" && length($0)!=0) ... (10 Replies)
Discussion started by: gjithin
10 Replies

7. Solaris

Sunsolaris shell script runs only as super user

Hi Friends, I am new to Sun solaris unix.I am facing problem while runing my kornshell script just as an ordinary user.The script works fine while i am working as a super user.the script just uses awk to check the first charcter of a file and then copies the file to another folder. Do i... (4 Replies)
Discussion started by: gjithin
4 Replies

8. UNIX for Dummies Questions & Answers

rsh as super user without password prompt

Dear forum, First off, I'm using Solaris 5.6 UNIX. I'm trying to write a script which will connect to remote computers on a network (by specific IP's from a hosts file) and will run a separate script which is installed in each of the remote computers. My problem is that to run the script in the... (1 Reply)
Discussion started by: TheMightyUrrrrf
1 Replies

9. UNIX for Dummies Questions & Answers

FTP as Super User

How do you FTP as a Super User? I need to send some files into a cgi-bin directory. I can telnet in as a SU but, cannot figure out how to do it with FTP. Thanks, Frank (3 Replies)
Discussion started by: fbavent
3 Replies
Login or Register to Ask a Question