В Fri, 1 Mar 2013 12:34:54 +0100
"Fabio M." <
fabio.m...@gmail.com> писал:
> > this is impossible right now. i don't handle changes in form fields.
> > only buttons fields can change the current values of a form
>
> So I could do a dynamic shift by a button? can you please share an example?
#! /bin/sh
yad --form \
--field="Button1:btn" '@echo "3:button 1 is pressed"' \
--field="Button2:btn" '@echo "3:button 2 is pressed"'\
--field="Answer" "initial"
all button values, started from '@' means to parse output of command,
and if some strings starts with 'N:', sets the value of field N to
appropriate string. in a command you may use substitution '%N' for
getting a current value of N'th field
>
>
> > can you create a piece of shared memory with ipcmk -M 1024?
>
> I've tried right now, with no luck :(
>
> Here's the result:
> ipcmk -M 1024
> Shared memory id: 2261013
> ./test.sh
> yad: cannot create shared memory for key 12345: file exists
>
can you show me output of ipcs -m, and try to use a different key, not 12345?
>
> Thanks for the support :)
>
> Fabio
>