[aklug] Re: browser copy-and-paste vulnerability

From: Arthur Corliss <acorliss@nevaeh-linux.org>
Date: Wed Apr 10 2013 - 23:25:31 AKDT

On Wed, 10 Apr 2013, Royce Williams wrote:

> On Windows, at least, ESC itself can be cut-and-pasted. I sometimes use
> Notepad to compose quick poor-man's macros that include escape characters
> to paste into vim. I'm not sure if such characters can be included in HTML
> source, though.

Vim supports binary entry like that, with CTL+v. Should save you some time
there.

Vim, in particular, has pretty good support for various system clipboards.
I'm going to have to test some things just to verify, but I don't recall
that it would allow you change modes during a paste. If you're compiled
without clipboard support or you're running curses mode in xterm, then it
probably does see that as a series of keystrokes. The ":q! {misc shell
commands}' would still fail, though, since once vi exits the pipe is broken
for input. Something like ':!{misc shell commands}' would do the trick,
though.

         --Arthur Corliss
           Live Free or Die
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Apr 10 23:25:43 2013

This archive was generated by hypermail 2.1.8 : Wed Apr 10 2013 - 23:25:43 AKDT