Or run "script" before doing your thing.  When your session is done, type
exit.  Everything done will be saved to a file in the current directory
called "typescript".

> -----Original Message-----
> From: John J. Trammell [mailto:trammell at trammell.dyndns.org] 
> Sent: Friday, October 19, 2001 12:33 PM
> To: tclug-list at mn-linux.org
> Subject: Re: [TCLUG] how do you copy text in a shell
> 
> 
> On Fri, Oct 19, 2001 at 11:53:39AM -0500, Raymond Norton wrote:
> > I want to post a question providing an error message I am 
> getting. How 
> > can I capture the text in a shell, so I can paste it in a posting?
> > 
> 
> which shell?  do an
> 
>   echo $SHELL
> 
> if you're not sure.
> 
> for tcsh:
> 
>   command >& output.txt
> 
> for bash:
> 
>   command > stdout.txt 2> stderr.txt
> 
> -- 
> johntrammell at yahoo.com | 78BA 706C C5F9 9321 E7C4 933B D063 
> 907B A88E 924B Twin Cities Linux Users Group Mailing List 
> (TCLUG) Minneapolis/St. Paul, Minnesota  http://www.mn-linux.org
>