taskWeeChat - Tasks: task #6834, Add 256 color support

 
 

task #6834: Add 256 color support

Submitter:  Chris Jones <cjns3274>
Submitted:  Sun 29 Apr 2007 08:27:05 PM UTC
Votes: 200
 
Category:  config file Should Start On:  Sun 29 Apr 2007 12:00:00 AM UTC
Should be Finished on:  Sun 29 Apr 2007 12:00:00 AM UTC Priority:  * 1 - Later
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  0.3.4 IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 25 May 2010 08:34:43 AM UTC, comment #4: 

Did you know that gettext's msgcat program supports output
of a structured text (currently only .po files, but the
architecture is in place for more), in a way that supports
256-color xterm (and other xterms as well) and can be specified
by the user through a style file in CSS syntax? Like this:
.comment            { color : rgb(175,0,0); }
.reference          { color : rgb(95,175,175); }
.flag               { color : rgb(0,0,0); }
.keyword            { color : rgb(175,0,255); }
.string             { color : rgb(175,0,255); }

Bruno Haible <haible>
Sat 02 Aug 2008 05:56:03 PM UTC, comment #3: 

I second this feature request. I'd really like to see one be able to use colors defined for your terminal (like in .Xdefaults) as colors for weechat. Even just using hex colors would be a step up.

Will Smith <factory>
Thu 10 May 2007 11:29:05 PM UTC, comment #2: 

I uploaded "before and after" screenshots .. weechat with the default colors .. and weechat with a doctored palette that uses 16 colors that I picked somewhat randomly out of the available 256 on my xterm .. so you can see with your own eyes that the difference is dramatic.  I'm not claiming my "theme" is anywhere near beautiful or anything .. I did not go to art school and only spent about twenty minutes doing this.  But having access to more colors makes a heck of a difference .. both for Joe User like myself and for the image of weechat as a modern text-mode application.  Just take a look at the "default colors" screenshot .. I know folks who would be embarrassed should their friends find out that's what they are using.

Let me know.

Thanks,
Chris.

PS. I need to add that this is not entirely my "idea" .. I first saw a screenshot on a web page by "phrakture" something .. I think the name was .. who basically used the same trick to change the pathetic default terminal color palette to something a little more in keeping with 21st century tastes .. I thought to myself .. heck .. this weechat app looks cool .. It was only after I installed weechat and had played with it a few days that I realized how good it is.

My point is .. if I had not seen this screenshot with decent colors in the first place, I would probably never have bothered installing weechat in the first place.  Sure, it's possible to tweak your xterm and come up with 16 decent colors for all occasions .. like blue #0000FF" becomes darkkhaki3 or something .. and who needs more than 16 on a terminal anyway .. but all this tweaking requires some understanding and practice with X resources and escape sequences .. So it would be really nice .. and maybe important to have access to 256 colors out-of-da-box. After all someone may step in who did go to art school and come up with some really nice color schemes for weechat at some point.

Thanks
Chris.

Chris Jones <cjns3274>
Thu 10 May 2007 10:59:58 PM UTC, comment #1: 

This is a Great request...!

How can I raise its priority to 10 or something..?

Chris Jones <cjns3274>
Sun 29 Apr 2007 08:27:05 PM UTC, original submission:  

As follows:

if terminal is 256-color capable,

   extract xterm color number (color100 -> 100
   set display for object to color number

done

This would entail:

  . change of syntax in .weechatrc where color... is recognized as                 valid

  . implementation of color theme files that are read at startup

  . implementation of a "/color" command that would let you the user switch to a different color theme on the fly

  . implementation to change a specific color on the fly

  . possibility to save the current colors to a theme file - useful when you tweak your color theme interactively and saves you the trouble of entering it manually in a color theme file.


Note: apart from the option of saving a modified color theme to a file, this is exactly the way it's implemented in mutt and (1) it works very nicely .. and (2) it's probably just as well to use something that already works well in another app in view of consistency .. ergonomics is what I have in mind.

Thanks,

Chris Jones <cjns3274>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #12748:  weeshot.png added by cjns3274 (95KiB - image/png)
file #12747:  weechat16.png added by cjns3274 (94KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by factory (Posted a comment)
  • -email is unavailable- added by jonte (Voted in favor of this item)
  • -email is unavailable- added by cjns3274 (Submitted the item)
  •  

    There are 200 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.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-16 flashcode Open/ClosedOpen Closed
    2010-12-20 flashcode StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Planned ReleaseNone 0.3.4
    2008-06-21 jonte Carbon-Copy- Added jonte
    2007-05-10 cjns3274 Attached File- Added weeshot.png, #12748
    2007-05-10 cjns3274 Carbon-Copy- Added cjns3274
    2007-05-10 cjns3274 Carbon-Copy- Added -email is unavailable-
    2007-05-10 cjns3274 Attached File- Added weechat16.png, #12747

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code