You are not logged in.
If I log in at a virtual console, the home key moves the cursor to the start of the line, as root, or as a user. If I'm in WindowMaker, and I open an Eterm, home key moves the cursor to the start of the line, just like in the VC, however, if I SU to root, the home key gives me a ~ at the current cursor position.
Where should I be looking to fix this, besides 45 minutes with Google?
Thank you for any help, ideas, etc...
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline
Found the problem:
Some package install added this to my .bashrc
test -n "$DISPLAY" && export TERM=xterm-color
Bug? Probably not, but annoying that the assumption is made that I am running xterm.
The fix was easy, delete the line, as I've been using a custom .bashrc that, among other things, handles TERM exporting properly.
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline
For further and future reference:
http://wiki.archlinux.org/index.php/Why … rminals%3F
Dusty
Offline
Jolly good Dusty, and thank you. I'll be using that info to improve my configs and .bashrc.
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline