亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: [結(jié)貼]能否讓X term擁有拷貝/粘帖的功能。 [打印本頁(yè)]

作者: weichuang02    時(shí)間: 2013-06-11 16:36
標(biāo)題: [結(jié)貼]能否讓X term擁有拷貝/粘帖的功能。
本帖最后由 weichuang02 于 2013-06-16 22:31 編輯

在我的gnome桌面上,所有程序窗口的可編輯文字都是可以拷貝/粘帖的。

但是有些程序會(huì)調(diào)用X term作為輸出的窗口。我發(fā)現(xiàn)在X term上右鍵不支持任何操作。

這是原始的X term就設(shè)計(jì)成這樣? 還是可以通過什么配置也能讓X term顯示出來的文字支持粘帖?

目前這個(gè)情況非常影響我的工作效率,因?yàn)槲颐看味家粗鳻 term顯示的內(nèi)容,然后敲一遍到我的報(bào)告里面。
有些商用程序設(shè)計(jì)得就是彈一個(gè)X term窗口顯示某些內(nèi)容,這個(gè)我改不了。

能做到呢? 多謝指點(diǎn)!
作者: lbseraph    時(shí)間: 2013-06-11 20:02
看看這個(gè)帖子:
http://www.linuxquestions.org/qu ... 130077/#post3491508
作者: lanjian9151    時(shí)間: 2013-06-13 14:54
在linux里,選中內(nèi)容就是復(fù)制,點(diǎn)擊鼠標(biāo)中鍵或者同時(shí)點(diǎn)擊左右鍵就是粘貼。
作者: weichuang02    時(shí)間: 2013-06-14 16:49
lbseraph 發(fā)表于 2013-06-11 20:02
看看這個(gè)帖子:
http://www.linuxquestions.org/qu ... te-in-xterm-130077/ ...


我打不開這個(gè)鏈接... ...難道被屏了?
能否復(fù)制一下主要的內(nèi)容呢? 多謝了哈!
作者: lbseraph    時(shí)間: 2013-06-14 19:54
回復(fù) 4# weichuang02

Copying from xterm to another application :

When you highlight something in xterm, it gets copied to your primary buffer. The only way to paste something from your primary buffer is to click your scroll (on your scroll mouse) or click your left and right keys of your mouse simultaneously.

ctrl-v pastes from your clipboard. xterm does not recognise the clipboard and nor does it recognise the keys ctrl-v. Hence, the conventional copy-paste method does not work.

I would recommend you try the following -
(a) Open xterm and select (highlight) the text you want to copy
(b) Go to the application where you want to paste the text. Hover your mouse above the place where you want to paste.
(c) Click your scroll button on your mouse.

One should be very careful about the primary buffer. Being very volatile, any higlighting will erase the buffer of its previous contents. For instance, an alt-d (in firefox) will replace the contents of your primary buffer with the url of your opened tab.


Copying from another application to xterm :

Most other applications, the process of copying to the clipboard results in copying to the primary buffer as well. For instance, when we wish to copy (for instance) the url opened in a certain tab, we do the following -
(a) Open the tab and highlight the url (a ctrl-a or alt-d, etc)
(b) Click ctrl-c to copy the string
Here, in step (a), we write to the primary buffer and in step (b), we write to the clipboard.

Thus, when we wish to copy some text and paste it in xterm, all we need to do is select the text (highlight it) and move your cursor to xterm and click the scroll button.
(Note : We don't need to do a ctrl-c!)


If you wish to fiddle around a little more with your xterm keybindings, etc., this article might help you -
http://www.davidsimmons.com/soft/xtermhacks/

作者: syshz    時(shí)間: 2013-06-17 07:39
linux命令行下  鼠標(biāo)拖動(dòng)選中就是復(fù)制。 中鍵黏貼。




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2