Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to scroll up the screen??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sat Mar 29, 2003 1:26 pm    Post subject: How to scroll up the screen?? Reply with quote

When you are working in the Command Line Interface, and you run a command, sometimes more info is displayed than can fit on the screen, is there a way to scroll up and read the info??
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Sat Mar 29, 2003 1:33 pm    Post subject: Re: How to scroll up the screen?? Reply with quote

drayco2000 wrote:
When you are working in the Command Line Interface, and you run a command, sometimes more info is displayed than can fit on the screen, is there a way to scroll up and read the info??


pipe the output to more.


ls -l |more
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Mar 29, 2003 1:34 pm    Post subject: Re: How to scroll up the screen?? Reply with quote

You can scroll with [SHIFT]+[direction] where direction can be up, down, pageup or pagedown.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sat Mar 29, 2003 4:12 pm    Post subject: Reply with quote

If you wish to log the output of an emerge process you can use the command below which will output to a log file that you can read later.
Code:
emerge <package> | tee -a /tmp/<package>.log

If you are reading text files you can use the command below to read them without opening them in an editor.
Code:
cat <file> | less

I find that 'less' is much nicer than 'more' as it has better navigation within the content. If you just want to move up a little but have not piped or logged the output keyboard shortcuts can be used also such as Shift-PgUp for moving up and Shift-PgDown for moving down as already mentioned. However, you can only move up to a limited level depending on the size of the scroll back buffer.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Sat Mar 29, 2003 4:45 pm    Post subject: Reply with quote

Narada wrote:
If you wish to log the output of an emerge process you can use the command below which will output to a log file that you can read later.


Or just look at /var/log/emerge.log

It's not a full log, but shows what has been merged.

tail /var/log/emerge.log will show the progress of a long emerge.
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20099

PostPosted: Sat Mar 29, 2003 9:30 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum