Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

msb65

macrumors member
Original poster
Sep 17, 2008
61
0
Hi,

I would like to change the default appearance of my xterm windows. How can I do that? Specifically I would like to be able to add a scroll bar similar to the one that is in Terminal.

Thanks!
 
I don't spend much time at all in X on my mac, but I can paste my .Xdefaults from my Windows/Cygwin setup... you might find some of it handy.
Code:
xterm*foreground:       white
xterm*background:       black
xterm*saveLines:        10000
xterm*scrollBar:        true
xterm*geometry:         80x50
XTerm.vt100.translations: #override\n\
Alt<Btn4Down>,<Btn4Up>: string("0x9b") string("[64~") string("0x9b") string("[64~") string("0x9b") string("[64~") string("0x9b") string("[64~") \n\
Alt<Btn5Down>,<Btn5Up>: string("0x9b") string("[65~") string("0x9b") string("[65~") string("0x9b") string("[65~") string("0x9b") string("[65~") \n\
Shift<Btn4Down>,<Btn4Up>: scroll-back(1,halfpage)\n\
Shift<Btn5Down>,<Btn5Up>: scroll-forw(1,halfpage)\n\
Ctrl<Btn4Down>,<Btn4Up>: scroll-back(1,page)\n\
Ctrl<Btn5Down>,<Btn5Up>: scroll-forw(1,page)\n\
<Btn4Down>,<Btn4Up>: scroll-back(1,line)\n\
<Btn5Down>,<Btn5Up>: scroll-forw(1,line)\n\

The Alt+BtnXDown/Up stuff was an attempt to get wheel-scrolling going in vim, so i wouldn't be too concerned about that.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.