From owner-freebsd-current@FreeBSD.ORG Thu Nov 8 20:17:54 2007 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 5E64916A417 for ; Thu, 8 Nov 2007 20:17:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A971113C48E for ; Thu, 8 Nov 2007 20:17:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id lA8KHlSm021833; Thu, 8 Nov 2007 20:17:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <47336EEB.3020505@infracaninophile.co.uk> Date: Thu, 08 Nov 2007 20:17:47 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.6 (X11/20071031) MIME-Version: 1.0 To: cvs-src@yandex.ru References: <47338245.6040108@yandex.ru> In-Reply-To: <47338245.6040108@yandex.ru> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 08 Nov 2007 20:17:49 +0000 (GMT) X-Virus-Scanned: ClamAV 0.91.2/4712/Thu Nov 8 19:16:09 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-current@freebsd.org Subject: Re: bug in telnet client? 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: Thu, 08 Nov 2007 20:17:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 R.Mahmatkhanov wrote: > Good day! > > A friend of mine just pick this bug (whatever). > > 1. run telnet > 2. on telnet> prompt do: > - press and hold 'Ctrl' button > - then press '~' button > - then press '\' button > - unpress the 'Ctrl' button > 3. You'll see this: > > telnet> ^\Quit (core dumped) > > It plays in all tested 6.x/7.x with tcsh/zsh/xterm. Ctrl-\ sends a SIGQUIT in most terminals: happy-idiot-talk:~:% stty -a speed 38400 baud; 80 rows; 80 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; erase2 = ^@; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; ^^^^^^^^^^ status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; The default action for a process receiving SIGQUIT is to halt the program and dump core. See signal(3) Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHM27r8Mjk52CukIwRCJmWAJ44E6Q4U5ao/o6xhxjhcxC943jTUwCfXbxv OjdoZLG1B+ZONxv6yHCjvfY= =xffa -----END PGP SIGNATURE-----