changing tab stops
roberthuff at rcn.com
Mon Jun 1 00:11:05 UTC 2009
Thomas Dickey writes:
> > I have a C program that writes to a terminal (currently xterm,
> > but could be anything). For reasons I won't go into, I would like
> > to read and change the terminal's tab stops ... from within the
> > program ... in a generic/portable way.
> You could make a program which does what "resize" does to find the
> screensize: it moves the cursor and asks where it is. (I'm not
> aware of an existing program which asks based on tab stops).
Ugh. If that's the alternative, I can probably live without.
Thanks for the suggestion.
More information about the freebsd-questions