From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-194867-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C2311382C5 for <garchives@archives.gentoo.org>; Thu, 14 Jan 2021 01:25:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0585DE096D; Thu, 14 Jan 2021 01:25:49 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1138AE0961 for <gentoo-user@lists.gentoo.org>; Thu, 14 Jan 2021 01:25:48 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from <lnx-gentoo-user@m.gmane-mx.org>) id 1kzrOU-0009Lz-B4 for gentoo-user@lists.gentoo.org; Thu, 14 Jan 2021 02:25:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards <grant.b.edwards@gmail.com> Subject: [gentoo-user] Re: Console scrollback Date: Thu, 14 Jan 2021 01:25:42 -0000 (UTC) Message-ID: <rto6il$5gq$1@ciao.gmane.io> References: <2189375.ElGaqSPkdT@peak> <X/84j2kqNylahvcE@ACM> <fc016ba5-f0ae-e29b-94fc-aa1bb568ebfa@spamtrap.tnetconsulting.net> <X/9so7lnwoT7d/bk@ACM> <rtnrdt$5ek$2@ciao.gmane.io> <20210113230141.4d2fda89@digimed.co.uk> <rtnuee$13d7$1@ciao.gmane.io> <92168538-0b3e-a1f0-c1a2-7c922cb1b1e3@spamtrap.tnetconsulting.net> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77306e03-3843-47e7-bf77-379d60ca9915 X-Archives-Hash: 922a1fb7d7dfc7174266d7a9df901e65 On 2021-01-14, Grant Taylor <gtaylor@gentoo.tnetconsulting.net> wrote: > On 1/13/21 4:06 PM, Grant Edwards wrote: >> I really should try to figure out a control-character that's not used >> by emacs or the tty driver > > I think there are very few, if any, keys used by the TTY driver. I > suspect you are thinking of the line editor in the shell, > e.g. readline. $ stty -a | tr ';' '\n' | fgrep ^ intr = ^C quit = ^\ erase = ^? kill = ^U eof = ^D start = ^Q stop = ^S susp = ^Z rprnt = ^R werase = ^W lnext = ^V discard = ^O Some of the above are shadowed by readline or by bash in emacs mode, but the tty driver uses more than a few control keys. -- Grant