DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default is there a way to cut and paste text from xterm ?

Hi Daemonphilists !!

How are you ?

well I have a question that has been preoccupying me for weeks :

Is there a way to cut and paste text from xterm to xterm or file ?
I mean ordinary xterm , not kde konsole or gnome terminal ..

I must admit -& you can smile at this or laugh outloud- that lately I had to install kdebase simply to take advantage of its konsole so I can cut and paste long text , mainly config or rc.conf related text ..

the other stumbling block .. if I can set keyboard in fvwm to shift layouts I will bid gnome farewell ..
Reply With Quote
  #2   (View Single Post)  
Old 27th January 2012
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 582
Thanked 9 Times in 9 Posts
Default

To highlight click and hold the L mouse button while moving the cursor over the text. To paste move the cursor to the desired terminal/application and click the scroll button (middle mouse key if you have a classic unix mouse) or depress the L and R mouse buttons simultaneously if you are using a touchpad in a laptop
Reply With Quote
  #3   (View Single Post)  
Old 27th January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Friend Shep ,thanks and sorry to say that I didn't get your point ..
I can select text sure but how to copy it then paste it on some other xterm or opened vi text .. I still do not know how ..
help appreciated ..
I am on Acer Aspire 5610 ..
Reply With Quote
  #4   (View Single Post)  
Old 27th January 2012
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 582
Thanked 9 Times in 9 Posts
Default

I am not familair with the Aspire 5610 but on most laptops there should be 2 buttons immediately above or below the touchpad itself. Leave the text highlighted and lightly move the cursor to the other xterm/application. To paste depress both buttons simultaneously.

Xterm does not normally use a clipboard but will put highlighted text into a buffer from which it will paste - no need for a copy step. If you loose the highlighted text attempting to move the cursor there will be nothing in the buffer to paste.
Reply With Quote
  #5   (View Single Post)  
Old 28th January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Shep , Thanks very much
It works , like you said last : by pression both L and R mouse buttons .
bye bye konsole !
Reply With Quote
  #6   (View Single Post)  
Old 30th January 2012
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

In X Window system, "highlight" is the same as "copy". It puts the highlighted text into the X Window clipboard. And then you just paste it wherever using the right-mouse button.

And it works at the FreeBSD console as well, before X has loaded.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 30th January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Phoenix !!
In OpenBSD , I already have set (wsmoused_flags="") in rc.conf.local ..
it does the same I bet ..
the more you learn about the BSDs , the more you get enamored of them ..
and truly and this is My VPoint , the more you learn about Win* , the more you realize how big the loss is .. or better yet : how big the lie is ..
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm color does not behave properly. pieterverberne OpenBSD General 2 19th August 2009 05:17 PM
X-Window style copy&paste in MS Windows? Carpetsmoker Other OS 11 16th October 2008 10:43 AM
xterm End key graudeejs General software and network 1 24th August 2008 04:55 PM
Cut and Paste with aterm revzalot OpenBSD General 6 13th August 2008 11:18 PM
Should be easy.... Keyboard copy n paste WeakSauceIII OpenBSD General 4 11th May 2008 07:32 PM


All times are GMT. The time now is 06:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick