On 3/22/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
Carl Lowenstein wrote:

> On 3/22/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
>
>> Carl Lowenstein wrote:
>>
>> > On 3/21/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
>> >
>> >> I regularly agree to a certain Terms of Use.  The first time I did
>> it, I
>> >> was in a hurry and didn't do my normal review of it.  What I did
>> instead
>> >> was to click-n-drag to highlight the whole thing, opened an editor,
>> >> middle-clicked (to paste), and saved it (calling it eula).
>> >>
>> >> Each day, I'm required to agree to the same Terms of Use.  At least I
>> >> want to make sure that it is the same.  So what I do each time is
>> >> highlight the entire text of it, open the editor, paste it, and
>> save it
>> >> as fula.  I wrote a simple bash script to compare the two files, and
>> >> another simple bash script to delete fula (so that the next time I
>> tell
>> >> the editor to save as fula, it doesn't ask me "Are you nutz?  Are you
>> >> *sure* you want to over write the one you already have?").
>> >>
>> >> Here's my question:  Is there a way that I can (after I highlight the
>> >> entire text of the Terms of Use, as currently displayed) compare the
>> >> contents of the clipboard (or whatever the appropriate name)
>> directly to
>> >> the file "eula"?
>> >>
>> >
>> > Use a different editor?  Don't use an editor at all?
>> >
>> > $ cat > fula           # cursor advances to next line, you paste from
>> > the clipboard and
>> >                           # type <enter> <ctrl-D>
>> > $
>> >
>> >    carl
>>
>> $ cat > fula
>
>
> I see no results from "paste from clipboard" here.  Either the paste
> didn't work or my instructions did not come through clearly.  The
> contents of the clipboard should show up on the terminal screen when
> they are pasted.


I *had* not read correctly your instruction.  I tried again, and got a
fula  that matches  eula  perfectly except for an extra character at the
end.  I tried your instruction yet again, only this time without the
<enter>, and got a  fula  the same size as  eula  and diff offered nothing.

The <enter> was to make sure that the text was properly terminated so
that ^D would
end the "cat" command.  Looks like your sample in the paste buffer did
not need that.

Is there a way during pasting to suppress the screen output?

I don't know of any using standard utilities.  I looked around for a
bit with Google and didn't get any more clues.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to