File name auto completion not working in KSH.Please help


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting File name auto completion not working in KSH.Please help
# 1  
Old 10-27-2011
File name auto completion not working in KSH.Please help

Hi All,

I am using SunOS 5.8 verison with KSH shell. My problem is I am not getting auto completion of file name on pressing of TAB or ESC key.

While pressing ESC key , '^[' is getting printed .
TAB is printing doin nothin but jus printing tab.

What should I do to get auto completion of file name on pressing of ESC or TAB.?
Please help me.
# 2  
Old 10-27-2011
Go with bash shell and try ..
Code:
$ echo $0
-ksh
$ bash
$ echo $0
bash
$

---------- Post updated at 04:35 PM ---------- Previous update was at 04:26 PM ----------

Duplicate post ..
https://www.unix.com/shell-programmin...-name-ksh.html
# 3  
Old 10-27-2011
Try:
Code:
set -o vi

# Then use:
ESC then k
ESC then j

The same already in the other post!
# 4  
Old 10-27-2011
Thanks Jayan...
Thread closed - Follow the above mentionned link
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Cybersecurity

Web Server Allows Password Auto-Completion

Hi, After running 'nessus' tool to find the Vulnerability in server OS - RHEL 5 we got " Web Server Allows Password Auto-Completion (PCI-DSS variant)" link for description provided by tools - report Nessus Plugins | Tenable Network Security I have checked - Their is only... (1 Reply)
Discussion started by: saurabh84g
1 Replies

2. Shell Programming and Scripting

Identifying the file completion

Hi, A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file. I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming? Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies

3. UNIX for Dummies Questions & Answers

Auto Complete variable names in KSH

Hi, I use KSH a lot. I wanted to know if I can auto-complete a Variable name in the environment. I know this is possible in tcsh. I use the vi mode to edit commands on command prompt. Any help would be much appreciated. Thanks..!! (4 Replies)
Discussion started by: grep_me
4 Replies

4. UNIX for Dummies Questions & Answers

auto login not working after ssh-keygen

Hi, I have a generic id say "abc". In a client i logged into using this generic id and generated the key for autologin to do ssh to a server. I have kept the key in authorized_keys file in the server under the home directory of this generic id. (/u/abc/.ssh/authorized_keys) when i do... (7 Replies)
Discussion started by: rbalaj16
7 Replies

5. Shell Programming and Scripting

Auto completion of file name in KSH.

Hi All, I am using SunOS 5.8 verison with KSH shell. My problem is I am not getting auto completion of file name on pressing of TAB or ESC key. While pressing ESC key , '^[' is getting printed . TAB is printing doin nothin but jus printing tab. What should I do to get auto completion of... (2 Replies)
Discussion started by: Sooraj_Linux
2 Replies

6. Shell Programming and Scripting

[ksh] at -f at.file now not working on Solaris.

I am having problems with the at command on Solaris 10. There is a HP-UX 11i script that executes another script using at, but on Solaris 10 it doesn't work. HP-UX: # cat /tmp/at.file date # at -f /tmp/at.file now warning: commands will be executed using /usr/bin/sh job 1309845410.a at... (2 Replies)
Discussion started by: ejdv
2 Replies

7. UNIX for Dummies Questions & Answers

command completion in .sh or .ksh in AIX environment

How do you user command completion in .sh or .ksh in AIX environment? I know you can do it by hitting <esc><esc> in bash, but how do you do it in bourne or korn shell in AIX 5.3 environment? Thanks in advance. (1 Reply)
Discussion started by: pdtak
1 Replies

8. Shell Programming and Scripting

Ensure the file completion ?

Hi, I would like to copy a file from one location to another. But that particular file is not fully loaded. I like to copy a file once it's fully loaded or complete file. How to ensure whether file is fully loaded or complete file?. -Thambi (5 Replies)
Discussion started by: thambi
5 Replies

9. Shell Programming and Scripting

file name completion

I'ld like to enable file name completion in ksh88 on AIX 5.2. My terminal is set to xterm. I've set the shell editor to emacs and ampped the arrow keys. Is there a way to map the tab key to a command like ESC= or any other file name completion command in emacvs that I may be not aware of since I'm... (1 Reply)
Discussion started by: rein
1 Replies
Login or Register to Ask a Question