LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2004, 05:04 PM   #1
wogga
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
copy pasting in emacs


I was trying to copy paste, but highlighting the text using the mouse. i managed to highlight the text but i could not copy it with the right click as it would happen in windows xp

how can i copy the text in linux using the mouse?
 
Old 06-15-2004, 06:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If it's highlighted, it's in X' clipboard. To paste it just
middle-click.



Cheers,
Tink
 
Old 06-16-2004, 06:34 AM   #3
wogga
Member
 
Registered: Apr 2004
Posts: 82

Original Poster
Rep: Reputation: 15
it is highlighted
unfortunately i have two button mouse.
how do i do it with a two button mouse?
 
Old 06-16-2004, 06:37 AM   #4
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Rep: Reputation: 15
highlight it, ctrl +c (to copy), ctrl + v (to paste)
 
Old 06-16-2004, 09:44 AM   #5
sporadic235
Member
 
Registered: May 2004
Location: Osaka
Distribution: FreeBSD 5.2, Mandrake 9.2
Posts: 39

Rep: Reputation: 15
you would normally do a ctrl-c ctrl-v if you are using other editors besides emacs.
if you have a two button mouse, you can emulate the "middle button" by pressing
them both at the same time.

or you can map the meta key to your windows logo key and do
meta-w
ctrl-y
 
Old 06-16-2004, 12:46 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by wogga
it is highlighted
unfortunately i have two button mouse.
how do i do it with a two button mouse?
In your /etc/X11/XF86Config put
Option "Emulate3Buttons"
in the mouse section ... then, if you press both buttons at
the same time, they'll be your middle-button.
 
Old 06-16-2004, 02:45 PM   #7
wogga
Member
 
Registered: Apr 2004
Posts: 82

Original Poster
Rep: Reputation: 15
i tried to edit the XF86Config file in emacs, i got "buffer is read only #<buffer XF86Config>

please help
 
Old 06-16-2004, 03:12 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
*sigh*

Open console
su -
emacs -nw /etc/X11/XF86Config



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
Emacs copy predefined text jrdioko Linux - Software 2 09-11-2005 03:44 PM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
Questions on copy+pasting, gdesklets and more! Tyir Linux - General 2 03-23-2004 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 PM.

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