Virtual COM port on Linux

Andrew McNabb amcnabb at mcnabbs.org
Mon Mar 15 13:18:43 MDT 2010


On Mon, Mar 15, 2010 at 12:32:40PM -0600, Dave Smith wrote:
> 
> Actually, that appears to not work as I expected. The first problem is 
> that echo needs -n to *not* print a newline character, which would not 
> normally be a problem (but for purity's sake I added -n). The second 
> problem is that the last byte (0x00) does not get written to the device, 
> I assume because echo interprets it as a null-termination character. 

This is exactly why I only use shell scripts for very simple tasks. :)

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868


More information about the PLUG mailing list