kdb
[Top] [All Lists]

Re: startKDB vs. ctrl-A in kdb_serial_str

To: linas@xxxxxxxxxxxxxx
Subject: Re: startKDB vs. ctrl-A in kdb_serial_str
From: Keith Owens <kaos@xxxxxxx>
Date: Wed, 03 Mar 2004 09:47:50 +1100
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 02 Mar 2004 16:23:59 MDT." <20040302162359.A32428@xxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
On Tue, 2 Mar 2004 16:23:59 -0600, 
linas@xxxxxxxxxxxxxx wrote:
>From what I can tell, the global default kdb serial-port start string
>is ctrl-A:
>
>kdb/kdbmain.c: line 223
>const char kdb_serial_str[] = "\001";
>
>Unfortunately, I use (as surely others must) minicom to talk to the
>serial port, and ctrl-A is the minicom attention character.

For minicom, type control-A twice.  However that does not help when you
are on a real serial console and you want to go to the start of the
line in bash, that is also control-A.  The number of time that I have
tried to go to the start of the line and ended up in kdb ...

>To work
>around this, the ppc64 port traditionally used "startKDB" as the 
>serial string; but now that this is architecture generic code, 
>its a stickier issue ... 

One of the changes on my list for kdb v4.4 is to change kdb_serial_str
to <escape>KDB.  Distributions/users can patch it to whatever they want.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>