Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A small problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
whygentoo
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 107
Location: Stockholm

PostPosted: Sun Jul 18, 2004 5:26 am    Post subject: A small problem Reply with quote

My gentoosystem runs in textmode, so I doesn´t have the standard desktop enviroment.I´m using lspci and other commands to check my hardware. When doing that, only a part of the output is on my screen. In DOS there where something like /p to have the commands ouput listed part by part. You did see the first part of the output and where asked to hit enter to wiev the next part. Is there something similar in Linux?
Back to top
View user's profile Send private message
hadfield
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 308
Location: Vancouver, BC, Canada

PostPosted: Sun Jul 18, 2004 5:45 am    Post subject: Reply with quote

You'll need to pipe the output to 'more' or 'less'. The 'more' command prints text one screen at a time, like /p. The less command does the same thing, but lets you scroll back up again.
Code:
$ lspci | more
$ lscpi | less


You can also do this with pretty much any command that prints out text.
Back to top
View user's profile Send private message
Thowil
n00b
n00b


Joined: 12 Apr 2003
Posts: 23
Location: Germany/KO

PostPosted: Sun Jul 18, 2004 3:36 pm    Post subject: Reply with quote

You might as well try shift+pageup / pagedown to scroll...
Should work.
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Sun Jul 18, 2004 3:45 pm    Post subject: Reply with quote

As another alternative you can use screen and enter copy mode to scroll up and down the buffer (which you can alter its length in the config file to as many lines as you want).
Back to top
View user's profile Send private message
bennettp
Guru
Guru


Joined: 22 Feb 2004
Posts: 335
Location: on my back and tumbling

PostPosted: Sun Jul 18, 2004 5:04 pm    Post subject: Reply with quote

less is more.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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