HP3000-L Archives

October 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Wowchuk <[log in to unmask]>
Reply To:
Jim Wowchuk <[log in to unmask]>
Date:
Sat, 28 Oct 1995 09:09:17 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
At 12:55 PM 27/10/95 GMT, Brian Abernathy wrote:
>Well, it's been sometime, so I am working from memory here.  I think that
>you have to write a program, since you have to specify in the file options
>not to append a cr/lf to the output.
 
While such a program is a no-brainer, I was thinking - how about using the
Shell copy 'cp' command to a linked device?  Something like:  "cp binfile
/dev/LP"
 
Since 'cp' is probably probably using the posix library fwrite(), '\n' would
either have to be in the text, or explictly added on the end of each record.
With a binary source file, I'm not sure that this wouldn't solve the problem.
 
Can anyone confirm?
----
Jim "seMPEr" Wowchuk
Vanguard Computer Services     Internet:    [log in to unmask]
 _--_|\                        Compu$erve:  100036,106
/      \                       Post:        PO Box 18, North Ryde, NSW 2113
\.--.__/ <---Sydney NSW        Phone:       +61 (2) 888-9688
      v      Australia         Fax:         +61 (2) 888-3056

ATOM RSS1 RSS2