2009/1/1 Neon John <[email protected]>:
> On Thu, 1 Jan 2009 15:06:02 +1300, "Steve Rooke" <[email protected]> wrote:
>
>>2009/1/1 Mark Sims <[email protected]>:
>>>
>>> Note that there is an error in the first column heading in Lady Heather's 
>>> Leap Log.  It says UTC...  should be GPS.  The three line hour timestamp 
>>> comment is correct (UTC).  The distributed version of the program logged 
>>> only time-of-week.  I added the HH:MM:SS yesterday but messed up the column 
>>> header (boy is Lady Heather gonna be mad when She finds out).  The random 
>>> spacing is due to Billy Gates Quality Control...  he still can't figure out 
>>> where to put CRs and LFs in an email...
>>
>>Well, POSIX decided on LF, Mac on CR and Billy Boy decided to hedge
>>his bets with both LF and CR. It's little wonder I always get a lot of
>>double spacing here then :-)
>
> But billy boy never did anything original.  He copied CP/M, Intel ISIS and
> other early OSs.  I argue that THEY got it right, separating a carriage return
> from a line feed.  In the good old days, there were lots of times when one
> would want to advance a line feed without moving the carriage or vice versa.
>
> I know the *nix argument that the line terminator ought to be a single
> character and can't argue too loudly since I CAN put the port in raw mode.
> Still, that requires programming, as opposed to just creating or editing files
> and cat'ing them to the printer port.

Programming???

$ cat < /dev/ttyS0 &
$ stty raw < /dev/ttyS0
$ cat printer_file.txt >/dev/ttyS0
$ kill %1

I'm assuming your not reading anything meaningful FROM the printer but
that is a pretty fair assumption. Obviously you can add any other stty
commands to the same line or as separate lines.

You can practically do anything from the shell, you only really need
to program when things are quite time restrictive or the shell bogs
down with to much work.

73, Steve
-- 
Steve Rooke - ZL3TUV & G8KVD & JAKDTTNW
Omnium finis imminet

_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to