Reverse bash console text flow

Posted by radman on Server Fault See other posts from Server Fault or by radman
Published on 2010-06-17T23:58:35Z Indexed on 2010/06/18 0:03 UTC
Read the original article Hit count: 292

Filed under:
|
|

Hi,

This is a bit of a weird question and I'm not sure that there is any easy answer to it but I am very interested in finding a solution.

So when I work on a linux machine via a console I find that I am constantly staring at the bottom of the screen, as once you have executed a bunch of commands text fills toward the bottom. Now I find that this is decidedly not good for my neck and it would be far better if instead of scrolling to the bottom, the text would scroll to the top instead.

So does anyone out there know if there is a way to reverse the direction text appears in a console?

(note that i am aware of the clear command)

Example:
default behaviour

user@machine:~$ command 1  
user@machine:~$ command 2  
user@machine:~$ command 3  
user@machine:~$ __active_prompt__  

desired behaviour

user@machine:~$ __active_prompt__  
user@machine:~$ command 3  
user@machine:~$ command 2  
user@machine:~$ command 1 

Running Kubuntu 10.04 using Konsole

I realise this is an odd question, thanks for any help.

© Server Fault or respective owner

Related posts about linux

Related posts about bash