Re: terminal-colors.d changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-05-13 14:38, Karel Zak wrote:
>   * "scheme" files to customize colors are supported now, for example
> 
>        echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme
> 
>     sets red background color for alert messages.
>     
>     The scheme files supports color names (e.g. "red"), ANSI color
>     sequences (e.g. 37;41) and escape sequences (e.g. \a for bell).

Does it support multiple escape sequences?

The 16/256/RGB-color sequence is a bit _odd_ in that it consists of
three parameters (e.g. \e[38;5;72m for color72) and generally cannot be
mixed with other sequences. (Some terminals allow this, others forbid,
particularly mosh [1].)

I guess right now 'alert 38;5;16m\e[48;5;202' would work, but it just
doesn't feel right.

[1]: https://github.com/keithw/mosh/issues/110

-- 
Mantas Mikulėnas <grawity@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux