SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Tab to complete a file name in xterm, using ksh, doesn't seem to work.
For example, I try to extract Rainlendar-Pro-2.17.1-amd64.tar.bz2 :
I type tar xjvf Rain and press Tab, but the cursor just seems to move 8 spaces in the terminal, without completing the name.
Is this a bug with ksh?
ksh doesn't provide tab completion like that, unless emacs mode is set. There is also a way to do name completion in vi mode (the standard) using escape.
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 454
Rep:
EDIT: It looks like either vi or emacs mode needs to be turned on for completions to work.
It seems to be working fine here. These are my options:
Code:
$ set -o
Current option settings
allexport off
backslashctrl on
bgnice on
braceexpand on
clobber on
emacs off
errexit off
exec on
glob on
globcasedetect off
globstar off
gmacs off
histexpand on
ignoreeof off
interactive on
keyword off
letoctal off
log on
login_shell off
markdirs off
monitor on
multiline on
notify off
pipefail off
posix off
privileged off
rc on
restricted off
showme off
trackall off
unset on
verbose off
vi on
viraw on
xtrace off
Last edited by pghvlaans; 11-28-2021 at 11:03 PM.
Reason: Better answer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.