[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] when is $term-cols initialized?
From: |
Thomas Dickey |
Subject: |
Re: [vile] when is $term-cols initialized? |
Date: |
Fri, 16 Mar 2012 18:21:27 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, Mar 16, 2012 at 12:01:47PM -0400, address@hidden wrote:
> I'm using this code in my .vilerc:
>
> ~if &geq $term-cols 80
> set number
> ~endif
>
> This does not work when vile first starts up but if I execute it via a
> procedure after startup it works fine.
that's odd. Reading the code (in main.c) I see that it's opening the
terminal (which sets that variable) before running the .vilerc, so
it should be set in your script. I tested my assumption with both
the terminfo and X versions (win32 isn't convenient at the moment),
and both numbered the file.
What am I overlooking?
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature