OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: whit on December 08, 2005, 03:58:05 pm

Title: Aterm & Highlighting In Hnb - Solved
Post by: whit on December 08, 2005, 03:58:05 pm
My main use for my 860 (with the now-damaged screen) has been outlining with hnb. I've been doing that in an aterm. I have an .hnbrc set up show the currently selected node in yellow type on a blue background. But on the 3100 now that's not working. Other stuff set from the .hnbrc file is fine. The current feed has hnb 1.9.17 rather than the 1.9.18 that I'd been using, so I copied the 1.9.18 binary to the 3100, where it runs fine, but still no screen highlighting. This makes it almost impossible to work in hnb. Same results in xterm -- and xterm works fine with the color choices of hnb on the 860 too.

Ah, on the 860 TERM=linux, while on the 3100 TERM=xterm. Resetting that fixes it. Are there any advantages to having TERM=xterm? I've never liked xterm, for reasons like this (use rxvt on my "real" systems).

So my real question is, where is X getting xterm from? /etc/profile has "export TERM=linux" - and when not in X the term is linux. And it's not in ~/.xinitrc.
Title: Aterm & Highlighting In Hnb - Solved
Post by: pgas on December 09, 2005, 01:51:06 am
Quote
So my real question is, where is X getting xterm from? /etc/profile has "export TERM=linux" - and when not in X the term is linux. And it's not in ~/.xinitrc.

I'm not sure, maybe aterm is setting the value.
you can add "-tn linux" to the list of options used to start aterm (for instance in /usr/share/applications/aterm.desktop)  if you want aterm to be started with TERM=linux
Title: Aterm & Highlighting In Hnb - Solved
Post by: whit on December 09, 2005, 09:44:49 am
Quote
[I'm not sure, maybe aterm is setting the value.
you can add "-tn linux" to the list of options used to start aterm (for instance in /usr/share/applications/aterm.desktop)  if you want aterm to be started with TERM=linux
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106540\"][{POST_SNAPBACK}][/a][/div]

Didn't know aterm had that switch. Thanks. (The setting's what X is defaulting to from somewhere - just haven't found the right file yet.)