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

Re: ESC[4m does not produce underline



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


Reply to: