FS#5117 - TERM=xterm-color is set in filesystem-0.7.2-2 package

Attached to Project: Arch Linux
Opened by Damjan Georgievski (damjan) - Wednesday, 26 July 2006, 22:23 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 02 August 2006, 13:23 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I was wondering why the F1-F5 keys were not working as documented in neither Konsole nor in Xterm. I then checked in the linux console and surelly those keys worked fine there.

After further inspection, I've noticed that my ~/.bashrc (that came from /etc/skel/.bashrc) contained the line:

test -n "$DISPLAY" && export TERM=xterm-color

Now this is clearly a mistake!! /etc/skel/.bashrc should be corrected.

I think the basic problem (IIRC Slackware had a similar problem once too) is that the "xterm-color" terminfo is actually unmaintained, and not updated at all. xterm is much more up-to-date.

But also, you should not set the TERM variable blindly, the terminal program itself (be it Konsole, Xterm, rxvt, gnome terminal, etc...) will set it to the correct value before starting the shell.

And surelly, after commenting that line in my ~/.bashrc everything works fine, F1-F5 in alsamixer, colors in vim and ls are also fine, and I've not encountered any other problems since then.

The filesystem-0.7.2-2 package should be corrected, please.
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 04 August 2006, 05:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  Removed for next release.

Loading...