Tab Settings 

>$ echo -e "a\tb"
>a                                                             b
>
>the 'b' will show up at the last column of my terminal window, no matter
>how wide I set it. It has been like that for years, and affect only
>terminal, not xterm.

Two possible answers:

Ken Pizzini

Tab Settings 

thanks Ken and Eric. Problem solved!

I found out that it was tset that screwsed up the tab setting. And it cannot be fix with tset or reset.

tabs -8 can fix it.

But, if I change the TERM from dtterm to vt100 and issue a tset, the tab settings will be fine.

I still don't know what's going on, but thanks to your help, the problem is solved.

Tab Settings 

solved by 'stty -tabs'

documented on: 07-06-99 11:12:35