Command line horizontal scroll.
Hi: At present when I type in the command line interface (text consoles) horizontal scroll takes effect. I'd like to return to the old style. Can this be done with little work?
EDIT: I found the horizontal-scroll variable in the bash manual, and there I see its default value is Off. How could it set itself On is a thing I do not understand. This is my inputrc file: Code:
semoi@server:~$ cat /etc/inputrc |
Off is the default, so it does not have to be in /etc/inputrc. That works here and
Code:
bash-4.2# echo $INPUTRC Code:
set horizontal-scroll-mode On Code:
#!/bin/bash |
Very delicate the detail of using my tongue in the script, Didier. Thanks. /etc/inputrc without any line referencing scroll mode leaves the system in horizontal scroll mode, contrary to the stated default value for that variable in the bash manual. /etc/inputrc with the line 'set horizontal-scroll-mode Off' in it, has exactly the same effect. I do not know, then, how to remove horizontal scrolling behavior, cause that is the current behavior in the system, in my case! When the system has just been booted, the cli is in horizontal scroll mode that is, there is no wrap around when the cursor reaches column 80, assuming 80-column wide display.
|
according to "man 3 readline"
Code:
INITIALIZATION FILE
|
Code:
semoi@server:~$ echo $INPUTRC |
I beg your pardon: /etc/inputrc reads as posted in post #1, with an exception: I removed the line that sets the horizontal scroll mode at the beginning.
I made some tests, including renaming /etc/inputrc, exiting the shell (bash) and logging in again, with no positive results. I had already read the readline manual before you quoted it and the bash manual section entitled READLINE. Now, a new issue aroused, this being of basic importance, for which I'll issue a separate thread. Maybe it is related to the scroll issue. |
All times are GMT -5. The time now is 05:23 PM. |