Author Topic: Aterm & Highlighting In Hnb - Solved  (Read 2578 times)

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Aterm & Highlighting In Hnb - Solved
« 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.
« Last Edit: December 08, 2005, 04:13:24 pm by whit »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Aterm & Highlighting In Hnb - Solved
« Reply #1 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
« Last Edit: December 09, 2005, 01:52:10 am by pgas »
SLC-860 cacko / senao wifi

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Aterm & Highlighting In Hnb - Solved
« Reply #2 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.)