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: Hiram Lester, Jr.
Subject: Re: Re: LYNX-DEV Signal 11 with SimTel Search.
Date: Sun, 8 Dec 1996 22:22:42 -0600 (CST)

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.
;

reply via email to

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