Re: Konsole: turn off TAB shortcut/autocompletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bogdan romocea wrote:

Dear KDE users,

I have a bunch of shell scripts saved in text files, which I want to
copy and paste in Konsole (instead of running the scripts directly from
files). Many scripts are indented with double TABs. These double TABs
cause the pasted scripts to fail at the point where the first TAB-TAB
occurs.


It appears some kind of autocomplete "feature" is activated. For
example, if I press TAB twice after I open Konsole I get:
Display all 2866 possibilities? (y or n)

How do I get rid of this bug? I didn't find anything useful in Settings
- Configure Konsole. (Eliminating the double TABs from my scripts is
not an option.)


Thank you,
b.





__________________________________ Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
___________________________________________________
.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.





Not sure what shell you are using. If it's bash, read the bash man pages where you will find that there are many ways to customise the "readline" function of the shell by setting readline variables (all done in a inputrc file). One of the options is to set the variable "disable-completion" to "on". TAB characters no longer have a special "completion" meaning if the shell is started with this variable set in this way. Man pages tell you where to find this file. No idea whether other shells have the same functionality.
Or of course you could do as advised by others and get rid of the tabs from your scripts.


Bogus Zaba
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux