Go to file
Thomas Goirand 2f5c7f7ab0 Adds missing mapping of the alphanumeric minus key. (spice-html5)
Hi,

I'm the Debian Developer working on spice-html5 (eg: I uploaded
spice-html5 recently in Debian Sid).

I noticed that the minus key on the alphanumeric block wasn't mapped.
This was particularly annoying on my laptop keyboard when using
spice-html5 to access remote servers (eg: many commands needs argument
with the minus sign), with the "no map for 173" alert box popping each
time...

The attached patch made it work with Firefox 21 (in fact, Iceweasel 21
in Debian). I don't know if it works on other browsers, but it worked
for me.

Cheers,

Thomas Goirand (zigo)

From ad9d69eb09f63538db06664a3d88d48ff56b2abb Mon Sep 17 00:00:00 2001
From: Thomas Goirand <thomas@goirand.fr>
Date: Sat, 25 May 2013 23:56:14 +0800
Subject: [PATCH] Adds missing mapping of the alphanumeric minus key.
2013-05-28 09:14:46 -05:00
thirdparty initial 2012-06-04 17:22:01 +03:00
.gitignore Add the ability to build an rpm. 2013-02-11 09:17:53 -06:00
apache.conf.sample No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
atKeynames.js work to improve keyboard keycode -> scancode processing 2012-08-17 13:54:53 +03:00
bitmap.js initial 2012-06-04 17:22:01 +03:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
cursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
display.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
enums.js implement handing of MJPEG display streams 2012-09-06 10:11:16 +03:00
inputs.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
lz.js support decompressing LZ_IMAGE_TYPE_XXXA images 2012-10-11 17:32:55 -05:00
main.js added on succeess event 2013-03-19 09:00:38 -05:00
Makefile No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
png.js initial 2012-06-04 17:22:01 +03:00
quic.js quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding 2012-09-24 11:03:13 -05:00
README initial 2012-06-04 17:22:01 +03:00
simulatecursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
spice_auto.html Correct spice_auto.html for a missing include for the spice array buffer. 2013-05-23 14:41:00 -05:00
spice-html5.spec.in Use release 2 2013-03-08 13:56:36 -06:00
spice.css initial 2012-06-04 17:22:01 +03:00
spice.html Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
spicearraybuffer.js Extend the native ArrayBuffer to add a slice() method if missing. 2013-04-16 14:59:08 -05:00
spiceconn.js added on succeess event 2013-03-19 09:00:38 -05:00
spicedataview.js initial 2012-06-04 17:22:01 +03:00
spicemsg.js Use document.documentElement.scrollXXX if document.body.scrollXXX is not present. 2013-04-18 13:04:38 -05:00
spicetype.js support loading SPICE_IMAGE_TYPE_JPEG_ALPHA image types 2012-10-11 17:37:10 -05:00
ticket.js initial 2012-06-04 17:22:01 +03:00
TODO Update the TODO 2013-02-11 09:17:55 -06:00
utils.js Adds missing mapping of the alphanumeric minus key. (spice-html5) 2013-05-28 09:14:46 -05:00
wire.js initial 2012-06-04 17:22:01 +03:00

Prototype Spice Javascript client

Instructions and status as of June 1, 2012.

Requirements:

  1.  Modern Firefox or Chrome
      
  2.  A WebSocket proxy

      I've used websockify:
        https://github.com/kanaka/websockify
      works great.


  3.  A spice server

      At this point, I've tested with qemu hosting
      a Fedora image, a Vista image, and with Xspice.  
      Vista was pretty bad; I recommend either Linux or Xspice.

      ** Xspice has a processing issue; see this email:
         http://lists.freedesktop.org/archives/spice-devel/2012-May/009020.html


Optional:
  1.  A web server

      With firefox, you can just open file:///your-path-to-spice.html-here

      With Chrome, you have to set a secret config flag to do that, or 
      serve the files from a web server.


Steps:

  1.  Start the spice server

  2.  Start websockify; my command line looks like this:
        ./websockify 5959 localhost:5900

  3.  Fire up spice.html, set host + port + password, and click start


Status:

  The TODO file should be a fairly comprehensive list of tasks
  required to make this client more fully functional.

  As of June 1, 2012, this client is a nifty proof of concept,
  but a long way from being a useful production tool.