Re: ESC[4m does not produce underline

2013-03-04 Thread Erwan David
Le 01/03/2013 20:35, Thomas D. Dean a écrit : 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. If I put the same in c code, it works #include int main()

Re: ESC[4m does not produce underline

2013-03-04 Thread Richard Hector
On 05/03/13 12:02, Chris Davies wrote: > Ah. So your X Windows based emulator understands ESC [4m but your console > window (without X Windows) doesn't. It appears that my console > (TERM=linux) represents underline with cyan text. Yep, likewise. I think it's because it has to be compatible with

Re: ESC[4m does not produce underline

2013-03-04 Thread Chris Davies
Thomas D. Dean wrote: > I tried so many things, the terminal is tired! > tput... does the same as ESC[4m... OK. The tput looked up your declared terminal type ($TERM) in the terminfo database and returned you the appropriate code assigned to "start underline". So if it doesn't work then either

Re: ESC[4m does not produce underline

2013-03-04 Thread Thomas D. Dean
On 03/04/13 10:12, Doug wrote: On 03/04/2013 11:59 AM, Chris Davies wrote: 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. Please ca

Re: ESC[4m does not produce underline

2013-03-04 Thread Doug
On 03/04/2013 11:59 AM, Chris Davies wrote: 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. Please can you try this (before you do an

Re: ESC[4m does not produce underline

2013-03-04 Thread Chris Davies
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. Please can you try this (before you do an "export TERM"): tput smul; echo

Re: ESC[4m does not produce underline OOPS

2013-03-02 Thread Chris Bannister
On Fri, Mar 01, 2013 at 11:46:42AM -0800, Thomas D. Dean wrote: > On 03/01/13 11:35, 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 state

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Richard Hector
On 02/03/13 13:34, Hugo Vanwoerkom wrote: > Richard Hector wrote: >> On 02/03/13 08:46, Thomas D. Dean wrote: >>> On 03/01/13 11:35, Thomas D. Dean wrote: The ANSI standard lists ESC[4m as the code to produce an underline > export TERM=ansi80x25 > printf "\033[4masdfasdfasdf"

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Thomas D. Dean
On 03/01/13 16:56, Glenn English wrote: The linux console is a HDMI display attached to a RaspberryPi. I changed to ncurses5. Looks like the display does not support underline. Thanks, Tom Dean -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe"

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Glenn English
On Mar 1, 2013, at 5:34 PM, Hugo Vanwoerkom wrote: > 404 File not found. Google 'console_codes(4) - Linux manual page'. -- Glenn English -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Hugo Vanwoerkom
Richard Hector wrote: On 02/03/13 08:46, Thomas D. Dean wrote: On 03/01/13 11:35, 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

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Richard Hector
On 02/03/13 08:46, Thomas D. Dean wrote: > On 03/01/13 11:35, 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. >> >>

Re: ESC[4m does not produce underline

2013-03-01 Thread Slavko
Hi, Dňa 01.03.2013 20:57:47 Sven Joachim napísal(a): >>> 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. On lilyterm (not debian part) too -- Slavko http://slavino

Re: ESC[4m does not produce underline

2013-03-01 Thread Sven Joachim
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. > I

Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Thomas D. Dean
On 03/01/13 11:35, 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. If I put the same in c code, it works #include int main() {

ESC[4m does not produce underline

2013-03-01 Thread Thomas D. Dean
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. If I put the same in c code, it works #include int main() { fputs("\033[4masdfasdf",stdout); return 0; }