bugvile, a vi-compatible text editor - Bugs: bug #34521, Color of screen changes to white...

 
 

bug #34521: Color of screen changes to white on black when configured with ncurses

Submitter:  Ian Watson <ianwatson>
Submitted:  Mon 10 Oct 2011 06:52:37 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Oct 2011 11:36:27 PM UTC, comment #1: 

White-on-black is a feature of curses.  (There's a comment
in one of the X/Open documents that the background is assumed
to be black, and I filled in the rest, in ncurses).

But there are two more details: (a) ncurses allows you to specify
a "default" color, which tells it to use the terminal's
default foreground and/or background color, (b) vile supports
color-scheme, which is a feature that I've configured via the
macros in vile to offer some useful (but obscurely named...)
schemes: light, dark, white, black, and default (also reverse).
Mostly I use black (black text on light background) or
white (white text on dark background).

There's no reliable way to find what the terminal's background
color is, but I either put the setting in my .vilerc, or (I
ensured it was short), just do
   :set cs=black
for instance.

Thomas Dickey <dickey>
Group administrator
Mon 10 Oct 2011 06:52:37 PM UTC, original submission:  

On a RedHat 5.5 system

Linux freebie 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 GNU/Linux

freebie 1297 $ cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.6 (Tikanga)

if I configure with only

./configure --with-builtin-filters

everything works fine. I am working from a blue on white screen, and when I invoke vile, the screen stays the same, blue characters on a white background.

But if I configure with ncurses, recently downloaded version or the version installed on the system, when I invoke vile, I get the editing session with white characters on a black background. Never seen this before. It is not desirable.

Any ideas?

Thanks for all the development efforts with vile, I use it all the time.

Ian

Ian Watson <ianwatson>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)
  • -email is unavailable- added by ianwatson (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-11 dickey StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code