<div dir="ltr">You might want to look at what we did with rtcmix~ in pd. On OSX we do use a tcl editor, and on Windows it's set up to use notepad++<div><br></div><div>brad</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 27, 2020 at 7:56 AM Christof Ressi <<a href="mailto:info@christofressi.com">info@christofressi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
<p>Yes, you can certainly turn a list into a single symbol, either
with [list fromsymbol] + [list tosymbol], or using externals like
zexy's [s2l].</p>
<p>But the actual problem is how you get plain text input in Pd.
[text] is certainly *not* suitable for that.</p>
<p>Once you have your own Tcl editor widget, you can easily send the
text in any form you want (a single symbol, a list of atoms, a
list of bytes, ...)<br>
</p>
<p>Christof</p>
<div>On 27.10.2020 15:46, Iain Duncan wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thanks Christof.
<div><br>
</div>
<div>What about tosymbol, is there a Pd equivalent for taking a
multi-atom message and turning it into a single string? or
other good way of doing that?</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Oct 27, 2020 at 7:40
AM Christof Ressi <<a href="mailto:info@christofressi.com" target="_blank">info@christofressi.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
<p>Pd has the [text] object for entering text, but I think
it is not really suitable for your use case, because it is
meant for typing Pd lists and therefore treats several
characters specially (e.g. semicolons, colons).<br>
</p>
<p>If you want interactive editing, I think you need to make
your own Tcl GUI object with a plain text editor. If
you're a brave Tcl programmer, you could even add syntax
highlighting and auto identation ;-)<br>
</p>
<p>For inspiration, you could have a look at the [entry]
object of the old "flatgui" library, which is basically a
widget for plain text.</p>
<p>Christof<br>
</p>
<div>On 27.10.2020 15:18, Iain Duncan wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi folks, I'm in the design stages of
porting my Scheme for Max external to Pd, and have some
questions already. :-)
<div><br>
</div>
<div>What is the best way to deal with large-ish blocks
of text in Pd for sending big text messages to an
object? In Max (in case readers know it) I use a
textedit object to allow the user to enter several
lines of code, this goes to a tosymbol to turn into
one giant symbol, and then I use a prepend to get a
single message that looks like the below</div>
<div><br>
</div>
<div>eval-string "(define (hello-world) (post
:hello-world))" </div>
<div><br>
</div>
<div>The above then comes into my external as two atoms.</div>
<div><br>
</div>
<div>If anyone has suggestions for the best way to do
that, or knows of externals I might want to use to
accomplish the above, that would be lovely.</div>
<div><br>
</div>
<div>iain</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>