Re: Can less read its input from the stderr ? How ?

1998-07-28 Thread Paul
Another possible option here is to use SHIFT-PGUP if on a virtual terminal or use the scroll bars in an xterm. Has the added benifit of not having to retype the command that is erroring. On Mon, 27 Jul 1998 [EMAIL PROTECTED] wrote: Supose I have a program that output long text to stderr. Can I

Re: Can less read its input from the stderr ? How ?

1998-07-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Joel Keating [EMAIL PROTECTED] wrote: -=-=-=-=-=- No you can't use the less command. To switch stdout with stderr do # ln -s /dev/stdout /dev/stderr Don't try this at home kids. It's nonsense. [please THINK before you tell someone to perform some command as root

Can less read its input from the stderr ? How ?

1998-07-27 Thread shaul
Supose I have a program that output long text to stderr. Can I use the less command to page in it ? How ? Can I switch the stdout with the stderr ? -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null

Re: Can less read its input from the stderr ? How ?

1998-07-27 Thread Heikki Vatiainen
Maybe running your program as % program 21 |less works. This redirects stderr (file descriptor 2) to where stdout goes. // Heikki -- Heikki Vatiainen * [EMAIL PROTECTED] Tampere University of Technology * Tampere, Finland -- Unsubscribe? mail -s unsubscribe [EMAIL

Re: Can less read its input from the stderr ? How ?

1998-07-27 Thread Razathorn
On Mon, Jul 27, 1998 at 09:32:45PM +0300, [EMAIL PROTECTED] wrote: Supose I have a program that output long text to stderr. Can I use the less command to page in it ? How ? Can I switch the stdout with the stderr ? command 21 | less you can redirect stderr (fd 2) with 2 file or 21 (stderr

Re: Can less read its input from the stderr ? How ?

1998-07-27 Thread Joel Keating
No you can't use the less command. To switch stdout with stderr do # ln -s /dev/stdout /dev/stderr or the other way around. I'm not sure which way you like it (Perhaps because i have no idea why you want to do that.) [EMAIL PROTECTED] wrote: Supose I have a program that output long text