View previous topic :: View next topic |
Author |
Message |
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Mon Jan 20, 2003 8:37 pm Post subject: make xterm use home and end |
|
|
How do i make xterm respond to home and end.
Also, is there a way to modify the font size without using truetryp fonts? -fs appars not to work w/ the default font.
btw, the newest version of xterm is great. It finally supports scrolling and goes back a lot farther than aterm. |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Tue Jan 21, 2003 1:09 am Post subject: |
|
|
Well I got home/end to work by editing /etc/inputrc. Look for the section:
Code: |
#
# Home and End
#
$if term=xterm
#
# Normal keypad and cursor of xterm
#
"\e[1~": history-search-backward
"\e[4~": set-mark
|
Change the last two lines to read:
Code: |
"\e[1~": beginning-of-line
"\e[4~": end-of-line
|
There seems to be some alternative bindings for begin/end-of-line, but no keys seem to generate these for me.
Not sure about the font size issue. You could use xfontsel to choose a font and then pass that with the -fn option, e.g.
Code: |
$ xterm -fn -misc-fixed-medium-r-*-*-15-*-75-75-*-*-iso8859-1
|
_________________ fifo |
|
Back to top |
|
|
|