Re: HOME and END keys

2003-10-16 Thread Marc Wilson
On Thu, Oct 16, 2003 at 08:14:13PM -0500, Rob Benton wrote: > I'm looking for a way to get my HOME and END keys working inside an > xterm. They work fine from a text tty. The only thing I could think of > is to use xmodmap to map them to Ctrl-a and Ctrl-e. Any other way to do > this? Any number

Re: Home and end keys (was Re: Make Debian better)

2002-10-27 Thread Vincent Lefevre
On Sun, Oct 27, 2002 at 12:27:17 +0100, Morten Bo Johansen wrote: > Vincent Lefevre <[EMAIL PROTECTED]> wrote: > VL> This is not sufficient: one needs a TERM value that defines color > VL> *and* bce (neither xterm, nor xterm-color does, because they are > VL> too generic). > > xterm-xfree86 does,

Re: Home and end keys (was Re: Make Debian better)

2002-10-27 Thread Morten Bo Johansen
Vincent Lefevre <[EMAIL PROTECTED]> wrote: VL> This is not sufficient: one needs a TERM value that defines color VL> *and* bce (neither xterm, nor xterm-color does, because they are VL> too generic). xterm-xfree86 does, no? Regards, Morten -- "There are three ways to get something done. Do

Re: Home and end keys (was Re: Make Debian better)

2002-10-27 Thread Vincent Lefevre
On Sun, Oct 27, 2002 at 12:45:18 +1100, Russell wrote: > Vincent Lefevre wrote: > > OK, so Home and End should be CSI 1 ~ and CSI 4 ~. This is also what > > I get with the Nettle terminal under RISC OS. > > I've tried those sequences with: echo -n "^[[1~" >/dev/pts/1 > but had no success. Those co

Re: Home and end keys (was Re: Make Debian better)

2002-10-26 Thread Russell
Vincent Lefevre wrote: > > On Sat, Oct 26, 2002 at 01:29:11 +1000, Russell wrote: > > The standard xterm commands are in: > > http://cns.georgetown.edu/~ric/howto/Xterm-Title/ctlseqs.txt I found there's more current info in /usr/share/doc/xterm/ctlseqs.txt.gz. /usr/share/doc/xterm/xterm.terminf

Re: Home and end keys (was Re: Make Debian better)

2002-10-26 Thread Russell
Vincent Lefevre wrote: > > On Sat, Oct 26, 2002 at 01:29:11 +1000, Russell wrote: > > The standard xterm commands are in: > > http://cns.georgetown.edu/~ric/howto/Xterm-Title/ctlseqs.txt > > OK, so Home and End should be CSI 1 ~ and CSI 4 ~. This is also what > I get with the Nettle terminal un

Re: Home and end keys (was Re: Make Debian better)

2002-10-26 Thread Vincent Lefevre
On Sat, Oct 26, 2002 at 01:29:11 +1000, Russell wrote: > The standard xterm commands are in: > http://cns.georgetown.edu/~ric/howto/Xterm-Title/ctlseqs.txt OK, so Home and End should be CSI 1 ~ and CSI 4 ~. This is also what I get with the Nettle terminal under RISC OS. > BTW, did you use an xt

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Russell
Vincent Lefevre wrote: > > On Fri, Oct 25, 2002 at 23:41:49 +1000, Russell wrote: > > After doing echo -ne "\e[?1h", does Home still give ^[[H ? > > No, ^[OH as expected. > > > For a bash-specific fix, you could try: set enable-keypad on. > > Maybe zsh has a similar setting. > > No, I think I

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Vincent Lefevre
On Fri, Oct 25, 2002 at 23:41:49 +1000, Russell wrote: > After doing echo -ne "\e[?1h", does Home still give ^[[H ? No, ^[OH as expected. > For a bash-specific fix, you could try: set enable-keypad on. > Maybe zsh has a similar setting. No, I think I need to configure that with bindkey. By defa

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Russell
Vincent Lefevre wrote: > > On Fri, Oct 25, 2002 at 22:57:03 +1000, Russell wrote: > > I'm assuming TERM="xterm". > > I use either TERM=xterm-xfree86 or TERM=xterm-vt220 (but the escape > sequences for Home and End keys don't depend on which value I choose). > > > Type: echo -ne "\e[c" and see wh

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Vincent Lefevre
On Fri, Oct 25, 2002 at 22:57:03 +1000, Russell wrote: > I'm assuming TERM="xterm". I use either TERM=xterm-xfree86 or TERM=xterm-vt220 (but the escape sequences for Home and End keys don't depend on which value I choose). > Type: echo -ne "\e[c" and see what numbers are returned in > both termin

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Russell
Vincent Lefevre wrote: > > On Fri, Oct 25, 2002 at 18:26:37 +1000, Russell wrote: > > Are you using xterm? I'd try comparing your local config files > > on both machines, and any relevant global config files in /etc > > and in /etc/X11/app-defaults/XTerm. > > Hmm... Finally, it doesn't work with

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Vincent Lefevre
On Fri, Oct 25, 2002 at 18:26:37 +1000, Russell wrote: > Are you using xterm? I'd try comparing your local config files > on both machines, and any relevant global config files in /etc > and in /etc/X11/app-defaults/XTerm. Hmm... Finally, it doesn't work with zsh either on the RedHat machine. I do

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Russell
Vincent Lefevre wrote: > > On Fri, Oct 25, 2002 at 10:10:53 +1000, Russell wrote: > > I want to activate them so that my keyboard doesn't have stupid > > non-functional keys. > > Normally, you don't need to activate them. > > But I've noticed that they don't work with zsh on my Debian machine, >

Re: Home and end keys (was Re: Make Debian better)

2002-10-25 Thread Vincent Lefevre
On Fri, Oct 25, 2002 at 10:10:53 +1000, Russell wrote: > I want to activate them so that my keyboard doesn't have stupid > non-functional keys. Normally, you don't need to activate them. But I've noticed that they don't work with zsh on my Debian machine, whether they are activated or not. On a R

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Russell
Bob Proulx wrote: > > Russell <[EMAIL PROTECTED]> [2002-10-25 10:10:53 +1000]: > > Bob Proulx wrote: > > > Why do you have to activate them? > > > > I want to activate them so that my keyboard doesn't have stupid > > non-functional keys. > > You completely misread my meaning. I was NOT asking wh

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Bob Proulx
Russell <[EMAIL PROTECTED]> [2002-10-25 10:10:53 +1000]: > Bob Proulx wrote: > > Why do you have to activate them? > > I want to activate them so that my keyboard doesn't have stupid > non-functional keys. You completely misread my meaning. I was NOT asking why you want to use the keys. I think

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Russell
Bob Proulx wrote: > > > > > To activate the Home and End keys (dedicated or keypad ones) in xterm, > > > > press ctrl+button 2 (mouse left+right) to get the xterm "VT Options" > > > > menu, then select "Enable Application Cursor Keys". Alternatively, > > > > type: echo -n "^[[?1h", where ^[ is the

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread ben
On Thursday 24 October 2002 04:23 pm, Bob Proulx wrote: > > > > To activate the Home and End keys (dedicated or keypad ones) in > > > > xterm, press ctrl+button 2 (mouse left+right) to get the xterm "VT > > > > Options" menu, then select "Enable Application Cursor Keys". > > > > Alternatively, type

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Bob Proulx
> > > To activate the Home and End keys (dedicated or keypad ones) in xterm, > > > press ctrl+button 2 (mouse left+right) to get the xterm "VT Options" > > > menu, then select "Enable Application Cursor Keys". Alternatively, > > > type: echo -n "^[[?1h", where ^[ is the literal ESC character. Why

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Vincent Lefevre
On Thu, Oct 24, 2002 at 21:25:28 +1000, Russell wrote: > To activate the Home and End keys (dedicated or keypad ones) in xterm, > press ctrl+button 2 (mouse left+right) to get the xterm "VT Options" > menu, then select "Enable Application Cursor Keys". Alternatively, > type: echo -n "^[[?1h", where

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Sebastiaan
Hi, On Thu, 24 Oct 2002, Russell wrote: > > In which configuration file can this be set as default for all xterms? > > I put: > *xterm*appcursordefault: true > > in ~/.Xresources > > These should work too: > *xterm*vt100*appcursordefault: true > *XTerm*vt100*appcursordefault: true > *xte

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Colin Watson
On Thu, Oct 24, 2002 at 01:42:34PM +0200, Sebastiaan wrote: > On Thu, 24 Oct 2002, Russell wrote: > > To activate the Home and End keys (dedicated or keypad ones) in xterm, > > press ctrl+button 2 (mouse left+right) to get the xterm "VT Options" > > menu, then select "Enable Application Cursor Keys

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Russell
Sebastiaan wrote: > > High, > > On Thu, 24 Oct 2002, Russell wrote: > > > csj wrote: > > > > > > On Mon, 21 Oct 2002 09:40:36 -0500 > > > "Jamin W.Collins" <[EMAIL PROTECTED]> wrote: > > > > > > > On Mon, 21 Oct 2002 09:07:48 +0200 Eduard Bloch <[EMAIL PROTECTED]> wrote: > > > > > > > > > - bro

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Sebastiaan
High, On Thu, 24 Oct 2002, Russell wrote: > csj wrote: > > > > On Mon, 21 Oct 2002 09:40:36 -0500 > > "Jamin W.Collins" <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 21 Oct 2002 09:07:48 +0200 Eduard Bloch <[EMAIL PROTECTED]> wrote: > > > > > > > - broken home/end keys in bash in xterm (even in W

Re: Home and end keys (was Re: Make Debian better)

2002-10-24 Thread Russell
csj wrote: > > On Mon, 21 Oct 2002 09:40:36 -0500 > "Jamin W.Collins" <[EMAIL PROTECTED]> wrote: > > > On Mon, 21 Oct 2002 09:07:48 +0200 Eduard Bloch <[EMAIL PROTECTED]> wrote: > > > > > - broken home/end keys in bash in xterm (even in Woody) > > > > Sounds like a possible reason to use RXVT...

Re: Home and end keys (was Re: Make Debian better)

2002-10-23 Thread Ed Cogburn
csj wrote: On Mon, 21 Oct 2002 09:40:36 -0500 "Jamin W.Collins" <[EMAIL PROTECTED]> wrote: On Mon, 21 Oct 2002 09:07:48 +0200 Eduard Bloch <[EMAIL PROTECTED]> wrote: - broken home/end keys in bash in xterm (even in Woody) Sounds like a possible reason to use RXVT... never noticed that it's

Re: [edi@gmx.de: Re: home and end keys not working in xterm]

2001-08-03 Thread Colin Watson
On Thu, Aug 02, 2001 at 11:05:20AM -0500, William Jensen wrote: > > I helped me with forcing xterm to send other keycodes, but the problem > is here. Feel free to report this as a bug. As far as I know all > X-Terminal programs are in sync with current termcap database, all but > xterm, which send

Re: [edi@gmx.de: Re: home and end keys not working in xterm]

2001-08-02 Thread Sebastiaan
On Thu, 2 Aug 2001, William Jensen wrote: > > I helped me with forcing xterm to send other keycodes, but the problem > is here. Feel free to report this as a bug. As far as I know all > X-Terminal programs are in sync with current termcap database, all but > xterm, which send broken key sequences

[edi@gmx.de: Re: home and end keys not working in xterm]

2001-08-02 Thread William Jensen
I helped me with forcing xterm to send other keycodes, but the problem is here. Feel free to report this as a bug. As far as I know all X-Terminal programs are in sync with current termcap database, all but xterm, which send broken key sequences to programs inside the terminal. I'm using eterm

Re: home and end keys not working in xterm --> SOLVED for me

2001-08-02 Thread Mike Pfleger
On Thu, Aug 02, 2001 at 08:57:30AM +0200, Sebastiaan wrote: > > So, this ~/XTerm file helped: > > --- > > *VT100.Translations: #override ~Shift ~Ctrl ~Meta Home: > > string("\033OH")\n\ > >~Shift ~Ctrl ~Meta End: string("\033OF") > > --- > Nope, still no success. I

Re: home and end keys not working in xterm

2001-08-02 Thread Sebastiaan
On Wed, 1 Aug 2001, Eduard Bloch wrote: > #include > Sebastiaan wrote on Wed Aug 01, 2001 um 08:34:56PM: > > > > "\e[1~": beginning-of-line > > > "\e[3~": delete-char > > A kludge, should not be used. > > > > "\e[4~": end-of-line > > > "\e[d": backward-word > > > "\e[c": forward-word > > > >

Re: home and end keys not working in xterm --> SOLVED

2001-08-02 Thread Mike Pfleger
On Wed, Aug 01, 2001 at 10:40:34PM +0200, Eduard Bloch wrote: > So, this ~/XTerm file helped: > --- > *VT100.Translations: #override ~Shift ~Ctrl ~Meta Home: > string("\033OH")\n\ >~Shift ~Ctrl ~Meta End: string("\033OF") > --- Now that is _really_ satisfying. Yo

Re: home and end keys not working in xterm

2001-08-01 Thread Eduard Bloch
#include Sebastiaan wrote on Wed Aug 01, 2001 um 08:34:56PM: > > "\e[1~": beginning-of-line > > "\e[3~": delete-char A kludge, should not be used. > > "\e[4~": end-of-line > > "\e[d": backward-word > > "\e[c": forward-word > > > Does not work for me. I am running woody. Any ideas? I helped me

Re: home and end keys not working in xterm

2001-08-01 Thread Erik Steffl
IMO running woody does not make much sense. I tried it for some time and it has more problems than unstable and they are not fixed fast enough. at least that's my experience. most of the problems in unstable are fixed within few days, in testing I was waiting for weeks... erik Sebast

Re: home and end keys not working in xterm

2001-08-01 Thread Sebastiaan
On 1 Aug 2001, Guy Geens wrote: > > "Mike" == Mike Pfleger <[EMAIL PROTECTED]> writes: > > Mike> I've migrated to a newer HDD, which I installed with potato, and > Mike> upgraded to testing. Now I have most of my stuff on this drive, > Mike> and I've noticed that the home and end keys no long

Re: home and end keys not working in xterm

2001-08-01 Thread Guy Geens
> "Mike" == Mike Pfleger <[EMAIL PROTECTED]> writes: Mike> I've migrated to a newer HDD, which I installed with potato, and Mike> upgraded to testing. Now I have most of my stuff on this drive, Mike> and I've noticed that the home and end keys no longer work on Mike> the command line in xterms