LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Serial Port Logging

[ILUG] Serial Port Logging

Colm Mac Cárthaigh colmmacc at redbrick.dcu.ie
Wed Sep 19 12:24:47 IST 2001


On Wed, Sep 19, 2001 at 12:18:26PM +0100, Adrian Flynn wrote:
> Niall
> 
> Thanks for your reply, however the printer concerned is not on a linux
> machine, and uses non standard print routines, therefore it cannot be
> captured at source. This is why I was planning on taking the serial cable
> which is currently plugged in to the printer and attaching this (with
> suitable plug modifications) to ttyS0 and linking ttyS1 to the printer with
> another cable. The data would then be routed through the Linux machine, be
> logged, and then continue on its merry way ;-)
> 
> One possible option might be:
> 	cat /dev/ttyS0 |tee -a /var/log/printerlog >/dev/ttyS1
>

no way would that work, it's a two way thing, it's going to
have to do duplex. And no need for cat in that cmdline btw
;P

-- 
------------------------------------------------------------
colmmacc at redbrick.dcu.ie

(master of the web, apache warrior)




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell