Re: [BRLTTY] Running brltty in X11, and clipboards

2018-04-18 Thread Shérab
Hi Samuel,

Just so that you know: you are still using the former address of the
list, brl...@mielke.cc, rather than the new one, brltty@brltty.com

Coming to your message, if I understood you correctly the first approach
seems more complete but also more difficult to implement, while the
second one seems simpler to implement but with the drawback that it
would not support a few features like rectangular copy and accumulation.

One additional benefit I can see to the second approach is that it
would let a sighted co-worker see what gets selected, which I find nice.

So perhaps this second approach could be implemented first and then we
could experiment with it and see whether the features we won't have are
really missing?

Best,

Shérab.
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

[BRLTTY] Running brltty in X11, and clipboards

2018-04-16 Thread Samuel Thibault
Hello,

While looking at brltty running in X11 with the AtSpi2 driver, the
question of smooth integration with clipboards raised.

While copy/pasting from the Linux console to/from X11 is not a simple
matter, having a brltty instance running inside X11 with the AtSpi2
driver to copy/paste between xterms and the rest of X11 makes a lot of
sense.  I however see two competing approaches:

- let brltty have its own clipboard as it already does, and expose it
to the X11 protocol by implementing the selection behaviors.
That would allow to keep the exact same behavior as on the Linux
console, with the additional benefit that it can cooperate with other
X11 applications.  The selection behavior is however quite a
beast with content type negociation etc., it's not something that can be
implemented over night :)

- make brltty only select text in the xterm, and let xterm do all the
selection management.  It'd mean to just make the brltty
core call a screen driver method to notify of the selection performed
by CLIP_NEW+COPY_LINE, and the AtSpi2 driver can then just notify the
xterm.  That doesn't allow rectangular selection, clipboard accumulation
etc., but the implementation should be quite easy.

What do people think?

Samuel
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty