Xterm : Annoyance with a solution
Steve <beforewisdom-/[email protected]>
| Newsgroups | gmane.linux.usability.annoyances |
|---|---|
| Organization | MYOB |
| Message-ID | <[email protected]> |
Hi; Some snotty linux person on usenet ( <sarcasm> there are such people? </sarcasm> ) told me this tidbit could be found in the man files, but most of the mere mortals who will buy this book are like me and don't have time to do 6 months of research to decode the long, cryptic xterm/xwindows man files. Anyway.................... The below code snippet will give people xterms with scrollbars, scrollbars on the right side of the frame, and scroll bars that will scroll with any mouse button. This took me more then a week of scrounging around to put together. If I can help someone else avoid that I will be happy Cheers Steve ! Cool Xterm defaults ! place this in /etc/X11/app-defaults/XTerm xterm*background: Black xterm*foreground: White xterm.eightBitInput: true ! xterm*font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 xterm*SaveLines: 2000 ! xterm*VisualBell: true xterm*appcursorDefault: true *XTerm*saveLines: 1000 ! Set up scrollbars - get them, get them on the right side, and be ! able to scroll them with the right,left, or middle mouse button xterm*ScrollBar: on *XTerm*scrollBar: true xterm*rightScrollBar: true xterm*multiScroll: on xterm*jumpScroll: on xterm*scrollbar.Translations: #override \n\ <Btn1Down>:StartScroll(Continous) MoveThumb() NotifyThumb()\n\ <Btn1Motion>:MoveThumb() NotifyThumb() \n\ <Btn2Down>:StartScroll(Continous) MoveThumb() NotifyThumb()\n\ <Btn2Motion>:MoveThumb() NotifyThumb() \n\ <Btn3Down>:StartScroll(Continous) MoveThumb() NotifyThumb()\n\ <Btn3Motion>:MoveThumb() NotifyThumb() \n\ <BtnUp>:NotifyScroll(Proportional) EndScroll()