startKDB vs. ctrl-A in kdb_serial_str

Keith Owens kaos at sgi.com
Tue Mar 2 14:47:50 PST 2004


On Tue, 2 Mar 2004 16:23:59 -0600, 
linas at austin.ibm.com 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.


More information about the kdb mailing list