lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: LYNX-DEV Signal 11 with SimTel Search.


From: Benjamin C. W. Sittler
Subject: Re: Re: LYNX-DEV Signal 11 with SimTel Search.
Date: Mon, 9 Dec 1996 09:19:06 -0700 (MST)

There is one more way:
sh/ksh/bash:
$ lynx  -trace insert_url_here 2>&1 | tee insert_output_file_here
csh/tcsh:
% lynx  -trace insert_url_here |& tee insert_output_file_here

On Sun, 8 Dec 1996, Hiram Lester, Jr. wrote:

> On Mon, 9 Dec 1996 address@hidden wrote:
> 
> > How do i save the output of trace to a file?
> > 
> > I tried lynx -trace http://www.coast.net/cgi-bin/SimTel/msidx > lynxtrace
> > 
> > This does'nt come out to good it does'nt record it as you see it
> > while it's happening.
> > 
> > The system is linux kernel 2.0.27 with the latest everything.
> 
> Well, there's several ways to do this depending on personal preferences.
> If you are using csh or tcsh, you can change the > in the command line
> above to >& to redirect stderr to the file AS well as stdout.  As you saw,
> though, this has the disadvantage of not allowing you to see anything on
> screen.
> 
> Another way is the command 'script'.  Type 'script' at the prompt followed
> by an optional filename, and then you are presented with a brand new
> command shell.  Everything you do in this shell is also logged to a file
> including backspaces, etc.  When you get done, log out of the shell.  The
> output will be in a file named 'typescript' unless you specified a
> filename.  This is basically the same as the 'photo' command on VMS.
> 
> Another way if you want JUST the debugging info in the log file and don't
> want to see it on screen would be to use one of the sh derivate shells
> (type 'sh' at the prompt), and then use the command line above, but change
> > to 2> instead, so 'lynx -trace blah 2> trace.log'.
> 
> Perhaps this info should be re-formatted and placed in the FAQ along with
> info about the use of PHOTO on VMS...
> 
>    +------------------------------------+-------------------------------+
>    | Hiram W. Lester, Jr.               | E-Mail: address@hidden    |
>    | Computer Science                   | Home page:                    |
>    | Middle Tennessee State University  |   http://pobox.com/~hwlester/ |
>    +------------------------------------+-------------------------------+
> 
> ;
> ; To UNSUBSCRIBE:  Send a mail message to address@hidden
> ;                  with "unsubscribe lynx-dev" (without the
> ;                  quotation marks) on a line by itself.
> ;
> 

Benjamin C. W. Sittler - address@hidden - http://www.nmt.edu/~bsittler
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]