[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: accessing the Linux clipboard...
- Subject: Re: accessing the Linux clipboard...
- From: "John K. Mackenzie" jkm3@xxxxxxxx
- Date: Sun, 08 Feb 2009 09:56:01 -0500
Bravo, folks! I still have my original 5 lb XyWrite
looseleaf manual. I guess it goes back to the early 80's? Late 70's?
No no date found. Sure paid a lot of bills. Delighted to see it's
being used and improved.
John K. Mackenzie
At 09:37 AM 2/8/09, you wrote:
Carl Distefano wrote:
I wonder if the xytonix.sh
script can be tweaked so that input
from "frxy" stops when the EOF char is encountered?
Carl, thanks for the response. I've been experimenting some
more and improved on the XPL program and script. I switched to saving the
defined text to a macro, and the macro to a file, which was less
complicated and didn't require cleaning out the contents of the file; it
has so far accurately copied the selected text every time. But I now want
take a look at what you sent.
But as a quick reply to yr final comment, I did some online research and
found a way to kill the EOF using the script; my revised xytonix.sh
script is:
#! /bin/bash
#
# for xywrite/dosemu, for use with xytonix.pm
# removes EOF from frxy and outputs result to frxya
# copies frxya to clipboard for system use
# deletes frxya
#
tr -d '\032' < /home/pgl/data/xy4/clip/frxy >
/home/pgl/data/xy4/clip/frxya;\
xclip -i -selection c < /home/pgl/data/xy4/clip/frxya;\
rm /home/pgl/data/xy4/clip/frxya
Paul Lagasse