hello wise and helpful list members ;)
I need to find a way to take the absolute path name that [openpanel] spits out and truncate off all the directory information to just get the filename. I can't find a working [regexp] object out there to use. is there any way right now in pd to split up a symbol into its component tokens? I know that this has been talked about before, but I havn't been able to find an answere in the archives. this is as close as I got:
http://iem.kug.ac.at/mailinglists/pd-list/2002-02/0366.html
the conclussion of this thread was "use [shell]" but as far as i know, [shell] doesnt exist on windows 2000 and I need my patch to run on windows, osx and linux.
thanks again for any advice.
-Josh
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
Hi people.
when i use the | text 3d | obj. i can put only one line of text into gem window. Is there any way to put a paragraph of text by one message into the gem win? i.e. how to separate lines of a paragraph in the message?
thanks an advance
andrei
Andrey Savitsky about [PD] GEM: text / Today
|Hi people. | |when i use the | text 3d | obj. i can put only one line of text into gem |window. |Is there any way to put a paragraph of text by one message into the gem win? |i.e. how to separate lines of a paragraph in the message?
use loads of text3d objs ..
-- × Þ V · O R G
somebdy posted the code for a regex object here 2 weeks ago or so
also, there is strippath object in ext13 for xctly this purpse?
Josh Steiner about [PD] splitting symbols -or- regular expressions? / Today
|hello wise and helpful list members ;) | |I need to find a way to take the absolute path name that [openpanel] spits |out and truncate off all the directory information to just get the |filename. I can't find a working [regexp] object out there to use. is |there any way right now in pd to split up a symbol into its component |tokens? I know that this has been talked about before, but I havn't been |able to find an answere in the archives. this is as close as I got: | |http://iem.kug.ac.at/mailinglists/pd-list/2002-02/0366.html | |the conclussion of this thread was "use [shell]" but as far as i know, |[shell] doesnt exist on windows 2000 and I need my patch to run on |windows, osx and linux. | |thanks again for any advice. | |-Josh | |________________________________________________________________ |Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi | | |
somebdy posted the code for a regex object here 2 weeks ago or so
Yeah, that was in the thread i linked to below. the problem is that I do not have Visual Studio and I havnt been able to get externs to compile using CygWin. I wish i could though, because that looks neat.
also, there is strippath object in ext13 for xctly this purpse?
This looks perfect, if anyone has the patience to help me compile this under CygWin I would really appriciate it.
it seems that it can't find the pd headers:
joschi@VAAH /cygdrive/d/pd/ext13 $ ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for main in -lc... yes checking for main in -lm... yes checking for main in -lpthread... yes checking for main in -lstk... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for select... yes checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating makefile
joschi@VAAH /cygdrive/d/pd/ext13
$ make ext13
gcc -c -o ftos.o -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHA
VE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
-DHAVE_S
TRERROR=1 -DPD_VERSION_MINOR=32 -I./include -DVERSION="0.12" -DPD
ftos.c
gcc -o ftos.pd_linux -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1
-DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHA
VE_STRERROR=1 -DPD_VERSION_MINOR=32 -I./include -export_dynamic -shared
-DVERSION="0.12" -DPD ftos.o
ftos.o: In function ftos_new': /cygdrive/d/pd/ext13/ftos.c:27: undefined reference to
pd_new'
/cygdrive/d/pd/ext13/ftos.c:29: undefined reference to floatinlet_new' /cygdrive/d/pd/ext13/ftos.c:30: undefined reference to
outlet_new'
/cygdrive/d/pd/ext13/ftos.c:31: undefined reference to gensym' ftos.o: In function
ftos_bang':
/cygdrive/d/pd/ext13/ftos.c:39: undefined reference to outlet_symbol' ftos.o: In function
ftos_float':
/cygdrive/d/pd/ext13/ftos.c:52: undefined reference to gensym' /cygdrive/d/pd/ext13/ftos.c:54: undefined reference to
gensym'
ftos.o: In function ftos_setup': /cygdrive/d/pd/ext13/ftos.c:62: undefined reference to
gensym'
/cygdrive/d/pd/ext13/ftos.c:62: undefined reference to class_new' /cygdrive/d/pd/ext13/ftos.c:64: undefined reference to
class_addbang'
/cygdrive/d/pd/ext13/ftos.c:65: undefined reference to `class_doaddfloat'
collect2: ld returned 1 exit status
make: *** [ftos.pd_linux] Error 1
rm ftos.o
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
hi! i guess ext13 won't compile under windows, because i never applied the diff-files i got from mark@junklight.com, who once did a compile for windows, but you can download a version with .dll at http://pd.klingt.org/files/Ext13w.zip regards dieb
ps: sorry for the bad condition of ext13, but i didn't find the time to clean them and do the neccesary bugfixes
somebdy posted the code for a regex object here 2 weeks ago or so
Yeah, that was in the thread i linked to below. the problem is that I do not have Visual Studio and I havnt been able to get externs to compile using CygWin. I wish i could though, because that looks neat.
also, there is strippath object in ext13 for xctly this purpse?
This looks perfect, if anyone has the patience to help me compile this under CygWin I would really appriciate it.
it seems that it can't find the pd headers:
joschi@VAAH /cygdrive/d/pd/ext13 $ ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for main in -lc... yes checking for main in -lm... yes checking for main in -lpthread... yes checking for main in -lstk... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for select... yes checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating makefile
joschi@VAAH /cygdrive/d/pd/ext13 $ make ext13 gcc -c -o ftos.o -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHA VE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_S TRERROR=1 -DPD_VERSION_MINOR=32 -I./include -DVERSION="0.12" -DPD ftos.c gcc -o ftos.pd_linux -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHA VE_STRERROR=1 -DPD_VERSION_MINOR=32 -I./include -export_dynamic -shared -DVERSION="0.12" -DPD ftos.o ftos.o: In function
ftos_new': /cygdrive/d/pd/ext13/ftos.c:27: undefined reference to
pd_new' /cygdrive/d/pd/ext13/ftos.c:29: undefined reference tofloatinlet_new' /cygdrive/d/pd/ext13/ftos.c:30: undefined reference to
outlet_new' /cygdrive/d/pd/ext13/ftos.c:31: undefined reference togensym' ftos.o: In function
ftos_bang': /cygdrive/d/pd/ext13/ftos.c:39: undefined reference tooutlet_symbol' ftos.o: In function
ftos_float': /cygdrive/d/pd/ext13/ftos.c:52: undefined reference togensym' /cygdrive/d/pd/ext13/ftos.c:54: undefined reference to
gensym' ftos.o: In functionftos_setup': /cygdrive/d/pd/ext13/ftos.c:62: undefined reference to
gensym' /cygdrive/d/pd/ext13/ftos.c:62: undefined reference toclass_new' /cygdrive/d/pd/ext13/ftos.c:64: undefined reference to
class_addbang' /cygdrive/d/pd/ext13/ftos.c:65: undefined reference to `class_doaddfloat' collect2: ld returned 1 exit status make: *** [ftos.pd_linux] Error 1 rm ftos.o
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
thank you thank you thank you... works great :)
On Sat, 23 Mar 2002, d wrote:
hi! i guess ext13 won't compile under windows, because i never applied the diff-files i got from mark@junklight.com, who once did a compile for windows, but you can download a version with .dll at http://pd.klingt.org/files/Ext13w.zip regards dieb
ps: sorry for the bad condition of ext13, but i didn't find the time to clean them and do the neccesary bugfixes
somebdy posted the code for a regex object here 2 weeks ago or so
Yeah, that was in the thread i linked to below. the problem is that I do not have Visual Studio and I havnt been able to get externs to compile using CygWin. I wish i could though, because that looks neat.
also, there is strippath object in ext13 for xctly this purpse?
This looks perfect, if anyone has the patience to help me compile this under CygWin I would really appriciate it.
it seems that it can't find the pd headers:
joschi@VAAH /cygdrive/d/pd/ext13 $ ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for main in -lc... yes checking for main in -lm... yes checking for main in -lpthread... yes checking for main in -lstk... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for select... yes checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating makefile
joschi@VAAH /cygdrive/d/pd/ext13 $ make ext13 gcc -c -o ftos.o -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHA VE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_S TRERROR=1 -DPD_VERSION_MINOR=32 -I./include -DVERSION="0.12" -DPD ftos.c gcc -o ftos.pd_linux -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHA VE_STRERROR=1 -DPD_VERSION_MINOR=32 -I./include -export_dynamic -shared -DVERSION="0.12" -DPD ftos.o ftos.o: In function
ftos_new': /cygdrive/d/pd/ext13/ftos.c:27: undefined reference to
pd_new' /cygdrive/d/pd/ext13/ftos.c:29: undefined reference tofloatinlet_new' /cygdrive/d/pd/ext13/ftos.c:30: undefined reference to
outlet_new' /cygdrive/d/pd/ext13/ftos.c:31: undefined reference togensym' ftos.o: In function
ftos_bang': /cygdrive/d/pd/ext13/ftos.c:39: undefined reference tooutlet_symbol' ftos.o: In function
ftos_float': /cygdrive/d/pd/ext13/ftos.c:52: undefined reference togensym' /cygdrive/d/pd/ext13/ftos.c:54: undefined reference to
gensym' ftos.o: In functionftos_setup': /cygdrive/d/pd/ext13/ftos.c:62: undefined reference to
gensym' /cygdrive/d/pd/ext13/ftos.c:62: undefined reference toclass_new' /cygdrive/d/pd/ext13/ftos.c:64: undefined reference to
class_addbang' /cygdrive/d/pd/ext13/ftos.c:65: undefined reference to `class_doaddfloat' collect2: ld returned 1 exit status make: *** [ftos.pd_linux] Error 1 rm ftos.o
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi