• Re: Character set problems on linux

    From Benny Pedersen@2:237/53 to Alan Ianson on Mon Jun 12 20:05:28 2006
    Hello Alan!

    23 Dec 05 19:14, Alan Ianson wrote to John F.:

    something, really strange. I can read the message with golded and everything is fine. Once I run out of english consoles I have to
    reboot!

    type reset in the console before reboot :-)

    reset

    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.1.2 (Linux/2.4.20-43_41.rh8.0.at (i686))
    * Origin: There is no place like 127.0.0.1 if its not for (2:237/53)
  • From Benny Pedersen@2:237/53 to Alan Ianson on Mon Jun 12 20:07:40 2006
    Hello Alan!

    31 Dec 05 13:30, Alan Ianson wrote to John F.:

    Dang, I should have thought of this before. Try entering this at the console or adding it to .bash_profile. I'm not sure why/how it works,
    it just does.. :)

    echo -en "\033(U"

    does it enable ANSI ?

    what is the code for disable then ? :-)

    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.1.2 (Linux/2.4.20-43_41.rh8.0.at (i686))
    * Origin: There is no place like 127.0.0.1 if its not for (2:237/53)
  • From Alan Ianson@1:153/757 to Benny Pedersen on Mon Jun 12 12:22:19 2006
    Benny Pedersen wrote to Alan Ianson:

    something, really strange. I can read the message with golded and everything is fine. Once I run out of english consoles I have to reboot!

    type reset in the console before reboot :-)

    Yeah, that's what I do now.. :) I still see messages that do that at
    times. I see an x in the msg body where it changes everything. It
    must be a ctrl x or ??? something.

    Ttyl :-),
    Al

    ... Thesaurus: ancient reptile with an excellent vocabulary

    --- MBSE BBS v0.83.21 (GNU/Linux-i386)
    * Origin: The Rusty MailBox - Penticton, B.C. Canada - trmb.ca (1:153/757)
  • From Alan Ianson@1:153/757 to Benny Pedersen on Mon Jun 12 12:31:45 2006
    Benny Pedersen wrote to Alan Ianson:

    Dang, I should have thought of this before. Try entering this at the console or adding it to .bash_profile. I'm not sure why/how it works, it just does.. :)

    echo -en "\033(U"

    does it enable ANSI ?

    I am not sure what kind of command that is. It must be something that
    bash understands. That command and the console font are important for displaying BBS ansi and high ascii graphic characters as expected.

    what is the code for disable then ? :-)

    I have forgotten what command is used to reverse that. Looking in my
    .bashrc it looks like "\033[0" is the default on this box. Running
    reset at the console will get you back to the default also.

    I should really investigate why/how that works one day.. :)

    Ttyl :-),
    Al

    ... Ummm, Trouble with grammar have I, Yes! -Yoda-

    --- MBSE BBS v0.83.21 (GNU/Linux-i386)
    * Origin: The Rusty MailBox - Penticton, B.C. Canada - trmb.ca (1:153/757)
  • From Scott Little@3:712/848 to Benny Pedersen on Tue Jun 13 14:55:16 2006
    [ 12 Jun 06 19:07, Benny Pedersen wrote to Alan Ianson ]


    echo -en "\033(U"
    does it enable ANSI ?

    It disables character mapping. You need it because the Linux console defaults to Latin-1 while BBS ANSIs are usually in CP437.

    man console_codes for info.

    what is the code for disable then ? :-)

    Some two-bit outfit called the "ISO" decided to set another standard ;)


    -- Scott Little [fidonet#3:712/848 / sysgod@sysgod.org]

    --- GoldED+/W32-MINGW 1.1.5-b20060326
    * Origin: Cyberia: 100% Grade "A" mansteak baby. (3:712/848)