LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2009, 03:57 PM   #1
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385

Rep: Reputation: 42
copying text from terminal BASH window to a webpage.


How do you do that? Drag and drop doesn't work. Yet, I see this done all of the time.

Yes, this is a stupid question.
 
Old 10-30-2009, 04:12 PM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
1. MARK with left mouse button.

2. PASTE with middle mouse button (or with both left and right buttons).

The above assumes you configured properly the mouse in your FreeBSD.
 
Old 10-30-2009, 04:13 PM   #3
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
Depending on what you're using for a Window Manager (let's assume Gnome or KDE), just select the text with the mouse, then right-click and select "copy" or "paste" to go the other direction.
 
Old 10-30-2009, 04:14 PM   #4
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385

Original Poster
Rep: Reputation: 42
Answered my own question

I'm trying to do this. In the upper left of the BASH window, there is an option called Edit.

Highlight the text. Go to Edit. Select Copy. Then go to the html page and select paste.

Just using Control-C or Control-Shift C to paste doesn't work. You have to use the drop down from Edit. This is true for my PC-BSD box and Fedora 8.

Who knows? This might help someone.


Deet De Dee
 
Old 10-30-2009, 07:13 PM   #5
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by mdlinuxwolf View Post
I'm trying to do this. In the upper left of the BASH window, there is an option called Edit.

Highlight the text. Go to Edit. Select Copy. Then go to the html page and select paste.

Just using Control-C or Control-Shift C to paste doesn't work. You have to use the drop down from Edit. This is true for my PC-BSD box and Fedora 8.
Yes, that's right. Those control characters have a different purpose in the shell, so they can't be used to control copying. You need to use the menu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Display text of webpage from terminal billamn Linux - Newbie 5 08-18-2006 10:21 PM
copying text from terminal Linuxuser_81 Linux - Newbie 4 09-30-2005 01:12 AM
copying a lot of files with bash or terminal. rob-n Linux - Newbie 3 04-13-2004 06:01 PM
Terminal Window with no text pawlub Linux - Software 2 03-31-2004 03:19 PM
Terminal Text Copying Hitokiri_X Linux - General 4 06-18-2002 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration