On Wed, 26 Nov 2003 21:12:30 -0800 "Tom Klem" <thewiz@xxxxxxxxxxxxxxxx> wrote: > TERM=cygwin on both. > > I appreciate your answer. Speaking of terminals, is there a command to set the rows and columns from the system console. I would like to be able to see 43 lines on my Ctrl-Alt-(1-6) text consoles at the computer. > > Maybe the colors are related to something in that particular command set. Any ideas where I could look or how to do an 80 x 43 text console at the computer. > > Thank you, > Tom Klem > > > *********** REPLY SEPARATOR *********** > > On 11/27/2003 at 10:24 AM Cameron Simpson wrote: > > >On 11:07 26 Nov 2003, Tom Klem <thewiz@xxxxxxxxxxxxxxxx> wrote: > >| I was wondering why in RH7.3 when I log in using ssh, I can see colors > >which represent the different file types, but ssh into RH9.0 I only get > >black and white. > >| Is there a command to enable the colors in RH9 or a bash variable? > > > >I would guess that your $TERM envvar is different. Colours require > >escape sequences, and if the shell doesn't believe you're on a terminal > >that understands them it doesn't set them up. > > > >Compare $TERM on the rh73 and rh9 boxes. > >-- > >Cameron Simpson <cs@xxxxxxxxxx> DoD#743 > >http://www.cskk.ezoshosting.com/cs/ > > Tom, /bin/stty rows N cols N (where N is a number) can set the rows and columns of the current console. 'man stty' for more info. /bin/stty size will give you your current terminal settings. /usr/bin/tput longname will give you the 'name' of the terminal being used, as defined in the /usr/share/terminfo/*/* database. Also see: /etc/termcap. The file: /etc/termcap can be edited. Find the entry for your $TERM. As always, make a backup of the current /etc/termcap, and a 'man termcap' and 'man terminfo' would be useful. Best, Tom -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list