[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: accessing the Linux clipboard...
- Subject: Re: accessing the Linux clipboard...
- From: Carl Distefano cld@xxxxxxxx
- Date: Sun, 08 Feb 2009 16:14:57 -0500
Reply to note from Paul Lagasse Sun, 08 Feb
2009 15:15:20 -0500
Paul:
> I guess my "improvements" with respect to saving text to a
> macro would run up against the same sort of limitations that
> Xy4's clipboard has.
Correct.
> I have one issue with my nixtoxy.pm, the current version of
> which is encoded below:
...
> I discovered that when I use this to insert text into a newly
> created UNTITLED file with no text, the UNTITLED file is lost.
Ah, yes. I had totally forgotten about that behavior. If VA$MO on an
Untitled file is 0, it takes on the filename of a file CAlled into
the same window. You can get around it minimalistically by GTing an
empty S/G into the file before CAlling. That's sufficient to set
VA$MO to 1. (You can dispense, BTW, with "BX es 0Q2 ", as Editor
clears Error Suppression internally when a program finishes.)
XPLeNCODE v2.0
b-gin [UNTITLED]
[BX_]es 1[Q2_]
[GT_]{<}SV01,{>}{<}GT01{>}
{<}SV01,\xy4\clip\toxy{>}
[BX_]do/nv unix xclip -o -selection c > /home/
pgl/data/{<}PV01{>}[Q2_]
[BX_]ca/100 {<}PV01{>}[Q2_]
[BX_]ch /{010}/[wC]/[Q2_]
[BX_]st/nv {<}PV01{>}[Q2_]
[GT_]
[BX_]me {<}PV01{>}[Q2_]
{<}EX{>}[cr|lf]
-nd
XPLeNCODE
--
Carl Distefano
cld@xxxxxxxx