[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the default tab size

From: David Landrith
Subject: Changing the default tab size
Date: Sun, 13 May 2001 15:36:28 -0400
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022

Hello all,

I'm working on an application that will allow for tab intervals to be set in
configuration files.  Thus, I need to allow for a default tab size of other
than 8.

I've looked through newsgroups, the mail archive, the FAQ, and I've even
made a cursory run through the source, and it looks to me like ncurses will
not change the default tab size without recompiling.  It appears that
ncurses grabs the value of init_tabs in the terminfo database, and lacking
an init_tabs value it uses 8.  So it looks like the answer is to be found in
the terminfo libraries.

I don't know much about terminfo and its libraries, but I am hoping that
there is a way to set the default tab interval used by the console on the
fly.  Is there?



  David King Landrith                      (v) 617-359-6206

  One useless man is a disgrace, two are called a law firm,
  and three or more become a congress -- John Adams

reply via email to

[Prev in Thread] Current Thread [Next in Thread]