how do I disable the generation of XOFFs when using tip over
aserial port to another device
ws at au.dyndns.ws
Sat Sep 13 16:26:57 UTC 2008
On Mon, 2008-09-08 at 10:50 -0700, Jeff Haran wrote:
> Thanks for the response. After I sent the original email, I found the
> tandem variable in the tip source code and toggling it off did indeed
> disable the generation of XOFFs. It would have been easier if tandem had
> been documented in the 6.3 man pages.
> It would also be convenient if there was some way to set these tip
> varibles non-interactively (e.g. via a command line option, .rc file or
> some such thing). I am using tip in an expect script to automate a test
> case and coding the expect script to generate the ~s escape sequence to
> turn tandem off was something less than straight forward.
> Jeff Haran
Further to my earlier reply... tip(1) does in fact support configuration
through ~/.tiprc and adding:
to it should work to disable XON/XOFF generation, too. Perusing the
source reveals that cu(1) also uses that configuration file since tip
and cu both call the same routine - vinit() - to initialise their
variables and that's where ~/.tiprc is read. Not mentioned in the cu(1)
man page, however, so that's another PR coming.
More information about the freebsd-questions