How do you change the default TERM value set at console login (Ubuntu)?

Posted by Casey on Super User See other posts from Super User or by Casey
Published on 2010-03-28T01:30:47Z Indexed on 2010/03/28 1:43 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

The $TERM shell value in Ubuntu defaults to "xterm" for a console login. How can I change it so it defaults to "xterm-color"? I'm asking because it looks like this is the easiest way to turn-on the color prompt.

© Super User or respective owner

Related posts about xterm

  • XTerm and a bold text

    as seen on Super User - Search for 'Super User'
    This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false XTerm*pointerColor: white XTerm*pointerShape: left_ptr XTerm*charClass: 37:48,45-47:48,58:48,64:48,126:48 XTerm*cursorColor:… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • tput: unknown terminal

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM xterm # tput -T ansi unknown terminal "ansi" In fact, ... # ls /usr/lib/terminfo/x x1700 xl83 … >>> More

  • xterm window gets stuck after some time

    as seen on Super User - Search for 'Super User'
    I am using xterm on RHEL with KDE. Usually after a couple of days, the xterm terminals get stuck i.e. I am not able to resize or relocate them. After this, even if I open a new terminal, it is stuck the same way. What I do is logout and login again. Is this a bug with xterm? Is there a known solution… >>> More

Related posts about shell