Console escape code

2008-02-12 Thread Olivier Nicole
Hi,

I am upgrading an application that was runinng on 4.11, and I try to
port it to 6.3.

The application is using a couple of escape control sequences to
modify the cursor on the console.

On 4.11 it was OK, but on 6.3 the cursor changed from block type to
overscore (? same as underscore but abov ethe character).  This is not
a big issue, but I am failling to remember where I get these escape
control sequences in the first time.

printf(  ESC[7mESC[1m string1 ESC[0m);

This one is OK, reverse and bold

printf(ESC[=2CESC[=18;20C string2);

It prints OK, but the cursor is overscore instead of block

readline(ESC[=2;0C string 3);

It prints OK.

Thanks in advance,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Console escape code

2008-02-12 Thread Olivier Nicole
 On 4.11 it was OK, but on 6.3 the cursor changed from block type to
 overscore (? same as underscore but abov ethe character).  This is not

I just doubled check, it used to be underscore on 4.11, not block.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]