[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Dosemu, Linux, XyWrite -- another clipboard kludge
- Subject: Re: Dosemu, Linux, XyWrite -- another clipboard kludge
- From: "Patricia M. Godfrey" priscamg@xxxxxxxx
- Date: Fri, 07 Dec 2007 11:09:25 -0500
Bob Zimmerman wrote:
1. Xywrite 3.55 has a command, SAVEDEF, which can save any defined text into a file, like so:
SAVEDEF c:clip.txt
assuming C: is where clip.txt normally resides.
2. Put the following in your keyboard.kbd file, like so:
=BC,S,A,V,E,D,E,F, ,c,:,c,l,i,p,.,t,x,t,XC,CH
Xy 4 has it too (can also be entered as savesel), BUT I think you
would need savedef/nv c:clip.txt to avoid having to OK
overwriting an existing clip.txt from the last time you did it,
no? Does the /nv switch also work in Xy#?
By hitting this keystroke after making a selection in Xywrite, the selection would then be saved to
clip.txt.
3. From here, you could set up a Linux script, assigned to a shortcut key, to use xsel to put
clip.txt into the system clipboard. Or you could create a macro with Xmacro to select the text of
clip.txt and copy it into the clipboard. Either method should work.
In fact, if done right in Xmacros I am pretty sure the macro would only require one keystroke to
both copy clip.txt into the clipboard and then paste it wherever you want it.
Just an idea.
Bob
__________________________
4708 Montgomery Place
Beltsville, Maryland 20705
301-937-0394
See my books and essays at:
http://members.bellatlantic.net/~vze3cxxp/zimbib.htm
--
Patricia M. Godfrey
priscameg@xxxxxxxx