Re: [PATCH, RFC] mouse tracking support

2007-06-04 Thread Thomas Dickey
On Mon, 4 Jun 2007, Cameron Simpson wrote: You might do better running "od -c", then clicking and pressing . It should give better decoding of the sequences. vttest has a test-screen for xterm's mouse controls (and doesn't rely on other libraries than libc). http://invisible-island.ne

Re: [PATCH, RFC] mouse tracking support

2007-06-03 Thread Cameron Simpson
On 03Jun2007 18:48, Kyle Wheeler <[EMAIL PROTECTED]> wrote: | $ printf "\033[?1000h" | $ D)#D) | | That's a left-click. Here's a right-click: | | $ "E"#E" | | If I do the X10 mouse reporting thing first: | | $ printf "\033[?9h" | $ 4) | | And the right-click: | | $ "R% | | So, clicking is d

Re: [PATCH, RFC] mouse tracking support

2007-06-03 Thread Kyle Wheeler
On Thursday, May 31 at 03:12 PM, quoth Vincent Lefevre: On 2007-05-31 06:39:45 -0600, Kyle Wheeler wrote: | $ printf "\033[?9h" # turn X10 mouse reporting on | $ printf "\033[?1000h" # turn mouse reporting on | $ printf "\033[?1000l" # turn mouse reporting off ... should I tr

Re: [PATCH, RFC] mouse tracking support

2007-05-31 Thread Vincent Lefevre
On 2007-05-31 06:39:45 -0600, Kyle Wheeler wrote: >> | $ printf "\033[?9h"# turn X10 mouse reporting on >> | $ printf "\033[?1000h" # turn mouse reporting on >> | $ printf "\033[?1000l" # turn mouse reporting off > > ... should I try the first two before starting mutt? No,

Re: [PATCH, RFC] mouse tracking support

2007-05-31 Thread Kyle Wheeler
Hi Alain, On Wednesday, May 30 at 11:14 AM, quoth Alain Bench: The terminal has to report mouse events to applications. Terminal.app doesn't appear to be doing mouse reporting at all. Well, I figured Terminal.app wouldn't (or at it would be a bear to do, at least), but I don't use Terminal

Re: [PATCH, RFC] mouse tracking support

2007-05-31 Thread Alain Bench
Hi Kyle, On Wednesday, May 23, 2007 at 19:23:04 -0600, Kyle Wheeler wrote: > trouble getting [mouse tracking] to work on MacOS X. The terminal has to report mouse events to applications. Terminal.app doesn't appear to be doing mouse reporting at all. | $ printf "\033[?9h" # turn

Re: [PATCH, RFC] mouse tracking support

2007-05-24 Thread Thomas Dickey
On Wed, 23 May 2007, Kyle Wheeler wrote: On Monday, May 21 at 12:39 PM, quoth Kyle Wheeler: On Monday, May 21 at 07:15 PM, quoth Christoph Berg: I've updated Anatoly's patch from 2005 that adds mouse tracking using slang/ncurses to mutt. With "set mouse" (unset by default) mutt will react to b

Re: [PATCH, RFC] mouse tracking support

2007-05-23 Thread Kyle Wheeler
On Monday, May 21 at 12:39 PM, quoth Kyle Wheeler: On Monday, May 21 at 07:15 PM, quoth Christoph Berg: I've updated Anatoly's patch from 2005 that adds mouse tracking using slang/ncurses to mutt. With "set mouse" (unset by default) mutt will react to button1/2/3/wheel with configurable bindings

Re: [PATCH, RFC] mouse tracking support

2007-05-23 Thread Gary Johnson
On 2007-05-23, Christoph Berg <[EMAIL PROTECTED]> wrote: > Re: Gary Johnson 2007-05-22 <[EMAIL PROTECTED]> > > I've encountered a few issues with using this patch. None of these > > are bugs, just areas where I think the behavior could be improved. > > The next issue is probably just a matter o

Re: [PATCH, RFC] mouse tracking support

2007-05-23 Thread Christoph Berg
Hi, thanks for the comments. Re: Gary Johnson 2007-05-21 <[EMAIL PROTECTED]> > I just built the ncurses-5.5 library with --enable-ext-mouse and > built mutt-1.5.15 with this library and your patch on a machine > running SunOS 5.8. With the minimal use I've given it so far, it > seems to work

Re: [PATCH, RFC] mouse tracking support

2007-05-22 Thread Elimar Riesebieter
On Mon, 21 May 2007 the mental interface of Elimar Riesebieter told: > On Mon, 21 May 2007 the mental interface of > Christoph Berg told: > > > Hi, > > > > I've updated Anatoly's patch from 2005 that adds mouse tracking using > > slang/ncurses to mutt. With "set mouse" (unset by default) mutt wi

Re: [PATCH, RFC] mouse tracking support

2007-05-22 Thread Elimar Riesebieter
On Mon, 21 May 2007 the mental interface of Ian Collier told: > On Mon, May 21, 2007 at 10:23:01PM +0200, Elimar Riesebieter wrote: > > On Debian we can't build ncurses with --enable-ext-mouse, because > > binutils's ld doesn't know -lstdc++ : > > > > /usr/bin/ld: cannot find -lstdc++ > > I thin

Re: [PATCH, RFC] mouse tracking support

2007-05-22 Thread Cameron Simpson
On 21May2007 22:23, Elimar Riesebieter <[EMAIL PROTECTED]> wrote: | On Mon, 21 May 2007 the mental interface of | Christoph Berg told: | > I've updated Anatoly's patch from 2005 that adds mouse tracking using | > slang/ncurses to mutt. With "set mouse" (unset by default) mutt will | > react to butt

Re: [PATCH, RFC] mouse tracking support

2007-05-21 Thread Gary Johnson
On 2007-05-21, Gary Johnson <[EMAIL PROTECTED]> wrote: > On 2007-05-21, Christoph Berg <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've updated Anatoly's patch from 2005 that adds mouse tracking using > > slang/ncurses to mutt. With "set mouse" (unset by default) mutt will > > react to button1/2/3/

Re: [PATCH, RFC] mouse tracking support

2007-05-21 Thread Ian Collier
On Mon, May 21, 2007 at 10:23:01PM +0200, Elimar Riesebieter wrote: > On Debian we can't build ncurses with --enable-ext-mouse, because > binutils's ld doesn't know -lstdc++ : > > /usr/bin/ld: cannot find -lstdc++ I think on Linux you're supposed to invoke ld via gcc rather than directly (at leas

Re: [PATCH, RFC] mouse tracking support

2007-05-21 Thread Elimar Riesebieter
On Mon, 21 May 2007 the mental interface of Christoph Berg told: > Hi, > > I've updated Anatoly's patch from 2005 that adds mouse tracking using > slang/ncurses to mutt. With "set mouse" (unset by default) mutt will > react to button1/2/3/wheel with configurable bindings. I like it :) > > I've t

Re: [PATCH, RFC] mouse tracking support

2007-05-21 Thread Kyle Wheeler
On Monday, May 21 at 07:15 PM, quoth Christoph Berg: I've updated Anatoly's patch from 2005 that adds mouse tracking using slang/ncurses to mutt. With "set mouse" (unset by default) mutt will react to button1/2/3/wheel with configurable bindings. I like it :) Oooo! I'll test it when I get h

Re: [PATCH, RFC] mouse tracking support

2007-05-21 Thread Gary Johnson
On 2007-05-21, Christoph Berg <[EMAIL PROTECTED]> wrote: > Hi, > > I've updated Anatoly's patch from 2005 that adds mouse tracking using > slang/ncurses to mutt. With "set mouse" (unset by default) mutt will > react to button1/2/3/wheel with configurable bindings. I like it :) Me too! Thanks for

[PATCH, RFC] mouse tracking support

2007-05-21 Thread Christoph Berg
Hi, I've updated Anatoly's patch from 2005 that adds mouse tracking using slang/ncurses to mutt. With "set mouse" (unset by default) mutt will react to button1/2/3/wheel with configurable bindings. I like it :) I've tested it with Debian's ncurses which unfortunately doesn't support the mouse whe