clipboard to/from console
I'm using mined as my editor, because it has a WordStar interface. As I understand it -- and I'm a stupid newbie, so I probably don't -- there's no standard way to copy a chunk of text from, say, Konqueror and then paste it into mined. (Certainly "clipboard" isn't mentioned anywhere in mined's lengthy documentation.) Therefore in order to paste in a little chunk of text from Konqueror I must paste it into Kate or some such conventional editor, save the result as a file, and read the file into the file I'm writing with mined. Yawn! Googling around for an answer takes me to Mpcb 0.4.2, athttp://www.icewalkers.com/Linux/Software/511140/mpcb.html . There appears to be no SuSE (or RH) package for this proggie. Well, I can probably figure out how to install it. But I hesitate, because it seems to me that what I want to do is so humdrum that there must be a standard way of doing it that I've stupidly overlooked. Comments?
On Sunday 15 June 2003 01:05, Peter Evans wrote:
I'm using mined as my editor, because it has a WordStar interface.
As I understand it -- and I'm a stupid newbie, so I probably don't -- there's no standard way to copy a chunk of text from, say, Konqueror and then paste it into mined. (Certainly "clipboard" isn't mentioned anywhere in mined's lengthy documentation.) Therefore in order to paste in a little chunk of text from Konqueror I must paste it into Kate or some such conventional editor, save the result as a file, and read the file into the file I'm writing with mined. Yawn!
Sure there is. Highlight the text to be copied with the left mouse button, click the middle mouse button to paste. -- Scott Jones (scott at exti dot net)
I'm using mined as my editor, because it has a WordStar interface.
As I understand it -- and I'm a stupid newbie, so I probably don't -- there's no standard way to copy a chunk of text from, say, Konqueror and then paste it into mined. (Certainly "clipboard" isn't mentioned anywhere in mined's lengthy documentation.) Therefore in order to paste in a little chunk of text from Konqueror I must paste it into Kate or some such conventional editor, save the result as a file, and read the file into the file I'm writing with mined. Yawn!
Scott Jones:
Sure there is. Highlight the text to be copied with the left mouse button, click the middle mouse button to paste.
Sounds great -- but nothing happens. Well, since I wanted to paste from Konqueror, I did that with left mouse and Ctrl-C. As for the Ctrl-V equivalent within mined: How did you guess that my rat is one of the <5% with a middle button? I tried the middle button, and, vaguely remembering having read somewhere that "middle button" could be fudged with left and right buttons, tried that combination too. I tried them with mined both in and not in WordStar keyboard mode. Nothing. Total number of bytes pasted: zero. Have I misunderstood, again? (The latest annoyance is -- But no, that had better wait for another thread. I have only ten minutes to get out of this building before it's locked up.)
On Sunday 15 June 2003 03:42, Peter Evans wrote:
Scott Jones:
Sure there is. Highlight the text to be copied with the left mouse button, click the middle mouse button to paste.
Sounds great -- but nothing happens.
Well, since I wanted to paste from Konqueror, I did that with left mouse and Ctrl-C. As for the Ctrl-V equivalent within mined:
How did you guess that my rat is one of the <5% with a middle button? I tried the middle button, and, vaguely remembering having read somewhere that "middle button" could be fudged with left and right buttons, tried that combination too. I tried them with mined both in and not in WordStar keyboard mode. Nothing. Total number of bytes pasted: zero.
Have I misunderstood, again?
Nope, no misunderstanding. I took a closer look. Mined uses the ncurses library for display. According to the ncurses FAQ: "I can't cut/paste in xterm This is a general FAQ relating to xterm. When an application sets xterm to any of its mouse tracking modes, it reserves the unshifted mouse button clicks for the application's use. Unless you have modified the treatment of the shifted mouse button events (e.g., with your window manager), you can always do cut/paste by pressing the shift key while clicking with the mouse." So, copy from another app would still be LMB-highlight, then shift-middle click to paste into mined. I've tried this, and it works in every terminal I tried, including xterm, konsole, gnome-terminal and aterm. -- Scott Jones (scott at exti dot net)
Peter Evans wrote:
How did you guess that my rat is one of the <5% with a middle button? I tried the middle button, and, vaguely remembering having read somewhere that "middle button" could be fudged with left and right buttons, tried that combination too. I tried them with mined both in and not in WordStar keyboard mode. Nothing. Total number of bytes pasted: zero.
Are you running mined in a terminal within X, or a pure text console (tty2, tty3 etc)? If you're in X, have you tried running mined inside konsole? There's an edit/paste entry in konsole's menu which sometimes works when the X clipboards don't. Highlight the text to be copied in the normal way, switch to the konosle and select edit/paste. If you're running mined on tty2 (or whatever) you could try gpm which supports copy'n'paste. I think what you'd have to do is (going from a vague memory), switch to your terminal, su to root, "rcgpm start", exit back to your normal user and you should find that your mouse is controlling a text cursor. If you then start mined in that terminal, and maybe try something like links as a browser in another terminal, you should be able to copy text (left mouse button, click and drag) from one terminal and paste (right click) into another when you switch terms. Maybe this'll help? sjb
sjb kindly points out that the console whoops I mean konsole has its own copy 'n' paste options, which work within an editor. Good grief, I never noticed that before. I was too used to Win32 console mode TSE Pro (under Take Command/32) and its own copy/paste options. Well, I did warn you that I was an ignoramus!
Why not run Wordstar in the Dos emulator? Or Wine?
Does Wine support cut and paste?
CWSIV
On Sun, 15 Jun 2003 15:05:21 +0900 Peter Evans
* Carl William Spitzer IV
Why not run Wordstar in the Dos emulator? Or Wine? Does Wine support cut and paste?
???? Why not simply select text with left mouse button, paste test with middle mouse button ? Works like a charm, between any X-application. (and yes, wine supports cut and paste (^c/^v in wine, left/middel mosue click in X) Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 ICT manager Direct:+31-10.280.1539 Jason Geosystems BV Fax :+31-10.280.1511 gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged.
The reason I ask is because I can cut in windows and paste into WordSTAR
for DOS running under windows.
Wine is an addon program but DOSEMU is included so I am not sure which to
use.
CWSIV
On Thu, 19 Jun 2003 09:24:28 +0200 Gerhard den Hollander
* Carl William Spitzer IV
(Wed, Jun 18, 2003 at Why not run Wordstar in the Dos emulator? Or Wine? Does Wine support cut and paste?
???? Why not simply select text with left mouse button, paste test with middle mouse button ?
Works like a charm, between any X-application.
(and yes, wine supports cut and paste (^c/^v in wine, left/middel mosue click in X)
Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 ICT manager Direct:+31-10.280.1539
Jason Geosystems BV Fax :+31-10.280.1511
gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
participants (5)
-
Carl William Spitzer IV
-
Gerhard den Hollander
-
Peter Evans
-
Scott Jones
-
sjb