On 14-Oct-2000 Jared Giles wrote: <em>> Hey all, I'm having a problem with my bash prompt. <em>> <em>> Whenever I ssh to my box (using linux emulation with the console font) my <em>> prompt looks fine. <em>> <em>> However, when i login at the console, some of the characters are all messed <em>> up. If I load BitchX, then when I exit, my console font looks fine. <em>> <em>> BitchX must change some terminal setting or something, does anyone know <em>> what BitchX loads that corrects my promt? I'm sensing ANSI (-art) characters here. You mean things like ANSI character borders and such? I've encountered this before and there's a trick to it. (i.e. console displayed ANSI characters oddly, which made minicom look weird...but loading and quitting BitchX fixed things) Do this: (I have this in my rc.S, and as a bash alias) echo -e "\033(K" This control code "turns on" whatever it is that makes ANSI characters display properly. There are actually lots of these special Linux console control sequences. I've got a mini-HOWTO for 'em, that I found somewhere, stashed away. Apparently the Linux console has "modes", one more ANSI-like, one more VT100-like, and you can switch 'em. There may also be an issue with console font. I use an 80x43 screen set using "setfont default8x9" in rc.S. (at various times, I've also had SVGATextMode setup, and that's nice too) Of course, in X, find a copy of the "vga" and "vga11x19" fonts to display proper ANSI characters in rxvt/xterms.
-- Mark Orr [EMAIL PROTECTED] <p>================================================ BRLUG - The Baton Rouge Linux User Group Visit http://www.brlug.net for more information. Send email to [EMAIL PROTECTED] to change your subscription information. ================================================ <!-- body="end" --> <hr noshade> <ul> <li><strong>Next message:</strong> Terry Stockdale: "[brluglist] test. Please ignore." <li><strong>Previous message:</strong> Jared Giles: "[brluglist] Messed up console" <li><strong>In reply to:</strong> Jared Giles: "[brluglist] Messed up console" <li><strong>Messages sorted by:</strong> [ date ] [ thread ] [ subject ] [ author ] [ attachment ] </ul> <hr noshade> <small> <em> This archive was generated by hypermail 2.1.2 : <em>Thu Sep 06 2001 - 11:10:49 CDT</em> </em> </small> </body> </html>
