Ticket #3845 (new defect)

Opened 7 years ago

Last modified 7 years ago

replace brightblue in syntax files

Reported by: Nicolas Rybkin Owned by:
Priority: minor Milestone: Future Releases
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

I can't see text printed in bright blue in tty (Slackware Linux, using default skin), I suggest to replace it in syntax files with bright cyan, it can be done with such script ran in syntax folder (skips filehighlight.syntax and syntax.syntax):

#! /bin/tcsh
set a = `basename $0`
foreach b (*)
    if ($b != $a && $b != "filehighlight.syntax" && $b != "syntax.syntax") then
        sed -i s/brightblue/brightcyan/ $b
    endif
end

Change History

comment:1 follow-up: ↓ 2 Changed 7 years ago by andrew_b

  • Description modified (diff)

comment:2 in reply to: ↑ 1 Changed 7 years ago by Nicolas Rybkin

OK, tput colors returns 8, while there are 16 colors allowed for syntax files, so it's not reasonable to change syntax files. Though it would be nice to add colors translation for 8 colors terminals.

comment:3 Changed 7 years ago by egmont

Are we talking about the text console (tty1 .. tty6)? Is it framebuffer or absolutely standard legacy vga mode?

tput colors returns 8 there, but most likely it means 8 background and 16 foreground colors, since the ambiguous "bold/bright" attribute probably means "bright" (for the foreground only) here.

Note: See TracTickets for help on using tickets.