Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

How to copy paste from the shell

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
EAD
Guru
Guru
Posts: 352
Joined: Wed Jul 05, 2006 1:43 pm

How to copy paste from the shell

  • Quote

Post by EAD » Wed Jul 19, 2006 2:02 pm

Hi.
How can I by using only the text shell (CLI) can copy text from the screen and paste if to ther places like browser links and so on?
:?:
Top
forgotten1
Guru
Guru
User avatar
Posts: 477
Joined: Tue Jan 11, 2005 4:04 pm
Location: East Coast, USA

  • Quote

Post by forgotten1 » Wed Jul 19, 2006 2:13 pm

Generally, you'll want mouse support, see: Using a Mouse within the Console if you haven't already done so.

Then to copy, let's say an error message shown on the console, you select the text with the mouse (left click, drag), and then right click in the browser to paste.

Hope that helps
Top
nephros
Advocate
Advocate
User avatar
Posts: 2139
Joined: Fri Feb 07, 2003 2:46 am
Location: Graz, Austria (Europe - no kangaroos.)
Contact:
Contact nephros
Website

  • Quote

Post by nephros » Wed Jul 19, 2006 2:36 pm

forgotten1 wrote:you select the text with the mouse (left click, drag), and then right click in the browser to paste.
While this is of course configurable, the classic unix setup (within X and on Linux cnsole with GPM) is left click selects, right click extends selection, and middle click pastes.
Please put [SOLVED] in your topic if you are a moron.
Top
Dieter@be
Guru
Guru
Posts: 314
Joined: Sun Apr 03, 2005 7:19 pm
Location: Wetteren, Belgium
Contact:
Contact Dieter@be
Website

  • Quote

Post by Dieter@be » Wed Jul 19, 2006 2:39 pm

i (have to) use the middle button to paste :?
Nothing beats a ride on the Gentoo learning curve.
2 Gentoo Linux boxes - 2 Arch Linux boxes - Love all four
Say no to i386 binaries! -- Adopt an unanswered topic
Top
TheJoker89
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 10, 2006 6:31 pm

  • Quote

Post by TheJoker89 » Sun Jan 21, 2007 8:35 pm

how can i use the right button to paste?
gib gates keine chance
Top
nephros
Advocate
Advocate
User avatar
Posts: 2139
Joined: Fri Feb 07, 2003 2:46 am
Location: Graz, Austria (Europe - no kangaroos.)
Contact:
Contact nephros
Website

  • Quote

Post by nephros » Sun Jan 21, 2007 11:04 pm

TheJoker89 wrote:how can i use the right button to paste?
In what program?
Please put [SOLVED] in your topic if you are a moron.
Top
TheJoker89
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 10, 2006 6:31 pm

  • Quote

Post by TheJoker89 » Mon Jan 22, 2007 7:57 am

in the bash shell with gpm ^^
gib gates keine chance
Top
nephros
Advocate
Advocate
User avatar
Posts: 2139
Joined: Fri Feb 07, 2003 2:46 am
Location: Graz, Austria (Europe - no kangaroos.)
Contact:
Contact nephros
Website

  • Quote

Post by nephros » Mon Jan 22, 2007 3:18 pm

Take a look at the gpm man page.

I think adding "-B 132" to the APPEND variable in /etc/conf.d/gpm will get you what you want.

HTH.
Please put [SOLVED] in your topic if you are a moron.
Top
linuxfriese1
n00b
n00b
Posts: 6
Joined: Wed Jan 03, 2007 9:09 pm

Re: How to copy paste from the shell

  • Quote

Post by linuxfriese1 » Tue Jan 23, 2007 5:59 pm

EAD wrote:How can I by using only the text shell (CLI) can copy text from the screen and paste if to ther places like browser links and so on?
With the utility "screen" - a terminal multiplexer with nifty features. Take some time to read the man page.
Top
TheJoker89
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 10, 2006 6:31 pm

  • Quote

Post by TheJoker89 » Sun Jan 28, 2007 9:53 am

nephros wrote:Take a look at the gpm man page.

I think adding "-B 132" to the APPEND variable in /etc/conf.d/gpm will get you what you want.

HTH.
Yeah this works but not quite good, when i click on text with left mouse button, paste it with second button and then use the middle button
it pastes a second time and then the right mouse button does not work anymore for pasting but selecting more text
gib gates keine chance
Top
ICONOCLASM
n00b
n00b
Posts: 5
Joined: Sat Jan 13, 2007 2:27 am

  • Quote

Post by ICONOCLASM » Sun Jan 28, 2007 8:14 pm

I second screen.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic