From owner-freebsd-questions@FreeBSD.ORG Sat Sep 6 08:11:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A539106567C for ; Sat, 6 Sep 2008 08:11:39 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8268FC26 for ; Sat, 6 Sep 2008 08:11:38 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjYDAFDWwUiWZWdv/2dsb2JhbAAIQrQfgWU X-IronPort-AV: E=Sophos;i="4.32,343,1217773800"; d="scan'208";a="198982580" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 06 Sep 2008 17:41:36 +0930 From: Wayne Sierke To: Jeff Haran In-Reply-To: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> References: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> Content-Type: text/plain Date: Sat, 06 Sep 2008 17:41:34 +0930 Message-Id: <1220688694.2581.13.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how do I disable the generation of XOFFs when using tip over a serial port to another device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 08:11:39 -0000 On Fri, 2008-09-05 at 12:20 -0700, Jeff Haran wrote: > Dear Sirs, > > I have connected one of the RS232 ports of my PC with FreeBSD (v6.3) on > it to a device that does not understand XON/XOFF flow control. I run the > tip program to connect to that device. > > How do I configure tip and/or the serial port so that the FreeBSD PC > will NOT send XOFFs or XONs to the device? > > When I run: > > stty -a -f /dev/cuad0 > > where /dev/cuad0 is the device associated with the port, it outputs > (among other things): > > iflags: ... ixon -ixoff ... > > >From my reading of the stty man page, I would think that means the port > is already configured to not send XOFFs. > > Is there something I need to do to /etc/remote to tell tip to not enable > XON/XOFF? > > Please respond to this email address as I do not subscribe to the > mailing list. > > Thanks, > > Jeff Haran Hi Jeff, I think there might be a problem with the man page for tip(1) on 6.x, as an entry for 'tandem' was added to the tip sources about 2 years ago. It's in the 7.x man page as you can see at: http://www.freebsd.org/cgi/man.cgi?query=tip&manpath=FreeBSD+7.0-RELEASE&format=html in 'Variables'. 'tandem' shows up in a variable listing (~v) in tip on a 6.x system I have here but I don't have an appropriate set up at hand to verify that it operates correctly. Let us know how you go with it. If it works for you then a PR would be in order. Wayne [1] Extract from the tip(1) man page on 7.x: tandem (bool) Use XON/XOFF flow control to throttle data from the remote host; abbreviated ta. The default value is true unless the nt capability has been specified in /etc/remote, in which case the default value is false.