help-octave
[Top][All Lists]
Advanced

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

Re: Writing terminal output to a file


From: John W. Eaton
Subject: Re: Writing terminal output to a file
Date: Wed, 9 Mar 2005 14:51:56 -0500

On  9-Mar-2005, Edward C. Jones <address@hidden> wrote:

| Geordie McBain wrote:
|  > Does diary do what you want?
| 
| No. It saves the octave output but not the messages from gcc.

That's because the output from the system command does not come back
to Octave to go through the pager and diary system.  It just goes to
the standard output.

Maybe what you want is something like the script command?


SCRIPT(1)                 BSD General Commands Manual                SCRIPT(1)

NAME
     script - make typescript of terminal session

SYNOPSIS
     script [-a] [-c COMMAND] [-f] [-q] [-t] [file]

DESCRIPTION
     Script makes a typescript of everything printed on your terminal.  It is
     useful for students who need a hardcopy record of an interactive session
     as proof of an assignment, as the typescript file can be printed out
     later with lpr(1).

     [...]


jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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