Re: [PD] displaying long text in GEM

2007-10-08 Thread Patrice Colet
IOhannes m zmoelnig a écrit : > Patrice Colet wrote: >> >> I do not really get it, how '0x0a' gives '\n', how the 'text' message >> to [textX] class object handles this newline character? >> I tried with [makefilename %c] but with no satisfaying results. > > > for me this works > > [10( > | >

Re: [PD] displaying long text in GEM

2007-10-08 Thread IOhannes m zmoelnig
Patrice Colet wrote: > > I do not really get it, how '0x0a' gives '\n', how the 'text' message to > [textX] class object handles this newline character? > I tried with [makefilename %c] but with no satisfaying results. for me this works [10( | [makefilename line1%cline2] | [text3d] with 0x0

[PD] displaying long text in GEM

2007-10-08 Thread Patrice Colet
Maybe it could be some help, a perl script that send texts converted into ascii numbers with pdsend, and an example patch for receiving #!/usr/bin/perl use IO::Socket; $socket = new IO::Socket::INET (PeerAddr => "localhost", PeerPort => 3000,

Re: [PD] displaying long text in GEM

2007-10-07 Thread Frank Barknecht
Hallo, Maciej Wojnicki hat gesagt: // Maciej Wojnicki wrote: > what is this "double gemhead idiom?? > i see it in a patch but what does it mean in practice?? > this patch looks quite strange I think, I explained it a bit before, so you also may want to search the list archive. The basic idea is t

Re: [PD] displaying long text in GEM

2007-10-06 Thread Mathieu Bouchard
On Sun, 7 Oct 2007, Patrice Colet wrote: That works greatly for numbers from 0 to 9 obviously, but not for other glyphs than numbers, I might have not been clear enough in the question. Right. I don't think I understood the question at all. I thought you wanted something else. _ _ __ ___ _

Re: [PD] displaying long text in GEM

2007-10-06 Thread Patrice Colet
IOhannes m zmoelnig a écrit : > apart from that: afaik, the [text*] objects are also able to handle > several lines with ordinary lists. > e.g. if you send it a symbol "line1\nline2" (with '\n' of course being > the newline character 0x0a), this should display as: > line1 > line2 I do not reall

Re: [PD] displaying long text in GEM

2007-10-06 Thread Patrice Colet
Mathieu Bouchard a écrit : > On Sat, 6 Oct 2007, Patrice Colet wrote: > >> In relation with that topic, anyone has ever made a kind of 'text to >> ascii decimal number' converter? > > There is plenty of that already in the pd-list archives. > > The trick is that you divide the number by 10, wri

Re: [PD] displaying long text in GEM

2007-10-06 Thread Mathieu Bouchard
On Sat, 6 Oct 2007, Patrice Colet wrote: In relation with that topic, anyone has ever made a kind of 'text to ascii decimal number' converter? There is plenty of that already in the pd-list archives. The trick is that you divide the number by 10, write the remainder (le reste de la division

[PD] displaying long text in GEM

2007-10-06 Thread Maciej Wojnicki
> Yes it's possible as in attached patch with the ascii code '10' and > using 'string' message Attached is a differentapproach using the ever popular double gemhead idiom. Ciao -- Frank Barknecht what is this "double gemhead idiom?? i see it in a patch but what does it mean in practice?? t

Re: [PD] displaying long text in GEM

2007-10-06 Thread Frank Barknecht
Hallo, Jack hat gesagt: // Jack wrote: > Thx Frank for this useful patch ! If you want to use the double gemhead stuff more often, maybe attached abstraction is useful as well. Ciao -- Frank Barknecht _ __footils.org__ doublehead-help.pd Description: a

Re: [PD] displaying long text in GEM

2007-10-06 Thread Jack
Thx Frank for this useful patch ! Jack Le 6 oct. 07 à 11:26, Frank Barknecht a écrit : > Hallo, > Patrice Colet hat gesagt: // Patrice Colet wrote: > >> Maciej Wojnicki a écrit : >>> >>> hi list >>> >>> short. >>> >>> is it possible to display text that has more than one line with >>> text2d or

Re: [PD] displaying long text in GEM

2007-10-06 Thread Frank Barknecht
Hallo, Patrice Colet hat gesagt: // Patrice Colet wrote: > Maciej Wojnicki a écrit : > > > >hi list > > > >short. > > > >is it possible to display text that has more than one line with > >text2d or 3d objects in gem?? > >i hope i don`t have to use one text object for every line? > > Yes it's po

Re: [PD] displaying long text in GEM

2007-10-06 Thread IOhannes m zmoelnig
Patrice Colet wrote: > Patrice Colet a écrit : >> Hello, >> >> Maciej Wojnicki a écrit : >>> hi list >>> >>> short. >>> >>> is it possible to display text that has more than one line with >>> text2d or 3d objects in gem?? >>> i hope i don`t have to use one text object for every line? >>> >>> thx.

Re: [PD] displaying long text in GEM

2007-10-06 Thread Patrice Colet
Patrice Colet a écrit : > Hello, > > Maciej Wojnicki a écrit : >> >> hi list >> >> short. >> >> is it possible to display text that has more than one line with >> text2d or 3d objects in gem?? >> i hope i don`t have to use one text object for every line? >> >> thx. >> >> maciek > > > Yes it's

Re: [PD] displaying long text in GEM

2007-10-06 Thread Patrice Colet
Hello, Maciej Wojnicki a écrit : hi list short. is it possible to display text that has more than one line with text2d or 3d objects in gem?? i hope i don`t have to use one text object for every line? thx. maciek Yes it's possible as in attached patch with the ascii code '10' and usi

[PD] displaying long text in GEM

2007-10-05 Thread Maciej Wojnicki
hi list short. is it possible to display text that has more than one line with text2d or 3d objects in gem?? i hope i don`t have to use one text object for every line? thx. maciek ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management