From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 11:09:47 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BFA106567E for ; Tue, 26 Aug 2008 11:09:47 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2690D8FC28 for ; Tue, 26 Aug 2008 11:09:46 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl76-178.kln.forthnet.gr [77.49.123.178]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m7QB9ZVZ029303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Aug 2008 14:09:41 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m7QB9Zw2017399; Tue, 26 Aug 2008 14:09:35 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m7QB9Yuf017392; Tue, 26 Aug 2008 14:09:34 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: swell.k@gmail.com References: <87fxot5hoi.fsf@kobe.laptop> <86myj0xdou.fsf@gmail.com> Date: Tue, 26 Aug 2008 14:09:34 +0300 In-Reply-To: <86myj0xdou.fsf@gmail.com> (swell k.'s message of "Tue, 26 Aug 2008 14:39:45 +0400") Message-ID: <8763po58y9.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m7QB9ZVZ029303 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.294, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-current@freebsd.org, Ed Schouten Subject: Re: Inserting flow-control chars with an mpsafetty kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 11:09:47 -0000 On Tue, 26 Aug 2008 14:39:45 +0400, swell.k@gmail.com wrote: > Giorgos Keramidas writes: >> Hi Ed, >> After installing the mpsafetty changes it seems that flow-control ^S >> and ^Q characters cannot be inserted inserted anymore. I first >> noticed this when CTRL-S stopped working as 'search-forward' in >> Emacs, but it seems the same problem exists in /usr/bin/vi, vim, bash >> and a few other programs that I tested. >> >> With a kernel before the mpsafetty changes, I can fire up /usr/bin/vi >> and type in insert-mode `^V^S'. This correctly inserts a ^S >> character. With a kernel from svn revision /head@181939 ^V no longer >> quotes the next byte in vi(1) and other programs. > > Could you possibly be trying to type them inside screen(1)? If so, are > they working correctly outside it? Yes. I was using screen when I tried this. Now that I tried outside of screen, C-s and C-q work in Emacs and ^V^S or ^V^Q works in /usr/bin/vi. Is this a known bug of screen? Are there already patches floating around to fix it?