bugGNU nano - Bugs: bug #65501, unable to set a light background...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #65501: unable to set a light background color on a Linux console

Submitter:  Alan Cristhian Ruiz <alancristhian>
Submitted:  Thu 21 Mar 2024 07:08:06 PM UTC
   
 
Severity:  2 - Minor Status:  Confirmed
Assigned to:  bens Open/Closed:  Open

Fri 22 Mar 2024 10:30:56 AM UTC, comment #2: 

Addressed in git, commit c2b4c2ae, by adding a note to the manuals.

Benno Schulenberg <bens>
Group administrator
Fri 22 Mar 2024 10:12:21 AM UTC, comment #1: 

Thanks for reporting.

Apparently a Linux console is not able to produce a light background color.  Light background colors work fine on terminal emulators like xterm and Xfce Terminal.

I will add a note about this to the manual.

Benno Schulenberg <bens>
Group administrator
Thu 21 Mar 2024 07:08:06 PM UTC, original submission:  

How to reproduce:

  1. Open a TTY terminal and login (Ctrl+Alt+F3).
  2. Execute the following:



echo "set titlecolor lightgreen,lightgreen" > title
nano -f title


You should see nothing in the title bar, because both foreground and background colors are the same. But instead you see that the foreground is lighgreen, as expected, but the background is just green.

The same happen to the minibar with all light colors.

To reproduce the minibar behavior do:


echo -e "set minibar\nset minicolor lightgreen,lightgreen" > mini
nano -f mini


I test it with linux, xterm-256color and tmux-256color. And behaves the same.

  • Nano Version: 7.2.
  • OS: Debian 12 Bookworm x64.


Alan Cristhian Ruiz <alancristhian>

 

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

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 bens (Posted a comment)
  • -email is unavailable- added by alancristhian (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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-03-22 bens StatusNone Confirmed
    2024-03-22 bens Assigned toNone bens
        SummaryUnable to set light background colors to titlebar and minibar on TTY unable to set a light background color on a Linux console
    2024-03-22 bens Severity3 - Normal 2 - Minor

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code