well
> Want a scrollbar? Set it in an X resource.
> Want it on the right instead of the left? Same solution. Want the
> scrollbar
> and menus to look 3D? Put a symlink to libXaw3d.so named libXaw.so
> earlier
> in your library search path, and it will be. Want an absolute minimum
> of
> decoration? No problem. Want to bind keys or buttons to do things
> (like the
> scrollwheel operating on the scrollbar)? Easily done. Want to change
> fonts?
> On the fly? You can do it from a popup menu (granted, it doesn't have a
> font chooser... because there are other programs to do that job, like
> xfontsel).
yup. but as an experienced user you probably should tell HOW to do
that. i think it's even more frustrating knowing that xterm would have
a scrollbar but not being able to get it than blaming xterm for not
having one, no?
first of all:
man xterm
it's all there. and for those of you that don't like the man pages
there's even a html version. so just
open /usr/X11R6/lib/X11/doc/html/xterm.1.html
and there you go.
to make xterm behave more like Terminal.app create a file called
.Xdefaults in your home directory or add the following if it already
exists.
####START
## TERMINAL KEY SETTINGS
## Adjust to OSX Terminal.app behaviour
*VT100.translations: #override\
<Key>Prior: scroll-back(1,pages) \n\
<Key>Next: scroll-forw(1,pages)\n\
Meta <KeyPress> K: clear-saved-lines() \n\
Meta <KeyUp> K: send-signal(int) \n\
Meta <KeyPress> P: print() \n\
Meta <KeyPress> minus: smaller-vt-font() \n\
Meta <KeyPress> KP_Subtract: smaller-vt-font() \n\
Meta <KeyPress> plus: larger-vt-font() \n\
Meta <KeyPress> KP_Add: larger-vt-font() \n\
Meta <KeyPress> C: select-cursor-start() \
select-cursor-end(PRIMARY,
CUT_BUFFER0) \n\
Meta <KeyPress> V: insert-selection(PRIMARY, CUT_BUFFER0)
\n\
Meta <KeyPress> M: iconify() \n\
###END
i know that still does'n add a scrollbar. so finally you can make it
look a little like Terminal.app as well by adding that
####START
*XTerm*deleteIsDEL: true
xterm*saveLines: 10000
xterm*scrollBar: true
xterm*rightScrollBar: false
xterm*jumpScroll: true
# these were for the scrrollbar
xterm*cursorColor: grey30
xterm*colorBD: darkblue
xterm*colorBDMode: true
xterm*highlightColor: grey70
# colors. not always the best solution though...
xterm*awaitInput: true
# when using xaw3d but there are some other problems with that, see
below.
####END
now fink's xaw3d is compiled without the arrow scrollbar so you have to
edit and recompile it youself. it's easy though and i have mailed the
maintainer and ask him if he wants to include this feature in the next
revision of xaw3d. still you have to relink the lib so xterm uses
libXaw3d.* rather than libXaw.*. if you'd like to hane a more
N*XTSTEP-ish look i'm going to put a modification of xaw3d calle nextaw
on the submission tracker which might make it into fink.
still, with the above you can copy-paste in the usual mac command-c,
command-v way, scrolling up and down works, clear scrollback as well
(someone a better solution there?) etc. hope that helps
mathias
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users