Force delete key to work in aix ksh ?


 
Thread Tools Search this Thread
Operating Systems AIX Force delete key to work in aix ksh ?
# 1  
Old 09-09-2007
Force delete key to work in aix ksh ?

I'm using AIX console over putty.
I'm not very happy with default ksh command editing capabilities so I forced insert mode, arrow keys and command history by issuing:

set -o emacs
alias __D=`echo "\002"`
alias __C=`echo "\006"`

in emacs mode history works using ctrl+p, so only thing missing is del key-
How to force del key to work as it should ?

thanks
Vilius
# 2  
Old 10-05-2007
thanks a lot vilius for this

its makes its a lot easier to work with AIX

however, do you know I can force my account to execute these commands automatically whenever I log on?
# 3  
Old 10-15-2007
put these lines into local /home/someuser/.profile or global(for all users) /etc/profile files.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync in bash script doesn't work even after placing pub key in target server

Hello Friends, My bash script is like this #!/bin/bash # request Bourne shell as shell for job #$ -S /bin/bash # assume current working directory as paths #$ -cwd #$ -N rsync-copy # # print date and time date rsync -rltD --progress "ssh -i /home/myname/.ssh/id_rsa"... (4 Replies)
Discussion started by: jacobs.smith
4 Replies

2. AIX

AIX 5.3 on p275 - "|" key doesn't work (!)

More issues. The "|" key doesn't work at all, either in the text terminal or in mwm (which starts fine when I do "startx"). How am I supposed to troubleshoot without a "|" key? (2 Replies)
Discussion started by: smithfarm
2 Replies

3. Shell Programming and Scripting

ssh key based authentication - force

Hi Team, we have problem with sftp. Though SA team has setup the keys between 2 server, sftp still prompts for the password. After many attempt to rectify the problem, SA has asked us force the SSH key based authentication by using following command. sftp2 --indetity="folder/private_key"... (6 Replies)
Discussion started by: ace_friends22
6 Replies

4. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

5. Filesystems, Disks and Memory

force tape to eject on aix

Hi, I have a damaged tape that will not eject on aix. How can i force this. I tried tctl -f /dev/rmt0 offline But i get the following error: the media surface is damaged (1 Reply)
Discussion started by: progressdll
1 Replies

6. Shell Programming and Scripting

How to set delete Key to erase automatically

We need to su to root in 1000 systems, so it is almost impossible to add "stty erase ^H" to every .profile on these systems. Is there any way to set delete key to erase automatically after running "su -"? Thanks :) (4 Replies)
Discussion started by: aixlover
4 Replies

7. Solaris

problem with delete key...

Hi all .. #stty erase ^H stty erase ^? is already there in my .profile,but still whin i press delete key it is displaying ^[[ like this..... what to do.... (8 Replies)
Discussion started by: venkatramana
8 Replies

8. Shell Programming and Scripting

Simulate ENTER key in ksh scripting

Using SCO 5, Ksh here I am trying to automate some process that i am doing manually. During some point of time, I will have to press enter to clear away some messages. This is how I do manually. *one command* r r r r r I enter the command once, then press enter key 1 more... (6 Replies)
Discussion started by: khaos83_2000
6 Replies

9. UNIX for Dummies Questions & Answers

problem with delete key...

Hi all .. #stty erase ^H stty erase ^? is already there in my .profile,but still whin i press delete key it is displaying ^[[ like this..... what to do.... (0 Replies)
Discussion started by: venkatramana
0 Replies

10. OS X (Apple)

make alt key work (emacs etc)

Any way to make the alt/option key work in emacs so i don't have to keep presseng escape? Cheers ora (0 Replies)
Discussion started by: ora
0 Replies
Login or Register to Ask a Question