[BRLTTY] Cut&paste from console to X

Shérab Sebastien.Hinderer at ens-lyon.org
Thu May 5 04:48:59 EDT 2016


Hi,

Lars Bjørndal (2016/05/02 11:23 +0200):
> I tried to copy som info from a console with BRLTTY, and paste that into
> an edit box in Firefox from X, with Orca and BRLTTY. It didn't work.

Yeah, I think it is expected it not to work, so far.

> Does this feature has to be implemented from the Orca side, or is it
> possible that BRLTTY can take care of such a function?

As I understand the problem, I think it will have to be implemented at
several levels. Indeed, at the moment brltty has now way to share the
content of its clipboard with other applications. It would probably be
BrlAPI's job to make this possible. Then once it is done orca will have
to take advantage of this functionality somehow.

One other possibility might be that Orca asks not to receive brltty's
paste commands. Then these commands would be interpreted by brltty
itself, which would do the right thing, I presume.

But that way of dealing with the situation would have its own limits.
Imagine for example that you run a second brltty to follow a terminal
run under X (so with the a2 screen driver). Then, two possibilities.

1. That second brltty also asks not to receive the paste events, and you
will be able to copy from text consoles to graphical terminals but you
won't be able to copy/paste inside the graphical terminal.

2. The second brltty handles paste normally so you can copy/paste inside
the graphical terminal but cannot copy/paste from a text console to a
graphical terminal.

One solution I can imagine to this problem would be to have a clipboard
running as an autonomous service, that would have absolutely nothing to
do with braille or with X being used etc. Does something like this
already exist?

Cheers,

Shérab.


More information about the BRLTTY mailing list