Re: Does anyone know of any accessible SQL programs for Slint?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim here.  I know that at least sqlite's CLI interface lets you use

  .mode line

which turns data into a linear format that's much more understandable
when read aloud, data like

  sqlite> .mode line
  sqlite> select id, name from users;

  Id = 1
  Name = Tim

  Id = 2
  Name = Rich

  Id = 3
  Name = Ellen

PostgreSQL has a similar "expanded" format.

I find it particularly useful when there are lots of columns and
things start wrapping weirdly, making it hard to trace which column
is which.

If you really *do* want HTML output, the sqlite ".mode" command does
also offer HTML output as an option:

  sqlite> .mode html

which you can then pipe to your favorite HTML viewer.  Similarly,
PostgreSQL's "psql" client has an HTML output mode which you can
invoke either as a CLI option

  $ psql --html

or by enabling the option interactively

  (psql) \pset format html

Hopefully this gives you some options for getting more useful output
from sqlite or postgresql.  I don't use mysql/mariadb much, so I can't
speak as to whether it offers similar features.

-Tim


> One thought I have had, from time to time, is that it would be nice
> to have tooling that transforms various tabular output formats into
> HTML tables.  This could let the user employ screen reader
> navigation to crawl around the table.  However, I have no idea if
> anything of this sort exists.

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]