💾 Archived View for bbs.geminispace.org › u › mozz › 4894 captured on 2023-12-28 at 16:50:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

-=-=-=-=-=-=-

Comment by ☕️ mozz

Re: "Input indicator"

In: s/Gemini

the more practical problem that the empty string is not infrequently a valid response to an input request, so then it can't be used as the value which will elicit a 10 response.

I have never seen anyone do this before, any examples?

☕️ mozz

Aug 29 · 4 months ago

5 Later Comments ↓

🚀 mbays · Aug 29 at 18:54:

@mozz The only example which comes to mind is my own "gemrepl", which wraps an arbitrary line-based program (e.g. ed) for which empty lines could well be meaningful.

— gemrepl

🚀 skyjake · Aug 29 at 19:42:

@mozz

I have never seen anyone do this before, any examples?

Bubble uses an empty query string to reset/clear some values in the Settings, for example the certificate password.

🚀 skyjake · Aug 30 at 12:49:

The extra dashes added into the links in preformatted blocks above have now been fixed.

🧇 Acidus · Sep 15 at 20:13:

Honestly, this feels best handled by the client:

1. They can have a setting like what @skyjake is suggesting for Lagrange and spellbinding. Basically: "This URL needs input, so always proactively prompt me for it"

2. Support Spartan-style link lines. Kind of like how some capsuel games offer a "ANSI mode" or "plain text mode", they could offer a "Spartan link" mode

🐐 drh3xx · Sep 18 at 12:21:

Although adding to the gemini spec would break handling of new content in clients which had not been updated to support it... a 2nd link markup of ?> or =? to signifying a link expecting data from a prompt seems reasonable. Easy to add to content, no scope for Link markup creep or add further checks to URL handling. Adding support would be a minimal patch for existing clients - to support the links with existing behaviour would just be an additional case match with fallthrough to the exiating code in C. Proper support shouldn't be much more work unless I'm missing something. It would also allow advanced clients to add support for inline text entry + 'submit' button should they want to.

Original Post

🌒 s/Gemini

Input indicator — I'm thinking again about something which has come up a few times before, which is how to deal with the annoyance that requesting input on gemini involves two requests -- the first to get a 10 response with a prompt, and the second for the actual input. The first is often not really necessary, and could be eliminated if there were some way to signal to the client that a link will expect user input. That extra request is wasteful and can be genuinely annoying -- I was prompted...

💬 mbays · 18 comments · Aug 28 · 4 months ago