Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I'm using Xterm. While running a prog/command if I scroll up and reading something on the screen, the xterm view resets to bottom if there is some output from the running command.
I tried enabling/disabling jump scroll, asynchronous scroll, scroll to bottom on tty output options of Xterm with no avail. In one way or the other way, the screen is scrolling or resetting to bottom if there is some output to screen.
I want to stop this behavior and the scroll should work as if it is in Konsole. The new output to screen should simply add at the bottom and the current viewing point should remain unscrolled. pls let me know if there is any working solution for this xterm problem.
Thanks for the suggestion. But this does not serve my purpose unless I want to read the output from the command.
what if I want to read something already scrolled off which is the output of previous commands?
I don't think there is any way to do exactly what you are asking with xterm.
If you are looking to view the output of arbitrary commands during a session then you can turn on logging via the VT menu (ctl-button1) it will create a logfile named XtermLog.$random that you can tail -f or grep or paginate as you need.
You could also run the session inside the 'screen' program and have it create a logfile. Screen is also generally handy for dealing with terminals.
Thanks for the heads up. I found that Ctrl+S suspends the current running foreground command also.
workaround is while running the command add "&" so that it will run in background even if we press Ctrl+S. command will run in background, only output will be suspended from showing on the screen. this output is buffered and written to screen when you press Ctrl+Q.
But still,,, is there a perfect solution where we can hold the screen view in xterm while the command output simply adds at the end (just like in Konsole)??
Sometimes just reducing the output can help a lot. eg.
command|grep -v "text1"|grep -v "text2" etc.
To remove any unneeded lines from the output.
Slows down the scrolling.
You obviously want to see this stuff in real time, and that's ok, but I usually don't bother, I just grep bits I want out of saved files or write a script to look for me and take action or email me depending on what it finds.
Thanks for your reply. But none of this is helping. With your options, xterm viewpoint stays constant (scroll bar position) but the text keeps on scrolling.
These options behavior is not equal to Konsole.
In Konsole, text stays constant and scroll bar moves when new o/p adds to the screen. If the current text has to be moved out of Konsole history, then only text starts scrolling as scroll bar already reached top most position.
Thanks for your help.
I use copying to clipboard heavily. so I can't go for mrxvt.
I'm using Konsole for all my current purposes. The only downside of Konsole is that it is very slow in text scrolling compare to xterm.