SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
semoi@server:~$ cat /etc/inputrc
# This file configures keyboard input for programs using readline.
# See "man 3 readline" for more examples.
# Configure the system bell. Options are none, visible, and audible.
set bell-style none
set horizontal-scroll-mode Off
# Enable 8 bit input.
set meta-flag On
set input-meta On
set convert-meta Off
set output-meta On
# Set various nice escape sequences:
# for linux console
# for xterm
# for freebsd console
# Modificacion mia:
I have INPUTRC==/etc/inputrc. Furthermore, by varying the file contents I see it's being executed. But the line 'set horizontal-scroll-mode Off' has no effect. I'm still in horizontal scroll mode in the text console.
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.
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
according to "man 3 readline"
Readline is customized by putting commands in an initialization file (the inputrc file). The name of this file
is taken from the value of the INPUTRC environment variable. If that variable is unset, the default is
~/.inputrc. If that file does not exist or cannot be read, the ultimate default is /etc/inputrc.
What is output of "echo $INPUTRC"?
Do you have an ~/.inputrc file, and if yes what does it content?
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.