kdb v1.9 id display not quite right
slurn at verisign.com
slurn at verisign.com
Thu Oct 18 10:16:10 PDT 2001
>
> On Thu, 18 Oct 2001 13:53:41 +0530,
> "Vamsi Krishna S ." <vamsi at in.ibm.com> wrote:
> >On my terminal, the tab character is not printed correctly, instead, it
> >prints some junk character.
> >
> >Simply changing the tab in kdba_printaddress() to spaces fixes the problem,
> >even though all the instructions don't start on the same column as that
> >seems to be the intent of this change.
> >
> >Is this the only solution or is there something I can do ensure that
> >dip->fprint_func() displays tabs correctly?
>
> A tab is a tab is a tab. kdb and linux expect that tabs are handled by
> the hardware. If anything should handle devices without hardware tab
> it is the Linux console drivers, kdb just calls the write() function
> for each console.
>
make sure you use 'stty tab3' or 'stty tabs' on your serial port.
If you are using 'getty' to manage the serial line, you can tell
getty to set the line to tab3 (see /etc/gettydefs)
scott
More information about the kdb
mailing list