This commit is contained in:
Mitchell Hashimoto 2013-09-15 23:13:05 -07:00
parent 5342911704
commit 9f52b78602
2 changed files with 8 additions and 8 deletions

View File

@ -93,13 +93,13 @@ func (*stepTypeBootCommand) Cleanup(multistep.StateBag) {}
func scancodes(message string) []string { func scancodes(message string) []string {
// Scancodes reference: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html // Scancodes reference: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
// //
// Scancodes represent raw keyboard output and are fed to the VM by the // Scancodes represent raw keyboard output and are fed to the VM by the
// VBoxManage controlvm keyboardputscancode program. // VBoxManage controlvm keyboardputscancode program.
// //
// Scancodes are recorded here in pairs. The first entry represents // Scancodes are recorded here in pairs. The first entry represents
// the key press and the second entry represents the key release and is // the key press and the second entry represents the key release and is
// derived from the first by the addition of 0x80. // derived from the first by the addition of 0x81.
special := make(map[string][]string) special := make(map[string][]string)
special["<bs>"] = []string{"0e", "8e"} special["<bs>"] = []string{"0e", "8e"}
special["<del>"] = []string{"53", "d3"} special["<del>"] = []string{"53", "d3"}

View File

@ -1,13 +1,13 @@
package ssh package ssh
import ( import (
"code.google.com/p/go.crypto/ssh"
"crypto" "crypto"
"crypto/dsa" "crypto/dsa"
"crypto/rsa" "crypto/rsa"
"crypto/x509" "crypto/x509"
"encoding/pem" "encoding/pem"
"errors" "errors"
"code.google.com/p/go.crypto/ssh"
"io" "io"
) )