Save the display of xterm or dtterm window in a log file

  • Follow


Hello all,

I need to be able to open a new window (using xterm or dtterm) but when the
window opens, anything displayed there, should be saved in a log file which
I want.
Does anybody know which argumnets should I use in the xterm or dtterm
command ?

Thanks in advance


0
Reply Miltiadis 9/4/2003 1:08:28 PM

Miltiadis Agiandritis wrote:
> Hello all,
> 
> I need to be able to open a new window (using xterm or dtterm) but when the
> window opens, anything displayed there, should be saved in a log file which
> I want.
> Does anybody know which argumnets should I use in the xterm or dtterm
> command ?

   What you need is the "script" command.

   I also suggest you read the manual page for xterm, and scroll down to 
the bit which says "turn logging on" (it also points out that only some 
versions of xterm support this due to security reasons).

   /Marcin

0
Reply Marcin 9/4/2003 2:15:52 PM


Hello Marcin,

Thank you very much for your help.
The script command looks just fine.

Regarding the xterm command, I looked at the manual page but I could not
find anything about "tyrn logging on"

If you have any information about this, please let me know. Otherwise, no
problem. The script command will do the work.

Thanks again !

Miltos


"Marcin Dobrucki" <Marcin.Dobrucki@FAKE.nokia.com> wrote in message
news:sOH5b.1514$g4.31530@news2.nokia.com...
> Miltiadis Agiandritis wrote:
> > Hello all,
> >
> > I need to be able to open a new window (using xterm or dtterm) but when
the
> > window opens, anything displayed there, should be saved in a log file
which
> > I want.
> > Does anybody know which argumnets should I use in the xterm or dtterm
> > command ?
>
>    What you need is the "script" command.
>
>    I also suggest you read the manual page for xterm, and scroll down to
> the bit which says "turn logging on" (it also points out that only some
> versions of xterm support this due to security reasons).
>
>    /Marcin
>


0
Reply Miltiadis 9/4/2003 2:28:56 PM

2 Replies
649 Views

(page loaded in 0.038 seconds)

Similiar Articles:











7/24/2012 2:39:19 AM


Reply: