无法在Firefox中使用Screen的剪贴板

时间:2022-09-12 23:05:41

I have not managed to get my pbcopy/pbpaste to work in Screen as discussed here.

我没有设法让我的pbcopy / pbpaste在Screen中工作,如这里所讨论的。

I aim to solve the problem by having Screen clipboard inside Firefox. Its paste works in terminal by the following command but not in Firefox

我的目标是通过在Firefox中使用屏幕剪贴板来解决问题。它的粘贴通过以下命令在终端中工作,但在Firefox中不能

C-a ]

How can you use Screen's clipboard inside Firefox?

如何在Firefox中使用Screen的剪贴板?

2 个解决方案

#1


Here's a solution that makes use of screen's buffer-writing commands and pbcopy:

这是一个利用屏幕缓冲区写入命令和pbcopy的解决方案:

#2


Screen's clipboard (correctly called a paste buffer) only works inside that instance of screen. That's all it's designed to do.

屏幕的剪贴板(正确称为粘贴缓冲区)仅适用于该屏幕实例。这就是它的目的。

The best way to copy-n-paste to FireFox is to use your terminal program's copy mechanism.

复制粘贴到FireFox的最佳方法是使用终端程序的复制机制。

#1


Here's a solution that makes use of screen's buffer-writing commands and pbcopy:

这是一个利用屏幕缓冲区写入命令和pbcopy的解决方案:

#2


Screen's clipboard (correctly called a paste buffer) only works inside that instance of screen. That's all it's designed to do.

屏幕的剪贴板(正确称为粘贴缓冲区)仅适用于该屏幕实例。这就是它的目的。

The best way to copy-n-paste to FireFox is to use your terminal program's copy mechanism.

复制粘贴到FireFox的最佳方法是使用终端程序的复制机制。