From: Huajie on
Dear all:

I need to save the screen output (Screen Shot) which updated
continusly to a file in my Unix computer. I have a machine connects to
my computer. When I plug in a sample in the machine, it automatically
outputs data updated continuously to my computer through a series port
and I don't need to type in any command. Can anyone kindly tell me how
I can save the output to a file automatically so that I can read the
output later?

Thanks a lot in advance.

Alex
From: Stephane CHAZELAS on
2008-06-27, 07:14(-07), Huajie:
[...]
> I need to save the screen output (Screen Shot) which updated
> continusly to a file in my Unix computer. I have a machine connects to
> my computer. When I plug in a sample in the machine, it automatically
> outputs data updated continuously to my computer through a series port
> and I don't need to type in any command. Can anyone kindly tell me how
> I can save the output to a file automatically so that I can read the
> output later?
[...]

If you use GNU screen to connect to the serial port, you can use
<Ctrl-A>H which will create a ~/screenlog.<x> file logging all
the output.

minicom also has a similar functionality.

How are you /connecting/ to the serial port?

--
St�phane
From: Huajie on
On Jun 27, 10:33 am, Stephane CHAZELAS <stephane_chaze...(a)yahoo.fr>
wrote:
> 2008-06-27, 07:14(-07), Huajie:
> [...]> I need to save the screen output (Screen Shot) which updated
> > continusly to a file in my Unix computer. I have a machine connects to
> > my computer. When I plug in a sample in the machine, it automatically
> > outputs data updated continuously to my computer through a series port
> > and I don't need to type in any command. Can anyone kindly tell me how
> > I can save the output to a file automatically so that I can read the
> > output later?
>
> [...]
>
> If you use GNU screen to connect to the serial port, you can use
> <Ctrl-A>H which will create a ~/screenlog.<x> file logging all
> the output.
>
> minicom also has a similar functionality.
>
> How are you /connecting/ to the serial port?
>
> --
> Stéphane

Thank you for the kind reply. I am not using GNU screen.

> How are you /connecting/ to the serial port?

Someone did it for me so I don't know how. I just saw he used a series
line through series 232 port. After I logged in, nothing appeared on
my hyperterminal screen. Then after I put the sample in the machine
which is connected to my computer, the output automatically appeared
on the screen. I have heard the term of minicom. Can you tell me how
I can do use that? or can you just tell me when I lookfor minicom help
or tutorial, which command/part should I look for?

Thanks.

Alex.



From: Stephane Chazelas on
2008-06-27, 07:39(-07), Huajie:
[...]
>> How are you /connecting/ to the serial port?
>
> Someone did it for me so I don't know how. I just saw he used a series
> line through series 232 port. After I logged in, nothing appeared on
> my hyperterminal screen. Then after I put the sample in the machine
> which is connected to my computer, the output automatically appeared
> on the screen. I have heard the term of minicom. Can you tell me how
> I can do use that? or can you just tell me when I lookfor minicom help
> or tutorial, which command/part should I look for?
[...]

minicom and screen are alternatives to hyperterminal (though I
suspect hyperterminal only runs on Microsoft Windows systems).

AFAIK, hyperterminal also has support for storing all the output
to a log file just look in the menus.

--
St�phane
From: Huajie on
On Jun 27, 10:43 am, Stephane Chazelas
<stephane.chaze...(a)unicyclist.com> wrote:
> 2008-06-27, 07:39(-07), Huajie:
> [...]>> How are you /connecting/ to the serial port?
>
> > Someone did it for me so I don't know how. I just saw he used a series
> > line through series 232 port. After I logged in, nothing appeared on
> > my hyperterminal screen. Then after I put the sample in the machine
> > which is connected to my computer, the output automatically appeared
> > on the screen. I have heard the term of minicom. Can  you tell me how
> > I can do use that? or can you just tell me when I lookfor minicom help
> > or tutorial, which command/part should I look for?
>
> [...]
>
> minicom and screen are alternatives to hyperterminal (though I
> suspect hyperterminal only runs on Microsoft Windows systems).
>
> AFAIK, hyperterminal also has support for storing all the output
> to a log file just look in the menus.
>
> --
> Stéphane

Thank you very much. If the connection is not through minicom, can I
still use minicom to save the screen? Because what I need is just to
save the screen automatically. Sorry for my elementary questions.

Alex