EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: tnet driver
From: Jim Thomas <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Mon, 17 Apr 2000 14:05:53 -1000 (HST)
Nick> Does anyone have a good set of routines for turning off line mode in a
Nick> standard Unix terminal driver (i.e. turning on the equivalent of the
Nick> VxWorks OPT_RAW mode). My problem with the tnetDrv code was that I
Nick> couldn't get the psuedo terminal to go into character mode. I looked
Nick> through all the ioctl codes on Solaris and couldn't find anything that
Nick> looked right, but on the other hand most of the standard communication
Nick> packages use character mode and so it obviously can be done - I just
Nick> couldn't find the codes. The answer must be bleeding obvious, but since I
Nick> have never done this sort of thing before, I got stuck.

Aloha, Nick,

Dig in TFM under section termio(7) and look at "Non-Canonical Mode Input
Processing".  With MIN=0 and TIME=0 input is non-blocking, character mode
input like RAW mode used to be.  These are in the c_cc array in the termios
structure set by the TCSETA ioctl .

Jim


References:
Re: tnet driver Nick Rees

Navigate by Date:
Prev: Re: tnet driver Allan Honey
Next: MATLAB Song, Jinhu
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: tnet driver Nick Rees
Next: Re: tnet driver Allan Honey
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024