From twaugh@redhat.com Thu Jun  8 11:18:25 2000
Date: Thu, 8 Jun 2000 11:41:44 +0100
From: Tim Waugh <twaugh@redhat.com>
To: Jens Wagner <jwagner@hexonet.de>
Subject: Re: vnc on linux as a support tool
Message-ID: <20000608114144.A32520@redhat.com>
References: <20000605094249.A32594@darwin.ntu.edu.au> <393BA9F1.65EE97EF@hexonet.de> <20000605145159.I4874@redhat.com> <393BC8FB.873664EC@hexonet.de> <20000606093839.D10272@redhat.com> <393CD6E9.2C13AEF7@hexonet.de> <20000606121012.S10272@redhat.com> <393D1178.B9D040A3@hexonet.de> <20000606162227.O12301@redhat.com> <393DE0D0.4E679D35@hexonet.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC"
X-Mailer: Mutt 1.0.1i
In-Reply-To: <393DE0D0.4E679D35@hexonet.de>; from jwagner@hexonet.de on Wed, Jun 07, 2000 at 05:42:40AM +0000
Status: RO
Content-Length: 1984
Lines: 81


--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii

On Wed, Jun 07, 2000 at 05:42:40AM +0000, Jens Wagner wrote:

> head ::= <version>[<password-decl>][<shared-flag>]
> version ::= 'RFM 001.000\n`

Yes.

> password-decl ::= 'password ' <string> '\n'

I'll make it line-based.

> keyevent ::= 'key ' ('up ' | 'down ' | 'click ') (<keysym>)+
> keysym ::= '"' [ascii-char32-127]+ '"' | ['0x'] [0-9]+

I was hoping to use actual KeySyms (like BackSpace) as well if
possible.

> pointerevent is closer to the protocol.

Yes, I'd misread the spec as having deltas.

Here's my new attempt:

file ::= version password? shared? default-delay? line*
version ::= 'RFM 001.000\n'
password ::= 'password ' string '\n'
string ::= '"' char* '"' | "'" char* "'"
char ::= '\\' | '\"' | '\'' | [^\\\n]
shared ::= 'shared\n'
default-delay ::= 'default ' delay '\n'
delay ::= 'delay ' time
time ::= number 's'
       | number 'ms'
number ::= [0-9]+
line ::= command? comment? '\n'
command ::= key delay?
          | press delay?
          | type delay?
          | pointer delay?
          | button delay?
          | cut
key ::= 'key ' keysym ' up'
      | 'key ' keysym ' down'
keysym ::= keysymname | '0x' [0-9]{2} | '0x' [0-9]{4}
keysymname ::= [A-Za-z0-9_]+
press ::= 'press ' keysym
type ::= 'type ' string
pointer ::= 'pointer ' delta ' ' delta
          | 'pointer ' number ' ' number
delta ::= '+' number
        | '-' number
button ::= 'button ' number ' up'
         | 'button ' number ' down'
cut ::= 'cut\n' base64-data
comment ::= ' '? '#' .*

<base64-data> is any number of lines in RFC2045 base64 format,
terminated by a newline or comment.

Comments?

Tim.
*/

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5P3hozNKoNUTpbygRAVWWAKCEPOSl1efcCxelxWE66qBE/QU+HgCdFiBm
T1muewG/fivU2zQw4TaxVDY=
=uOJt
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--
