[haiku-bugs] Re: [Haiku] #8734: SerialConnect replacement

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2012 21:54:11 -0000

#8734: SerialConnect replacement
----------------------------+----------------------------
   Reporter:  pulkomandy    |      Owner:  pulkomandy
       Type:  enhancement   |     Status:  new
   Priority:  low           |  Milestone:  R1
  Component:  Applications  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by ttcoder):

 Sounds like cat et al. are not as device-friendly in BeOS as they are in
 Haiku.. I remember trying cat (alone, without stty even) in Haiku and
 having success accessing the serial device at Dane's.. Though the second
 call would be better off using the "echo" command rather than cat, since
 in write mode the cat command will just sit there waiting for the user, so
 rather something like..

 {{{ stty 9600 -parenb -cstopb cs8 ; echo "teststring" > /dev/ports/serial1
 }}}

 But if reading won't work, the above probably won't work either.

 Re. not losing the contents of SerialConnect in case of a power failure,
 maybe (probably?) that window allows access to scripts and the "hey"
 command, in which case it's easy to write a script that captures the
 window contents every 10 seconds and writes it to a file.. Get in touch
 with Dane @ TT systems if interested.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8734#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: