Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-25-2002, 10:00 AM
|
#1
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,823
|
bash auto-complete behaviour changes
since upgrade a bunch of my system to mandrake 9.0, when i use autocomplete [TAB] in Bash, i only get one screenfull at a time, leaving with an annoying "--More--" prompt at the bottom of the screen. and then i have to press "q" to get out of that mode, that's sucky and really annoying. anyone know where this behaviour comes from and how to remove it? (and who thought it was a good idea...?). none of my bashrc's have changed at all, and i can't see any new option n the bash manpage... maybe mandrakes squirrelling away some options somewhere in a corner.
|
|
|
|
10-25-2002, 12:17 PM
|
#2
|
|
Member
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102
Rep:
|
Ok, so here's a possibility. there is a bash shell builtin 'complete ' which takes an argument -C
Code:
-C command
command is executed in a subshell environ-
ment, and its output is used as the possi-
ble completions.
you might want to look in your /etc/profile to see if there's anything funky going on there,
|
|
|
|
10-25-2002, 01:59 PM
|
#3
|
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
Hey acid, see if you got /etc/bash_completion , as far as I can tell it is the new thing from http://www.caliban.org/bash/index.shtml#completion
|
|
|
|
10-25-2002, 05:37 PM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,823
Original Poster
|
i didn't know about that programmable completion for host anmes etc... always thought that should exist... but neither suggestion has lead to anything. i *think* it's probably compiled in to the bash binary, though i've no way of finding out. "strings /bin/bash" tells me that the --More-- is internal to bash but there must be someway to make it act like the older versions.
has anyone else foudn this chaneg in behaviour with mandrake 9.0 (bash 2.05b)
|
|
|
|
10-25-2002, 07:00 PM
|
#5
|
|
Member
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102
Rep:
|
So I installed ''GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.6)'' and looked at the man page here's what I saw under ''Readline variables''
Code:
Readline has variables that can be used to further cus-
tomize its behavior. A variable may be set in the inputrc
file with a statement of the form
set variable-name value
[ . . .]
page-completions (On)
If set to On, readline uses an internal more-like
pager to display a screenful of possible
completions at a time.
Last edited by leed_25; 10-25-2002 at 07:06 PM.
|
|
|
|
10-26-2002, 01:32 PM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,823
Original Poster
|
ahh cool, that hit it! mind you it always annoys me when people say that to one of my answers as i'm normally thinking "well what did you expect it to do?"... anyway.... it's not in the manpage i've got here, would've been nice if they'd documented it properly huh? cheers.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|