Re: wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-08-03 Thread David Coppa
On Wed, Aug 3, 2011 at 8:37 PM, Miod Vallat wrote: >> > I need to gather some history about the use of BEL as an end-of-escape >> > (what a silly idea), but I fart in^W^Wagree with the direction this diff >> > is going in so far. >> > >> >> I think it got invented by xterm. suntool's shelltool use

Re: wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-08-03 Thread Miod Vallat
> > I need to gather some history about the use of BEL as an end-of-escape > > (what a silly idea), but I fart in^W^Wagree with the direction this diff > > is going in so far. > > > > I think it got invented by xterm. suntool's shelltool used BS to > terminate the title. See > http://invisible-is

Re: wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-07-29 Thread Matthieu Herrb
On Fri, Jul 29, 2011 at 06:26:31PM +, Miod Vallat wrote: > > when i get time > > > > i think we might want to do the same in the STRING_ESCAPE state too, and > > it will need miod's ok > > I need to gather some history about the use of BEL as an end-of-escape > (what a silly idea), but I fart

Re: wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-07-29 Thread Miod Vallat
> when i get time > > i think we might want to do the same in the STRING_ESCAPE state too, and > it will need miod's ok I need to gather some history about the use of BEL as an end-of-escape (what a silly idea), but I fart in^W^Wagree with the direction this diff is going in so far.

Re: wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-07-29 Thread Nicholas Marriott
when i get time i think we might want to do the same in the STRING_ESCAPE state too, and it will need miod's ok On Fri, Jul 29, 2011 at 09:41:55AM +0200, David Coppa wrote: > Hi Nicholas, > > What about this? > > On Tue, Jul 26, 2011 at 7:05 PM, David Coppa wrote: > > On Tue, Jul 26, 2011 at

wsemul_vt100.c diff (was Re: [NEW] audio/ncmpcpp)

2011-07-29 Thread David Coppa
Hi Nicholas, What about this? On Tue, Jul 26, 2011 at 7:05 PM, David Coppa wrote: > On Tue, Jul 26, 2011 at 9:23 AM, Nicholas Marriott > wrote: >> Yes it is trying to set the window title (three times in fact for some >> reason): >> >> ^[]0;Paolo Fresu & Uri Caine - Darn That Dream^G >> >> IIR

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, Jul 26, 2011 at 9:23 AM, Nicholas Marriott wrote: > Yes it is trying to set the window title (three times in fact for some > reason): > > ^[]0;Paolo Fresu & Uri Caine - Darn That Dream^G > > IIRC this will make wscons freeze. This is because it expects OSC to be > terminated by ST (\033\)

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
Well, I don't know about that, tigetflag is in libncurses and if you've called setupterm or whatever it should work just fine. But if you like. On Tue, Jul 26, 2011 at 12:19:33PM +0200, David Coppa wrote: > On Tue, Jul 26, 2011 at 12:10 PM, Nicholas Marriott > wrote: > > If it uses ncurses then

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, Jul 26, 2011 at 12:10 PM, Nicholas Marriott wrote: > If it uses ncurses then yes it does use terminfo. yes, i meant it doesn't already use terminfo's routines directly, thus the patch would become a little too intrusive...

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
If it uses ncurses then yes it does use terminfo. But sure, disable window title is easiest. On Tue, Jul 26, 2011 at 12:08:37PM +0200, David Coppa wrote: > On Tue, 26 Jul 2011, Nicholas Marriott wrote: > > > Yes this is what tmux used to do, but you are forgetting konsole, > > gnome-terminal, E

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, 26 Jul 2011, Nicholas Marriott wrote: > Yes this is what tmux used to do, but you are forgetting konsole, > gnome-terminal, Eterm and many others. > > I would check for the XT flag in terminfo in preference. Our terminfo is > new enough that it is present. > > If setupterm() or similar h

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
Yes this is what tmux used to do, but you are forgetting konsole, gnome-terminal, Eterm and many others. I would check for the XT flag in terminfo in preference. Our terminfo is new enough that it is present. If setupterm() or similar has already been called by this point you can try tigetflag("X

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, 26 Jul 2011, Nicholas Marriott wrote: > Well, this will stop it setting the title in xterm. > > I guess it is right and the intent here is to STOP it setting the title > in the Linux console, even if the user turns it on. Unfortunately I cannot test your patch until I'll be back home thi

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, Jul 26, 2011 at 9:55 AM, Nicholas Marriott wrote: > Well, this will stop it setting the title in xterm. > > I guess it is right and the intent here is to STOP it setting the title > in the Linux console, even if the user turns it on. Ah... You're right. I'll try your patch then :)

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
Well, this will stop it setting the title in xterm. I guess it is right and the intent here is to STOP it setting the title in the Linux console, even if the user turns it on. On Tue, Jul 26, 2011 at 09:46:48AM +0200, David Coppa wrote: > On Tue, 26 Jul 2011, Nicholas Marriott wrote: > > > Yes

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread David Coppa
On Tue, 26 Jul 2011, Nicholas Marriott wrote: > Yes it is trying to set the window title (three times in fact for some > reason): > > ^[]0;Paolo Fresu & Uri Caine - Darn That Dream^G > > IIRC this will make wscons freeze. This is because it expects OSC to be > terminated by ST (\033\) not by ^G

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
Yep yours is doing it too similar to what's in my mail to dcoppa except it sets an empty title: ^[]0;^G On Mon, Jul 25, 2011 at 05:56:22PM -0700, Bryan Linton wrote: > On 2011-07-26 01:29:34, Nicholas Marriott wrote: > > Run ncmppc in script(1) and see what it is sending with TERM=wsvt25. > >

Re: [NEW] audio/ncmpcpp

2011-07-26 Thread Nicholas Marriott
Yes it is trying to set the window title (three times in fact for some reason): ^[]0;Paolo Fresu & Uri Caine - Darn That Dream^G IIRC this will make wscons freeze. This is because it expects OSC to be terminated by ST (\033\) not by ^G (\007). So it sits waiting for the end that will never arrive

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread David Coppa
On Tue, Jul 26, 2011 at 2:56 AM, Bryan Linton wrote: > On 2011-07-26 01:29:34, Nicholas Marriott wrote: >> Run ncmppc in script(1) and see what it is sending with TERM=wsvt25. >> >> Probably it is bypassing terminfo or doing something silly like trying >> to set the xterm window title which tends

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread Bryan Linton
On 2011-07-26 01:29:34, Nicholas Marriott wrote: > Run ncmppc in script(1) and see what it is sending with TERM=wsvt25. > > Probably it is bypassing terminfo or doing something silly like trying > to set the xterm window title which tends to make wscons unhappy. > Script attached. -- Bryan

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread Nicholas Marriott
The bs key thing is probably something like it assumes backspace will be ^H but on OpenBSD it is \177. Dunno why it works for dcoppa unless he is using a terminal which sends something else for backspace. Delete is typically \033[3~ but I would guess it just gets that from ncurses and pretends it

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread Nicholas Marriott
Run ncmppc in script(1) and see what it is sending with TERM=wsvt25. Probably it is bypassing terminfo or doing something silly like trying to set the xterm window title which tends to make wscons unhappy. On Mon, Jul 25, 2011 at 05:19:31PM -0700, Bryan Linton wrote: > On 2011-07-25 10:49:47, Da

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread Bryan Linton
On 2011-07-25 10:49:47, David Coppa wrote: >On Sun, Jul 24, 2011 at 10:06 PM, Bryan Linton wrote: >> On 2011-07-24 18:38:55, David Coppa wrote: >>> No one wants to comment/ok this? >>> >> >> (Mostly) works for me on i386.  The tag editor/search page doesn't >> respond to a backspace key at all.

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread David Coppa
On Sun, Jul 24, 2011 at 10:30 PM, Benoit Lecocq wrote: > quickly test on amd64, works for me ! ok benoit@ > > On 07/24/11 18:38, David Coppa wrote: >> >> No one wants to comment/ok this? I will import it later this evening, if nobody objects. cheers! David

Re: [NEW] audio/ncmpcpp

2011-07-25 Thread David Coppa
On Sun, Jul 24, 2011 at 10:06 PM, Bryan Linton wrote: > On 2011-07-24 18:38:55, David Coppa wrote: >> No one wants to comment/ok this? >> > > (Mostly) works for me on i386.  The tag editor/search page doesn't > respond to a backspace key at all.  Delete functions as a > backspace key instead (del

Re: [NEW] audio/ncmpcpp

2011-07-24 Thread Bryan Linton
On 2011-07-24 18:38:55, David Coppa wrote: > No one wants to comment/ok this? > (Mostly) works for me on i386. The tag editor/search page doesn't respond to a backspace key at all. Delete functions as a backspace key instead (deleting to the left of the cursor). I checked audio/ncmpc and it t

Re: [NEW] audio/ncmpcpp

2011-07-24 Thread David Coppa
No one wants to comment/ok this? ciao, david On Wed, Jul 20, 2011 at 4:20 PM, David Coppa wrote: > Hi, > > This is a port of ncmpcpp, a clone of ncmpc with enhanced features. > > cheers! > David > > $ pkg_info ncmpcpp > Information for inst:ncmpcpp-0.5.7 > > Comment: > ncurses mpd client inspire

[NEW] audio/ncmpcpp

2011-07-20 Thread David Coppa
Hi, This is a port of ncmpcpp, a clone of ncmpc with enhanced features. cheers! David $ pkg_info ncmpcpp Information for inst:ncmpcpp-0.5.7 Comment: ncurses mpd client inspired by ncmpc Description: Ncmpcpp or ncmpc++ is a mpd client with a UI very similar to ncmpc, but it provides new useful