how to submit multi-line long form text to gemini?

Alex // nytpu alex at nytpu.com
Fri Jul 9 16:30:10 BST 2021
On 2021-07-09 01:05PM, David Messer wrote:
> Am I correct in saying that as it stands there is no built-in way for
> users to submit content via a multi-line free text field and that it
> completely relies on secondary means to get content onto the system
> running the Gemini server?
While the input codes (1x) do allow for inputting newlines, they are
limited to <1024 characters, so not too practical for freeform text.

> I've seen some suggestions on the mailing list that include using a
> http frontend to submit content ... To me, that's just adding
> complexity which is what I'm trying to get away from with Gemini.
I've always agreed that setting up an HTTP server just for input defeats
the purpose of Gemini.

> I had a very brief look at titan and inimeg but I don't think either
> of those is capable of allowing users to type longform text into a
> multi-line free text box.
They are actually capable of anything.  Titan works almost exactly like
how HTTP input forms work, those are just wrapped up nicely in a GUI.
If you wrote a decent client for Titan then it would be
indistinguishable from an HTTP free text form.  It could work like the
in-browser Wikipedia editor and edit an existing page (which is what
it's currently used for), but it also allows you to just submit
arbitrary text and your server can make use of a Titan upload however it
wants (add the text to the end of a page as a comment, etc.).  It's just
a matter of there not being much good support or software for it right
now.

I have no experience with Inimeg other than seeing it pop up on this
list a few times, so I can't say anything about it.

> The thought occurred to me that using INPUT I could implement an edlin
> style text editor but I thought I'd sound this out before committing
> to that level of self-harm!
I believe someone got ed(1) working through Gemini, and it's... better
than nothing I guess.  The link is eluding me right now though.

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com
Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B
https://useplaintext.email/


Archive home | About this archive