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

Re: ESC[4m does not produce underline



On 03/04/2013 11:59 AM, Chris Davies wrote:
Thomas D. Dean <tomdean@speakeasy.org> wrote:
The ANSI standard lists ESC[4m as the code to produce an underline
export TERM=ansi80x25
printf "\033[4masdfasdfasdf"
produces green text, not underline text as stated in the standard.
Please can you try this (before you do an "export TERM"):

     tput smul; echo perhaps this is underlined; tput rmul

This uses the "proper" characteristics for the terminal you've declared
(which may - or may not - be ESC [ 4m).

Chris


I've been looking at this thread for a while, and decided to try
the tput stuff, and it works on the Konsole-terminal in pclos.
Just in case anyone cares.

--doug


Reply to: