Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ksh File Completion using TAB instead of ESC \

Posted on 2004-10-27
2
Medium Priority
?
2,860 Views
Last Modified: 2008-01-09
I would like to change the default ESC \ for file file completion to be TAB instead.  How would I do that?
0
Comment
Question by:lcor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 2000 total points
ID: 12422710
ksh does NOT have such feature!

ksh can complete pathnames with a little bit more complicated sequence.

set -o vi        # set ksh input editor = vi
you can put this statement in your .profile file to get it automatically executed

type a partial pathname
press <esc> to go in command mode
press =   to get a list of pathnames that complete your partial pathname OR
press *    to expand your partial pathname to the complete list of completing pathnames

and you can do "vi" style commandline search for command history.

IF you want TAB completion, use tcsh shell.




0
 

Author Comment

by:lcor
ID: 12424714
cool!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question