由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - linux下面的剪贴板太乱了
相关主题
firefox 点到地址栏里,为什么地址不自动被选呢?Putty term for ubuntu?
Vim: how can I jump to the previous cursor position?screen是干啥的
linux都发展到现在了还有这么弱智的bug键盘上的windows键
请教 VNC viewer 的问题how to build short cut to insert a text under vi?
Emacs 粘贴 clipboard 居然要用 menuGNU screen 下面 vim 没有颜色?
copy/paste between vnc and windows (转载)请问有好的vim cvs plugin 吗?
bash中比较无聊的功能Knoppix 6.3 highlights
pcman fm的一个bug如何重新控制一个进程
相关话题的讨论汇总
话题: ctrl话题: linux话题: paste话题: copy话题: mouse
进入Linux版参与讨论
1 (共1页)
k****f
发帖数: 3794
1
且不说vim/emacs自己内部有各自的复杂copy/paste命令。就一般程序而言,比如firef
ox和term,以及term下面跑的各种程序(vim,less)。copy/paste总是很麻烦的。
在copy的时候,
有些程序,选择文字就可以拷贝。mrxvt下面,一般的,选择一下就可以了。不过,如果
是vim的话,需要按y才能够把选择的内容拷贝走。
有些程序,选择之后,比如ubuntu带电terminal,需要按ctrl+ins或者ctrl+shift+ins
,有些按ctrl+c就可以拷贝了。你必须试试之后,天知道哪些程序支持什么样的copy操
作。
paste的时候,也很搞笑的。
ctrl+shift+ins,shift+ins, ctrl+v, 鼠标中键,都*可能*paste上去,不过内容*可能
*是不一样的。尤其是鼠标中键贴去firefox的address bar,如果一不小心选中address
bar原来的内容,那么鼠标中键就无法粘贴上去的。
搞笑的是在term下面,如果是用鼠标中键从其他地方贴过来的命令并且允许了,这个命
令是不能被term的history记住的,就是
L******k
发帖数: 2945
2
恩,不少软件有他们自己的clipboard, 经常我copy,然后关掉这个程序,clipboard就
消失了

firef
如果
ins
可能

【在 k****f 的大作中提到】
: 且不说vim/emacs自己内部有各自的复杂copy/paste命令。就一般程序而言,比如firef
: ox和term,以及term下面跑的各种程序(vim,less)。copy/paste总是很麻烦的。
: 在copy的时候,
: 有些程序,选择文字就可以拷贝。mrxvt下面,一般的,选择一下就可以了。不过,如果
: 是vim的话,需要按y才能够把选择的内容拷贝走。
: 有些程序,选择之后,比如ubuntu带电terminal,需要按ctrl+ins或者ctrl+shift+ins
: ,有些按ctrl+c就可以拷贝了。你必须试试之后,天知道哪些程序支持什么样的copy操
: 作。
: paste的时候,也很搞笑的。
: ctrl+shift+ins,shift+ins, ctrl+v, 鼠标中键,都*可能*paste上去,不过内容*可能

u*********r
发帖数: 2735
3
X has 2 clipboards
app could have its own copy cached
it's more convenient if u know what u r doing

firef
如果
ins
可能

【在 k****f 的大作中提到】
: 且不说vim/emacs自己内部有各自的复杂copy/paste命令。就一般程序而言,比如firef
: ox和term,以及term下面跑的各种程序(vim,less)。copy/paste总是很麻烦的。
: 在copy的时候,
: 有些程序,选择文字就可以拷贝。mrxvt下面,一般的,选择一下就可以了。不过,如果
: 是vim的话,需要按y才能够把选择的内容拷贝走。
: 有些程序,选择之后,比如ubuntu带电terminal,需要按ctrl+ins或者ctrl+shift+ins
: ,有些按ctrl+c就可以拷贝了。你必须试试之后,天知道哪些程序支持什么样的copy操
: 作。
: paste的时候,也很搞笑的。
: ctrl+shift+ins,shift+ins, ctrl+v, 鼠标中键,都*可能*paste上去,不过内容*可能

Z****e
发帖数: 2999
4
常用Gnome Terminal,貌似它自己有个剪贴板,鼠标选定的就进去了,在别的进程里的
Gnome Terminal也可以用Shift+Ins粘贴,如果要进外部的剪贴板就一定要选定+Ctrl+
Ins,但是如果外部剪贴板里面本来就有东西,然后又在Term里面选中了就比较麻烦

firef
如果
ins
可能

【在 k****f 的大作中提到】
: 且不说vim/emacs自己内部有各自的复杂copy/paste命令。就一般程序而言,比如firef
: ox和term,以及term下面跑的各种程序(vim,less)。copy/paste总是很麻烦的。
: 在copy的时候,
: 有些程序,选择文字就可以拷贝。mrxvt下面,一般的,选择一下就可以了。不过,如果
: 是vim的话,需要按y才能够把选择的内容拷贝走。
: 有些程序,选择之后,比如ubuntu带电terminal,需要按ctrl+ins或者ctrl+shift+ins
: ,有些按ctrl+c就可以拷贝了。你必须试试之后,天知道哪些程序支持什么样的copy操
: 作。
: paste的时候,也很搞笑的。
: ctrl+shift+ins,shift+ins, ctrl+v, 鼠标中键,都*可能*paste上去,不过内容*可能

m******t
发帖数: 2416
5
I think if you are a pure gui user, you should be fine. The trouble begins
when you mix gui/text, some sophisticated programs like vim, and then some
idiotic ones like emacs.

firef
如果
ins
可能

【在 k****f 的大作中提到】
: 且不说vim/emacs自己内部有各自的复杂copy/paste命令。就一般程序而言,比如firef
: ox和term,以及term下面跑的各种程序(vim,less)。copy/paste总是很麻烦的。
: 在copy的时候,
: 有些程序,选择文字就可以拷贝。mrxvt下面,一般的,选择一下就可以了。不过,如果
: 是vim的话,需要按y才能够把选择的内容拷贝走。
: 有些程序,选择之后,比如ubuntu带电terminal,需要按ctrl+ins或者ctrl+shift+ins
: ,有些按ctrl+c就可以拷贝了。你必须试试之后,天知道哪些程序支持什么样的copy操
: 作。
: paste的时候,也很搞笑的。
: ctrl+shift+ins,shift+ins, ctrl+v, 鼠标中键,都*可能*paste上去,不过内容*可能

y*******g
发帖数: 6599
6
pure gui user在copy paste的时候也喜欢快捷键而不是鼠标点击吧?

【在 m******t 的大作中提到】
: I think if you are a pure gui user, you should be fine. The trouble begins
: when you mix gui/text, some sophisticated programs like vim, and then some
: idiotic ones like emacs.
:
: firef
: 如果
: ins
: 可能

m******t
发帖数: 2416
7

Oh you'd be so surprised if you had to work with
some _programmers_ I'm working with. Every time
when they need to do so much as copying a variable
name and pasting it two lines below, they would
do the whole thing with their mouse.

【在 y*******g 的大作中提到】
: pure gui user在copy paste的时候也喜欢快捷键而不是鼠标点击吧?
j*a
发帖数: 14423
8

this gtk's problem. not sure about qt. maybe the same.

【在 L******k 的大作中提到】
: 恩,不少软件有他们自己的clipboard, 经常我copy,然后关掉这个程序,clipboard就
: 消失了
:
: firef
: 如果
: ins
: 可能

j*a
发帖数: 14423
9
x is x. gtk is gtk and qt is qt. different clipboard implementation is bound
to
happen.

【在 u*********r 的大作中提到】
: X has 2 clipboards
: app could have its own copy cached
: it's more convenient if u know what u r doing
:
: firef
: 如果
: ins
: 可能

f*****2
发帖数: 75
10
我用linux/unix已经10+年了,copy&paste大多数情况下用鼠标中键,如果有些鼠标没
中键,一般左右键同时点击可以模拟,极少数情况下在某些图形界面程序下用ctrl-c,
ctrl-v(firefox,kwrite, etc)。vi下有时候用yy copy, p paste。没觉得不方便。
相关主题
copy/paste between vnc and windows (转载)Putty term for ubuntu?
bash中比较无聊的功能screen是干啥的
pcman fm的一个bug键盘上的windows键
进入Linux版参与讨论
a*****i
发帖数: 4391
11

用鼠标中建点的是最弱智的一个implementation. You need to make sure that the
buffer you wanna copy is properly highlighted, right at the moment you mid
mouse.
If you accidentally moved your highlight buffer, you are screwed. Need to
restart the whole process.

【在 f*****2 的大作中提到】
: 我用linux/unix已经10+年了,copy&paste大多数情况下用鼠标中键,如果有些鼠标没
: 中键,一般左右键同时点击可以模拟,极少数情况下在某些图形界面程序下用ctrl-c,
: ctrl-v(firefox,kwrite, etc)。vi下有时候用yy copy, p paste。没觉得不方便。

u*********r
发帖数: 2735
12
what do you mean by 'moving' highlight buffer?

【在 a*****i 的大作中提到】
:
: 用鼠标中建点的是最弱智的一个implementation. You need to make sure that the
: buffer you wanna copy is properly highlighted, right at the moment you mid
: mouse.
: If you accidentally moved your highlight buffer, you are screwed. Need to
: restart the whole process.

f*****2
发帖数: 75
13

What is the difference if you "accidentally moved your highlight buffer"
before you "ctrl+c" in your Windows? you still have to "restart the whole
process". Did not see a point to shout "用鼠标中建点的是最弱智的一个
implementation".

【在 a*****i 的大作中提到】
:
: 用鼠标中建点的是最弱智的一个implementation. You need to make sure that the
: buffer you wanna copy is properly highlighted, right at the moment you mid
: mouse.
: If you accidentally moved your highlight buffer, you are screwed. Need to
: restart the whole process.

a*****i
发帖数: 4391
14

I meant if you accidentally clicked at somewhere else, if you do something
with mouse and "lose" your highlight buffer.
Maybe if your have steady hands, it is not a problem. It has always been a
problem for me though.

【在 u*********r 的大作中提到】
: what do you mean by 'moving' highlight buffer?
m******t
发帖数: 2416
15

The difference is this:
With the ctrl-c/ctrl-v metaphor, it doesn't matter what you do between ctrl-
c and ctrl-v. The highlights are already saved. But with middle-mouse-button
-paste, the things you do between highlighting and clicking matter and often
do screw up the intended highlights.

【在 f*****2 的大作中提到】
:
: What is the difference if you "accidentally moved your highlight buffer"
: before you "ctrl+c" in your Windows? you still have to "restart the whole
: process". Did not see a point to shout "用鼠标中建点的是最弱智的一个
: implementation".

L*****k
发帖数: 13042
16
nod

ctrl-
button
often

【在 m******t 的大作中提到】
:
: The difference is this:
: With the ctrl-c/ctrl-v metaphor, it doesn't matter what you do between ctrl-
: c and ctrl-v. The highlights are already saved. But with middle-mouse-button
: -paste, the things you do between highlighting and clicking matter and often
: do screw up the intended highlights.

f*****2
发帖数: 75
17
See my question please. My question is "what if you messed up before you
ctrl+c". From that point of view, there is no difference between linux and
windows. If you don't have a steady hand, you could mess up anytime.
Here let us talk about mess up between ctrl+c and ctrl+v. Windows is better
here, but you have to type "ctrl+c" and "ctrl+v", and the system use more
memory to save what you copied and highlighted differently. For people like
me, I don't mess up with my selection (well, most people

【在 m******t 的大作中提到】
:
: The difference is this:
: With the ctrl-c/ctrl-v metaphor, it doesn't matter what you do between ctrl-
: c and ctrl-v. The highlights are already saved. But with middle-mouse-button
: -paste, the things you do between highlighting and clicking matter and often
: do screw up the intended highlights.

m******t
发帖数: 2416
18

Well, I'm sure we could always pick a point of view and from there the world
is all level and perfect. 8-)
better
like
make
All I'm saying is that the text saved by ctrl-c is safer than the text
merely
highlighted, and that's even when you have a steady hand, because, for
example,
if you are using a window manager that passes clicks through (which is, like,
most of them), the mouse click that brings the target window to the front (
so that
you can paste into it) is also passed to the window its

【在 f*****2 的大作中提到】
: See my question please. My question is "what if you messed up before you
: ctrl+c". From that point of view, there is no difference between linux and
: windows. If you don't have a steady hand, you could mess up anytime.
: Here let us talk about mess up between ctrl+c and ctrl+v. Windows is better
: here, but you have to type "ctrl+c" and "ctrl+v", and the system use more
: memory to save what you copied and highlighted differently. For people like
: me, I don't mess up with my selection (well, most people

f*****2
发帖数: 75
19
As I have said before "ctrl+c" is safer in terms of messing up between "ctrl
+c" and "ctrl+v" with the trade off of using more memory and more operations.
And in my linux computer I did not see your problem of "losing highlights by
focus on another window", I only see "lose highlights by highlighting other
text". Even you have that problem, you can always avoid that by:
1) click the title to focus the window
2) alt+tab to focus
3) change your mouse behavior to "focus by moving over a window"
non

【在 m******t 的大作中提到】
:
: Well, I'm sure we could always pick a point of view and from there the world
: is all level and perfect. 8-)
: better
: like
: make
: All I'm saying is that the text saved by ctrl-c is safer than the text
: merely
: highlighted, and that's even when you have a steady hand, because, for
: example,

a*****i
发帖数: 4391
20
Wow, if you are afraid of your copy/paste operation is gonna drain your
system of memory and CPU cycles, hmm, you probably wanna give it a bit more
swap space.
And I need to change my windows focus method just for copy/paste???
I am not even sure where that option is in GNOME/metacity!
I can totally see this being useful in fvwm environment though.
Besides, it is very hard to find a mouse with the middle button nowadays.
The scrolling wheel is quite difficult to press on all my mouses. (Logitech

【在 f*****2 的大作中提到】
: As I have said before "ctrl+c" is safer in terms of messing up between "ctrl
: +c" and "ctrl+v" with the trade off of using more memory and more operations.
: And in my linux computer I did not see your problem of "losing highlights by
: focus on another window", I only see "lose highlights by highlighting other
: text". Even you have that problem, you can always avoid that by:
: 1) click the title to focus the window
: 2) alt+tab to focus
: 3) change your mouse behavior to "focus by moving over a window"
: non

相关主题
how to build short cut to insert a text under vi?Knoppix 6.3 highlights
GNU screen 下面 vim 没有颜色?如何重新控制一个进程
请问有好的vim cvs plugin 吗?新人请教UBUNTU下有什么好的PDF READER
进入Linux版参与讨论
f*****2
发帖数: 75
21
well, I am tired to argue against you guys. I just have several points, then
I will stop:
1) Don't blame the system just because you don't know how to use it.
2) Don't use it if you don't like it.
3) Linux is better not because it is more user-friendly (although it is not
bad at this), linux is good because it is more secure and more stable. It is
providing better performance with lower hardware requirement. I have many
linux servers and desktops, and many of them don't need a restart for 1+
yea

【在 a*****i 的大作中提到】
: Wow, if you are afraid of your copy/paste operation is gonna drain your
: system of memory and CPU cycles, hmm, you probably wanna give it a bit more
: swap space.
: And I need to change my windows focus method just for copy/paste???
: I am not even sure where that option is in GNOME/metacity!
: I can totally see this being useful in fvwm environment though.
: Besides, it is very hard to find a mouse with the middle button nowadays.
: The scrolling wheel is quite difficult to press on all my mouses. (Logitech

m******t
发帖数: 2416
22

ctrl
operations.
by
other
It works most of the time, of course, and for me too. Or we would be
listening
to some much louder noise, wouldn't we?
In other words, "be careful and pay attention". There is nothing wrong
with that in principle. But then, for something as trivial as copy/paste
that people do countless times a day, it just seems very obnoxious to
require the user to follow a 3(THREE) step program every time.
Err... I'm sorry, but this particular "system" we are talking about is a HC

【在 f*****2 的大作中提到】
: As I have said before "ctrl+c" is safer in terms of messing up between "ctrl
: +c" and "ctrl+v" with the trade off of using more memory and more operations.
: And in my linux computer I did not see your problem of "losing highlights by
: focus on another window", I only see "lose highlights by highlighting other
: text". Even you have that problem, you can always avoid that by:
: 1) click the title to focus the window
: 2) alt+tab to focus
: 3) change your mouse behavior to "focus by moving over a window"
: non

f*****2
发帖数: 75
23
Well, You don't need to follow all 3 steps, anyone will do; I just give you three choices.
You may want to try the 3rd one, it will change your mouse behavior, it might bring you some new and interesting experience.
I guess in most linux you can config that on Preference -> Desktop. Or something like that.

【在 m******t 的大作中提到】
:
: ctrl
: operations.
: by
: other
: It works most of the time, of course, and for me too. Or we would be
: listening
: to some much louder noise, wouldn't we?
: In other words, "be careful and pay attention". There is nothing wrong
: with that in principle. But then, for something as trivial as copy/paste

a*****i
发帖数: 4391
24

then
not
is
Windows,
Dude, I have been using Linux since 1997.

【在 f*****2 的大作中提到】
: well, I am tired to argue against you guys. I just have several points, then
: I will stop:
: 1) Don't blame the system just because you don't know how to use it.
: 2) Don't use it if you don't like it.
: 3) Linux is better not because it is more user-friendly (although it is not
: bad at this), linux is good because it is more secure and more stable. It is
: providing better performance with lower hardware requirement. I have many
: linux servers and desktops, and many of them don't need a restart for 1+
: yea

m******t
发帖数: 2416
25
(Didn't see this post yesterday)
Not to carry on this pointless debate, but, man, you are bound to
have some big _unpleasant_ surprise down the road if you think
linux is _immune_ to virus and adware.

not
is
Windows,

【在 f*****2 的大作中提到】
: Well, You don't need to follow all 3 steps, anyone will do; I just give you three choices.
: You may want to try the 3rd one, it will change your mouse behavior, it might bring you some new and interesting experience.
: I guess in most linux you can config that on Preference -> Desktop. Or something like that.

u*********r
发帖数: 2735
26
no surprise in 10 years here, so far. what's your experience?

【在 m******t 的大作中提到】
: (Didn't see this post yesterday)
: Not to carry on this pointless debate, but, man, you are bound to
: have some big _unpleasant_ surprise down the road if you think
: linux is _immune_ to virus and adware.
:
: not
: is
: Windows,

m******t
发帖数: 2416
27

I haven't had any myself, but my point is that it's dangerous to
think linux is _immune_ to these things.
This was just on slashdot:
http://linux.slashdot.org/story/09/09/12/1413246/First-Botnet-of-Linux-Web-Servers-Discovered

【在 u*********r 的大作中提到】
: no surprise in 10 years here, so far. what's your experience?
a*****i
发帖数: 4391
28

It is incredibly easy to write a Linux virus. Just put a line rm -rf * in
your respected deb or rpm spec
file.
But the problem is, the 'virus' won't be spreading around the internet like
STD in Sex board. It
might screw several people that were using it for testing purpose, but
thanks to open source, it will
be spot quickly and fixed in no time.
Also thanks to the different version , different distribution of Linux, it
will become a huge headache
for the virus makers to write something that wil

【在 m******t 的大作中提到】
:
: I haven't had any myself, but my point is that it's dangerous to
: think linux is _immune_ to these things.
: This was just on slashdot:
: http://linux.slashdot.org/story/09/09/12/1413246/First-Botnet-of-Linux-Web-Servers-Discovered

f*****2
发帖数: 75
29
So far in my 10+ years experience, the only surprise I got from linux is
hard drive crash :). Never see a surprise such as popup advertisement box,
or iexplorer.exe/explorer.exe eat up all your CPU. So what surprise you got?

【在 m******t 的大作中提到】
: (Didn't see this post yesterday)
: Not to carry on this pointless debate, but, man, you are bound to
: have some big _unpleasant_ surprise down the road if you think
: linux is _immune_ to virus and adware.
:
: not
: is
: Windows,

m******t
发帖数: 2416
30

like
Yeah, that may be true in many cases, but certainly
not when you have some bug in the kernel network
code (remember that one from last month?)

【在 a*****i 的大作中提到】
:
: It is incredibly easy to write a Linux virus. Just put a line rm -rf * in
: your respected deb or rpm spec
: file.
: But the problem is, the 'virus' won't be spreading around the internet like
: STD in Sex board. It
: might screw several people that were using it for testing purpose, but
: thanks to open source, it will
: be spot quickly and fixed in no time.
: Also thanks to the different version , different distribution of Linux, it

相关主题
terminal窗口不能用Ctrl+V来粘贴?Vim: how can I jump to the previous cursor position?
如何在xterm里重定义键盘按键?linux都发展到现在了还有这么弱智的bug
firefox 点到地址栏里,为什么地址不自动被选呢?请教 VNC viewer 的问题
进入Linux版参与讨论
m******t
发帖数: 2416
31

got?
I haven't got any real surprises either, but
I guess I just had problems with the word "immune".
It just leads to false sense of security.

【在 f*****2 的大作中提到】
: So far in my 10+ years experience, the only surprise I got from linux is
: hard drive crash :). Never see a surprise such as popup advertisement box,
: or iexplorer.exe/explorer.exe eat up all your CPU. So what surprise you got?

1 (共1页)
进入Linux版参与讨论
相关主题
如何重新控制一个进程Emacs 粘贴 clipboard 居然要用 menu
新人请教UBUNTU下有什么好的PDF READERcopy/paste between vnc and windows (转载)
terminal窗口不能用Ctrl+V来粘贴?bash中比较无聊的功能
如何在xterm里重定义键盘按键?pcman fm的一个bug
firefox 点到地址栏里,为什么地址不自动被选呢?Putty term for ubuntu?
Vim: how can I jump to the previous cursor position?screen是干啥的
linux都发展到现在了还有这么弱智的bug键盘上的windows键
请教 VNC viewer 的问题how to build short cut to insert a text under vi?
相关话题的讨论汇总
话题: ctrl话题: linux话题: paste话题: copy话题: mouse