Cannonfodder Posted April 18, 2003 Report Share Posted April 18, 2003 When I use my middle button to copy text from a terminal, the copied text immediately goes to my terminal's standard input and get's executed. Anyone know how to prevent this? E.g. $ls -1 miniserv.error miniserv.log miniserv.pid sessiondb.dir* sessiondb.pag* webmin.log Use mouse to select and hit middle button to copy. I get.. root /var/webmin $miniserv.error bash: miniserv.error: command not found root /var/webmin $miniserv.log bash: miniserv.log: command not found root /var/webmin $miniserv.pid bash: miniserv.pid: command not found root /var/webmin $sessiondb.dir* bash: sessiondb.dir: command not found root /var/webmin $sessiondb.pag* bash: sessiondb.pag: command not found root /var/webmin $webmin.log bash: webmin.log: command not found root /var/webmin $ Gotta be a better way :) Quote Link to comment Share on other sites More sharing options...
qnr Posted April 18, 2003 Report Share Posted April 18, 2003 Just curious. Why are you copying it to a terminal, and not to a text editor or something? Quote Link to comment Share on other sites More sharing options...
bvc Posted April 18, 2003 Report Share Posted April 18, 2003 copy and paste this; ls -l /var/webmin | grep error* && ls -l /var/webmin | grep log* && ls -l /var/webmin | grep pid* && ls -l /var/webmin | grep dir* && ls -l /var/webmin | grep pag* If you just want to see the one "miniserv.error ", put it instead of error*. Also, according to the $, you're doing it as a user. $USERS can't even read that dir can they?...or have you set it so you can? Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted April 18, 2003 Author Report Share Posted April 18, 2003 You guys are missing what I'm saying which means I explained it goofy :roll: I want to copy and paste to an editor but when I do the mouse select and middle button click, it copies it and immediately pastes it back to the terminal. I just want to copy it. I just read I can do a shift-control-c or v to do this but would rather use my mouse. Quote Link to comment Share on other sites More sharing options...
johnnyv Posted April 18, 2003 Report Share Posted April 18, 2003 You guys are missing what I'm saying which means I explained it goofy :roll: I want to copy and paste to an editor but when I do the mouse select and middle button click, it copies it and immediately pastes it back to the terminal. I just want to copy it. I just read I can do a shift-control-c or v to do this but would rather use my mouse. Are you saying that you highlight text in a console window by holding down the left mouse button then you let go of the left mouse button. Then you make your text doc window active and left click inside it to get an active cursor then press the middle mouse button to paste. But somehow it pastes the text into the unfocussed console window instead?. The procedure i outlined works for me in 9.1 eg.. [john@bob john]$ ls 2446661_200.mov GNUstep/ render/ autosave/ gui_messages.ini rpms/ BCE4012IM.PDF icon.xpm shared/ blackbox-menu java/ star_control/ bombsquad.jpg kazaa* temp/ bp26.avi klackon_anim.mov Testing-Guide.pdf civgame.log linuxq3apoint-1.32b.x86.run* themes/ compssUsers.flat mame/ tmp/ cyn_anim.mov media/ urban.xpm dc++/ mirrors mandrake users/ Desktop/ MOO3_teaserintro.mov vegastrike/ dhal_files/ npq3plug.zip viking_kittens.swf dhal.htm nwn/ wine/ dmclient@ phaser.wav winebackup/ Documents/ php-gtk/ wine bak/ downloads/ plugin131_02.trace wine.tar.bz2 dvd/ PublicHubList.config.bz2 wings_crash.dump flash_linux/ punk_kittens.swf wolf-linux-1.4-goty.x86.run* garnome/ qstat/ wolf-linux-update-1.41.x86.run* gently.swf qstat25b/ xine/ gnome/ qt6dlls.tar.bz2 [john@bob john]$ I really need to clean up my directories :) Quote Link to comment Share on other sites More sharing options...
qnr Posted April 18, 2003 Report Share Posted April 18, 2003 Well, johnnyv probably said it better, but it sounds to me like you are combining both operations. To copy, you just drag the mouse over the text while holding down the left mouse button. To paste, you put the cursor where you want it in the editor, and then press the middle-mouse button. Quote Link to comment Share on other sites More sharing options...
bvc Posted April 18, 2003 Report Share Posted April 18, 2003 sounds to me like that's what he's doing, but it's not working...or rather...it's over working :shock: Quote Link to comment Share on other sites More sharing options...
qnr Posted April 18, 2003 Report Share Posted April 18, 2003 <nod> just making sure though because he said "when I use my middle button to copy text" Quote Link to comment Share on other sites More sharing options...
bvc Posted April 18, 2003 Report Share Posted April 18, 2003 it copies it and immediately pastes it back to the terminal :wink: Quote Link to comment Share on other sites More sharing options...
qnr Posted April 18, 2003 Report Share Posted April 18, 2003 Well, I understand what you are saying, but I still stand by my point. From the way he explains it, it sounds like he is doing it simultaneously (as in mouse drag and middle click to copy). Granted, this is cannonfodder, and he probably isn't, but that is what he appears to be saying. (but I'll stop now :) ) Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted April 18, 2003 Author Report Share Posted April 18, 2003 ooooh I got a rep! :mrgreen: :mrgreen: I think I see what I'm doing wrong... I'm assuming I have to select and then hit the middle button to get text into the copy buffer. It's just select and its already in the copy buffer. Thank yew all for being here :P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.