Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 1996 09:58:58 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: using ddb to debug a double-panic?
Message-ID:  <199603140858.JAA00855@uriah.heep.sax.de>
In-Reply-To: <199603140733.IAA22979@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 14, 96 08:30:16 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Greg Lehey wrote:

> > Alt-D is ``ESC D'', right?
> 
> No, it's M-D.  You can usually simulate it with ESC-D, but it's not
> the same thing.  Emacs on serial terminals used to accept a character
> with bit 7 set as M-<character>, and that's what it did (I think, I'm
> on thin ice here) with the ESC prefix.  Nowadays, with an X interface,
> it handles things differently.

Even without X11, it depends on the ``input-mode'' how it interprets
bit 7.  Interpreting it as `Meta' prevents one from using an 8-bit
characterset.

> > Huh?  The console can run on a (not known to DDB) serial terminal!
> 
> Yes, I acknowledged this elsewhere.  I still think that this would be
> the exception, though.

Nope.  Only weird people use DDB.  Only weird people use serial
consoles.

As long as the fallback to something like ^P and ^N is there, it
wouldn't hurt either to assume the serial console to be ANSI-compliant
(i.e., the arrow keys generate ESC [ A...D or ESC O A...D).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603140858.JAA00855>