> there is a problem to me, help me, please!
> I wonder if I can read the data come from serial line, just on the command
> line mode.
> That means I don't need to write any special program in C or any language; I
> also don't want to using minicom, because I need process the data coming
> from serial line by a script file.
>
Here is what you need:
http://www.columbia.edu/kermit/ckermit.html
This is a single program that combines serial-port i/o with high-level
control of parameters like parity, word size, and flow control, and that
includes built-in script programming language.
C-Kermit is not like Minicom because it does not take over your screen.
Writing a C-Kermit script is equivalent to writing a shell script; you can
make it do automatically whatever you would do "by hand", plus many things
you can not do by hand, such as transfer files, convert character sets,
send alphanumeric pages, etc. It also lets you avoid deadlocks, for example
when you tell the script to read something that never comes -- Kermit, unlike
the shell, can time out after a specified amount of time and indicate a
failure, which can be handled any way you like.
To get started with C-Kermit scripting, visit the C-Kermit script library
here:
http://www.columbia.edu/kermit/ckscripts.html
- Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]