public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] less cannot work with emerge
@ 2009-10-16 12:05 Xi Shen
  2009-10-16 12:11 ` Alan McKinnon
  2009-10-16 14:01 ` [gentoo-user] " Peter Weilbacher
  0 siblings, 2 replies; 5+ messages in thread
From: Xi Shen @ 2009-10-16 12:05 UTC (permalink / raw
  To: gentoo-china, gentoo-user

hi,

when i use emerge, there are too many packaged that they cannot
displayed in one screen. but i cannot use less to separate it into
pages. why? please help ;)


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] less cannot work with emerge
  2009-10-16 12:05 [gentoo-user] less cannot work with emerge Xi Shen
@ 2009-10-16 12:11 ` Alan McKinnon
  2009-10-16 12:33   ` Alex Schuster
  2009-10-16 14:01 ` [gentoo-user] " Peter Weilbacher
  1 sibling, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2009-10-16 12:11 UTC (permalink / raw
  To: gentoo-user

On Friday 16 October 2009 14:05:33 Xi Shen wrote:
> hi,
> 
> when i use emerge, there are too many packaged that they cannot
> displayed in one screen. but i cannot use less to separate it into
> pages. why? please help ;)
> 

it works here for me.

Perhaps the color codes upset your terminal. try:

emerge --color n <atom> | less

or use more

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] less cannot work with emerge
  2009-10-16 12:11 ` Alan McKinnon
@ 2009-10-16 12:33   ` Alex Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Schuster @ 2009-10-16 12:33 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon writes:

> On Friday 16 October 2009 14:05:33 Xi Shen wrote:

> > when i use emerge, there are too many packaged that they cannot
> > displayed in one screen. but i cannot use less to separate it into
> > pages. why? please help ;)

Well, what happens if you try?

> it works here for me.

Same here.

> Perhaps the color codes upset your terminal. try:
> 
> emerge --color n <atom> | less
> 
> or use more

Or use most.

You could also use a terminal like konsole and increase the scrollback 
buffer. Or use screen inside a terminal, and increase the defscrollback in 
/etc/screenrc. Then Ctrl-A Esc, and PgUp to scroll back. Screen is a little 
confusing at first, but one of the most important tools, at least for me.

	Wonko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: less cannot work with emerge
  2009-10-16 12:05 [gentoo-user] less cannot work with emerge Xi Shen
  2009-10-16 12:11 ` Alan McKinnon
@ 2009-10-16 14:01 ` Peter Weilbacher
  2009-10-19  9:15   ` Xi Shen
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Weilbacher @ 2009-10-16 14:01 UTC (permalink / raw
  To: gentoo-user

On 16.10.2009 14:05, Xi Shen wrote:
> when i use emerge, there are too many packaged that they cannot
> displayed in one screen. but i cannot use less to separate it into
> pages. why? please help ;)

Be sure to pipe both stdout and stderr to less, i.e.
   emerge <options> 2>&1 | less
when you are using bash.
   P.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: less cannot work with emerge
  2009-10-16 14:01 ` [gentoo-user] " Peter Weilbacher
@ 2009-10-19  9:15   ` Xi Shen
  0 siblings, 0 replies; 5+ messages in thread
From: Xi Shen @ 2009-10-19  9:15 UTC (permalink / raw
  To: gentoo-user

i think screen or Peter's way saves me.

thanks guys ;)


On Fri, Oct 16, 2009 at 10:01 PM, Peter Weilbacher
<newsspam@weilbacher.org> wrote:
> On 16.10.2009 14:05, Xi Shen wrote:
>> when i use emerge, there are too many packaged that they cannot
>> displayed in one screen. but i cannot use less to separate it into
>> pages. why? please help ;)
>
> Be sure to pipe both stdout and stderr to less, i.e.
>   emerge <options> 2>&1 | less
> when you are using bash.
>   P.
>
>
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-19  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 12:05 [gentoo-user] less cannot work with emerge Xi Shen
2009-10-16 12:11 ` Alan McKinnon
2009-10-16 12:33   ` Alex Schuster
2009-10-16 14:01 ` [gentoo-user] " Peter Weilbacher
2009-10-19  9:15   ` Xi Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox