Date: Thu, 08 Nov 2007 20:17:47 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: cvs-src@yandex.ru Cc: freebsd-current@freebsd.org Subject: Re: bug in telnet client? Message-ID: <47336EEB.3020505@infracaninophile.co.uk> In-Reply-To: <47338245.6040108@yandex.ru> References: <47338245.6040108@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 = <undef>; eol2 = <undef>; 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47336EEB.3020505>