[BRLTTY] Making easier to accumulate filenames in theclipboard

Nicolas Pitre nico at fluxnic.net
Sat Jul 8 21:49:09 EDT 2023


On Sat, 8 Jul 2023, Sébastien Hinderer wrote:

> Hello, many thanks for this response!
> 
> Nicolas Pitre (2023/07/03 11:03 -0400):
> > Not sure if this fits your use case but I often have such list of 
> > filenames to be found in a vertical list. What I do in that case is to 
> > copy them using the rectangular copy function, and then:
> > 
> > $ xargs git add [ENTER]
> > [paste clipboard content here]
> > [CTRL-D]
> > 
> > You may experiment with "xargs echo" instead to see the result.
> 
> But that works only if the list you want to copy is contiguous, right?

Right. If it is not then I do the first copy to clipboard, paste, ENTER, 
second copy, paste and the filan CTRL_D. Or often enough it is simpler 
to just repeat the command with UP-ARROW, ENTER.

> If it's not, then you'll have to accumulate rectangular cuts and Iam
> guessing that no space willbe inserted between the different rectangles,
> right?

No idea.  I actually never used it.

> Notto say the rectangles are not a good idea, I think they really
> are an improvement, but it feels to me that they do not quite suffice.

Well... What is your actual use case?


Nicolas


More information about the BRLTTY mailing list