Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 1997 19:43:21 +1000 (EST)
From:      Stephen McKay <syssgm@devetir.qld.gov.au>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: bin/2762: Precedence mistake in libncurses
Message-ID:  <199702210943.TAA27896@ogre.devetir.qld.gov.au>

next in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" <jkh@time.cdrom.com> wrote:

>>  sysinstall apparently used to depend on these bugs:
>>  
>>  RCS file: /a/ncvs/src/lib/libncurses/lib_addch.c,v
>>  Working file: lib_addch.c
>>  head: 1.6
>>  ...
>>  ----------------------------
>>  revision 1.6
>>  date: 1996/09/26 01:08:27;  author: pst;  state: Exp;  lines: +1 -1
>>  Back out my recent compilation clean-up changes, sysinstall is now weird.
>
>I kinda doubt it.  It's more probably libdialog which is the ncurses abuser.
>I make little direct use of ncurses in sysinstall, and what little I do is
>pretty straight-forward.  I don't think I'm breaking any rules.

Yeah, the problem is internal to libncurses.  I investigated this stuff a
while ago, but it came to nothing when I decided the best course of action
was to import the latest version.  The incorrect bracketing caused errors
that work in our favour. :-)  When you correct them, then the broken code
which sets the background gets activated.  I forget where exactly, but it
is to do with a 0x20 (ie "space") being or'd into the background, giving
lowercase characters.  Fixing that bit meant understanding all the really
braindamaged semantics that curses has inherited under the System 5 banner.

So, when do we import the latest version, and how is that done exactly?

Stephen.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702210943.TAA27896>