Re: [dev] patch for bell in st

2014-10-07 Thread CustaiCo
>I like the idea of the patch, but I would like know how this function >works. I mean, you say that you can have a process listenning for the >event, but, what happens if you don't have such process? >From the manual pages >If a compatible keyboard extension isn't present in the X server, >XkbBe

Re: [dev] [st] St does not work with urwid

2014-10-07 Thread Ian D. Scott
On Tue, Oct 07, 2014 at 10:02:02AM +0200, Roberto E. Vargas Caballero wrote: > > here. Another point is the terminfo definition. I can see that we have > > enacs and smacs with '\E(0', so I am not sure what sequence wants to > > Sorry, this is wrong, enacs=\E)0 and smacs=\E(0, so the problem is en

Re: [dev] [9base] patch to install yaccpar and yaccpars

2014-10-07 Thread Dimitris Papastamos
On Tue, Oct 07, 2014 at 03:02:27PM -0700, Evan Gates wrote: > Tried using 9base's yacc today but got > > fatal error:cannot open parser /usr/local/plan9/yacc/yaccpar: No such > file or directory, /home/egates/projects/hoc/hoc1/hoc.y:27 > > Here is a patch to install yaccpar and yaccpars. Applied

[dev] [9base] patch to install yaccpar and yaccpars

2014-10-07 Thread Evan Gates
Tried using 9base's yacc today but got fatal error:cannot open parser /usr/local/plan9/yacc/yaccpar: No such file or directory, /home/egates/projects/hoc/hoc1/hoc.y:27 Here is a patch to install yaccpar and yaccpars. -emg diff --git a/yacc/Makefile b/yacc/Makefile index 3e9d573..ce9a420 100644 -

Re: [dev] [dwm] Starting new windows in the CWD of the selected window

2014-10-07 Thread Bigby James
On 10/07, Stephen Paul Weber wrote: > I realise this might not be possible in general. Really I'm mostly > interested in starting new st processes in the CWD of a currently-selected > st. See the spawn_cwd patch on the wiki.[1] Haven't tried it myself---it's a bit old--- but it does what you're l

[dev] [dwm] Starting new windows in the CWD of the selected window

2014-10-07 Thread Stephen Paul Weber
I realise this might not be possible in general. Really I'm mostly interested in starting new st processes in the CWD of a currently-selected st. I think my approach should be something like: Read _NET_WM_PID for selmon->sel->win (this is giving me some trouble, actually, but I can probably

[dev] [PATCH] [tabbed] movetab(): Move selected tab instead of switching

2014-10-07 Thread Markus Teich
Before this patch, movetab() just switched positions of the selected tab with the new position. This resulted in unexpected behaviour when „moving“ a tab over one end of the list. Now tabs are moved correctly by the specified amount of indizes. --- Heyho, In movetab() the current method is to

Re: [dev] [st] St does not work with urwid

2014-10-07 Thread Roberto E. Vargas Caballero
> here. Another point is the terminfo definition. I can see that we have > enacs and smacs with '\E(0', so I am not sure what sequence wants to Sorry, this is wrong, enacs=\E)0 and smacs=\E(0, so the problem is enacs. I don't know why urwid is using enacs. I will review that the definition of it i

Re: [dev] patch for bell in st

2014-10-07 Thread Roberto E. Vargas Caballero
> However, if you use XkbBell() then you can have a process listening for > the XkbBellNotifyEvent that is produced and either alert you visually or > play an audio file or whatever you want as your notification. You have > to include one more header file but the function seems to be compiled as >