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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874ngu3nb8....@turtle.gmx.de

Reply via email to