Re: Reading data from a tty



<From Paul Laymon>
This can be trivial or it can be complicated. There are two things:

1) Do you want to append each burst to a single file or have one file for
each burst?
I need to create a single file for each burst of data

2) If the answer to #1 is a separate file for each burst, how do you know
you've reached the end of the "burst" of data? A special character or EOF
indicator or some amount of idle time?
There is no EOF character. However, each burst will start with
ASCII character seq(2).
Thus. When the program sees seq(2), then it will know that a new
file needs to be created containing the data that comes in next, until
another seq(2) character is received.

Paul, I will check out the C code link that you posted.

Also, Bob, can "netty" be configured to run in the manner described
above?

I have been lucky enough to get another day to get this one done, but I
am getting close to a deadline.

Gee, I guess I should have not sleep thru some of those classes in
college. :)

Thanks, Eric

.



Relevant Pages

  • Re: Reading data from a tty
    ... I need to create a single file for each burst of data ... A special character or EOF ... Also, Bob, can "netty" be configured to run in the manner described ... needed some "custom" feature and he was willing to implement those ...
    (comp.unix.aix)
  • Re: Layering: For a moment, she stood in silence
    ... for a moment, then burst out laughing. ... For any character, bits of behavior like a nervous tic can help fill ... the actual passage of time. ...
    (rec.arts.sf.composition)