Text reflow woes (or: I want bullets back!)y

Sean Conner sean at conman.org
Mon Dec 16 05:40:32 GMT 2019
It was thus said that the Great Aaron Janse once stated:
> On Sun, Dec 15, 2019, at 5:53 PM, Brian Evans wrote:
> 
> >From a while ago:
> > Text reflow IS A MUST. We live in a world of wildly varying screen sizes
> > these days. The trend is clearly headed towards polarization: huge 22'+
> > desktop screens in one corner, small less than 7' smartphone screens in the
> > other. Nothing in the middle. There's no way you're going to get decent
> > presentation of non reflown text on both kinds of displays. No matter how
> > many kludgy rules you instate on default width, max before forced wrap, etc.
> 
> All of this is completely possible without reflow. All we need to do is to
> state in the spec that text MUST NOT be hard-wrapped at 80 columns unless it's
> supposed to be displayed that way.

  How can you determine if text is text or source code?  This is text, and this

local opts =
{
  { "c" , "cert"     , true    , function(c) CERT  = c    end },
  { "k" , "key"      , true    , function(k) KEY   = k    end },
  { "n" , "noverify" , false   , function()  NOVER = true end },
  { 'h' , "help"     , false   , function()
      io.stderr:write(string.format(usage,arg[0]))
      os.exit(false,true)
    end
  },
}

if #arg == 0 then
  io.stderr:write(string.format(usage,arg[0]))
  os.exit(false,true)
end

URL = arg[getopt(arg,opts)]
nfl.spawn(main,URL)
nfl.client_eventloop()

is source code.  Both are less than 80 characters in length.

  How do you determine when to wrap and when to reflow?

  I would also like to remind others that not only have I proposed a way to
designate reflow/verbatim text rendering:

	https://mailing-list-archive.gemi.dev/www/2019/000114.html

(under the SAME suject line, from back in September no less!) but I also
have set up some reflowing tests on my Gemini site:

	https://mailing-list-archive.gemi.dev/www/2019/000127.html

If anyone would like to test their client for wrapping purposes, this link
might be beneficial:

	gemini://gemini.conman.org/test/wrap;1500

  -spc (I like my bikesheds green, by the way ... )



Archive home | About this archive