bug-ncurses
[Top][All Lists]
Advanced

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

Re: Changing the default tab size


From: Thomas Dickey
Subject: Re: Changing the default tab size
Date: Sat, 19 May 2001 19:45:25 -0400
User-agent: Mutt/1.2.5i

On Sun, May 13, 2001 at 10:37:11PM -0400, David Landrith wrote:
> I tried this, and when I do addch(9), I still get 8 characters.  (I'm using
> ncurses 5.2 on LinuxPPC 2000Q3 using the version of the 2.4.2 kernel patched
> for nubus.)
> 
> on 5/13/01 4:08 PM, Thomas Dickey at address@hidden wrote:
> 
> > On Sun, May 13, 2001 at 03:36:28PM -0400, David Landrith wrote:
> >> 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?
> > 
> > extern int TABSIZE;
> > 
> > TABSIZE = 4;
> > 
> > (for ncurses, anyway)

As I read the code, you have to set this after terminal initialization
rather than before.  (I'm assuming you didn't - no test program given).

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

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