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

Re: ESC[4m does not produce underline



On 2013-03-01 20:35 +0100, Thomas D. Dean 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.

It produces underline text here in an xterm.

> If I put the same in c code, it works
>
> #include <stdio.h>
> int main() {
> fputs("\033[4masdfasdf",stdout);
> return 0;
> }
>
> I get underlined text.

On what terminal emulator, and with what shell?

Cheers,
       Sven


Reply to: