Hey,
I was not working on the problem directly; however as far as I know it was a
combination of some nasty C and upstream restrictions on how the code should
be written.
We did get it working using stdin, however being able to supply the options
in the format I suggest would have made things much easier.
Mex.
On Tue, May 11, 2010 at 12:02 PM, Dieter Plaetinck <dieter_AT_plaetinck.be>wrote:
> On Tue, 11 May 2010 11:58:12 +0100
> Martin Ellis <ellism88_AT_gmail.com> wrote:
>
> > Hi,
> >
> > We had a strange situation where putting the menu in stdin was
> > difficult.
> >
> > For our situation supplying the menu on the command line would be
> > easier.
> >
> > Attached is a patch that provides this.
> >
> > The new syntax is
> >
> > dmenu -m "hello\nworld"
> >
> > or use the -d flag to specify the seperator
> >
> > dmenu -m "hello%world" -d "%"
> >
> > The old style still works.
> >
> > Hope this helps someone.
> >
> > Mex.
>
> maybe you should mention what problem you had where writing to stdin
> did not work. it's likely it can be fixed.
>
> Dieter
>
Received on Tue May 11 2010 - 11:28:20 UTC
This archive was generated by hypermail 2.2.0 : Tue May 11 2010 - 11:36:02 UTC