Newb: Copy & Paste in shell


Forum: Other Help Topics
Topic: Newb: Copy & Paste in shell
started by: indolering

Posted by indolering on June 10 2005,05:16
Okay, I have a huge error I need to ask about.  But I cannot copy and paste out of the shell.  Shift+ctrl+c, ctrl+c, left click, no luck.  I am tearing my hair out over such a simple problem!
Zach

Posted by skaos on June 10 2005,10:17
Mark it with the left mouse button, then use the middle button to paste. This usually works.
Posted by adssse on June 10 2005,14:40
I was wondering the same thing. What if you have a two button mouse?
Posted by mikshaw on June 10 2005,14:43
In that case, try Shift+Insert to paste
Posted by indolering on June 10 2005,16:53
I don't have a three button mouse.  And neither of those posts tell me how to copy out of the shell.
Posted by cbagger01 on June 10 2005,17:00
If you are using a 2-button mouse and you have "3 button" emulation turned ON in your .xserverrc file, you can simulate a third mouse button.

How?

Press both mouse buttons AT THE SAME TIME and it will behave like it is a middle mouse button.

Posted by indolering on June 12 2005,09:00
Ah, well, it is not.  Could you please please post the bit for this as everywebsite I can find impliments this function in another X config file or just talks about it.  Could you post the function so I get the sytax right?
Thanks
Zach

Posted by cbagger01 on June 12 2005,17:25
1) Open up your /home/dsl/.xserverrc file in a text editor.  You can do this by starting emelfm and press the "H" button at the top to reveal the hidden files. All files that begin with a "." are hidden files.  Click once on the file to highlight it and then right click on the file and choose User -> View in Beaver

2) Put your cursor before the "-mouse" option in the first line and change it so it looks like this: "-2button -mouse"

3) Save your file and exit beaver.

4) Exit window manager from the main menu.

5) Type "startx" at the command prompt to restart x windows.

Posted by indolering on June 12 2005,17:57
Ah yes, that worked.  But it only places the selected text to the command prompt, not the the clip board.  I cheated and creeated a Nano/pico file and saved it.  Is there a way to get it to the clip board?
Thanks
Zach

Posted by cbagger01 on June 12 2005,21:47
Not that I know of.

However, it is possible to paste it into other programs, not just the command prompt.

For example, open a Beaver document (Choose New Document) and try pasting in some highlighted text.

Posted by indolering on June 14 2005,18:27
Thanks a loc cb, I think there is a bug in the Xsetup script.  I have done a new fresh frugal install and while th -2button thing is now there it is in the wrong place.
Posted by cbagger01 on June 15 2005,02:18
The order of the parameter -2button should not be a problem, unless it is placed after the "-I" parameter.

Anything additional parameters placed after the -I parameter are ignored.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.