File: README.Keyboard

package info (click to toggle)
squeak-vm 1%3A4.10.2.2614-4.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,284 kB
  • ctags: 15,344
  • sloc: ansic: 75,096; cs: 11,191; objc: 5,494; sh: 3,170; asm: 1,533; cpp: 449; pascal: 372; makefile: 366; awk: 103
file content (93 lines) | stat: -rw-r--r-- 3,611 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
By default the newer VMs implement the "traditional" Unix VM
behaviour:

    Squeak		X11
    ------		---
    shift		Shift ^ Lock
    ctrl		Control
    command		Mod1
    option		Mod1 & Control

For keyboards that have more than one modifier key (Apple, Sun, etc.)
a more Macintosh Squeak-like behaviour is possible by specifying which
modifier keys should map to Option and Command, either on the command
line or by setting the corresponding environment variables:

    Key		X11 modifier	VM option	Environment
    ---		-----------	---------	-----------
    Option	mod<n>		-optmod n	export SQUEAK_OPTMOD=n
    Command	mod<n>		-cmdmod n	export SQUEAK_CMDMOD=n

Examples:

    Apple keyboard, GNU/Linux, XFree86 4.0:	-cmdmod 1 -optmod 2
    Apple keyboard, NetBSD, XFree86 4.2:	-cmdmod 2 -optmod 1
	(these map "Option" to Option [duh] and "Apple" to Command)

    Sun keyboard, Solaris:			-cmdmod 4 -optmod 1
	(this maps "Alt" to Option and "<>" [Meta] to Command)

If you don't know which modifiers are bound to which keys, then:

    executing `xmodmap -pm' will print the keycodes and keysyms
    associated with each modifier;

    running`xev' and hitting modifier keys will generate KeyRelease
    events in which the "state" field has bit N+2 set to 1 for mod<N>
    (bit 0 is the least significant); i.e: state=0x8 corresponds to
    mod1 (N = 1, N+2 = 3, 1<<3 = 8), state=0x40 is mod4, and
    state=0x48 means both mod1 and mod4 are active simultaneously.

With a properly mapped Command key the pointer buttons and keyboard
shortcuts should work as follows (Option is generally ignored by the
image and is not considered below):

Pointer mappings:

  Button1 (red)     -> select (world menu on background)
  Button2 (yellow)  -> window menu (personal menu on background)
  Button3 (blue)    -> morph halos

  Button1 + Shift   -> extend selection (find window menu on background)
  Button2 + Shift   -> window "more" menu (find window on background)
  Button3 + Shift   -> morph halos

  Button1 + Ctrl    -> window menu (personal menu on b/g) = acts like Button2
  Button2 + Ctrl    -> morph menu
  Button3 + Ctrl    -> morph menu

  Button1 + Command -> morph halos = acts like Button3
  Button2 + Command -> window menu (personal menu on b/g)
  Button3 + Command -> morph halos

  Button1 + Shift + Ctrl -> (topmost) morph menu
  Button2 + Shift + Ctrl -> (topmost) morph menu
  Button3 + Shift + Ctrl -> (bottommost) morph menu

  Button1 + Shift + Command -> extend selection (find window on b/g)
  Button2 + Shift + Command -> window "more" menu (find window on b/g)
  Button3 + Shift + Command -> morph halos

  Button1 + Ctrl + Command -> morph menu
  Button2 + Ctrl + Command -> morph menu
  Button3 + Ctrl + Command -> morph menu

  Button1 + Shift + Ctrl + Command -> (topmost) morph menu
  Button2 + Shift + Ctrl + Command -> (topmost) morph menu
  Button3 + Shift + Ctrl + Command -> (topmost) morph menu

Keyboard mappings (with reference to "World Menu -> help... ->
command-key help"):

  key                          -> lowercase key
  key + Shift                  -> uppercase key
  key         + Ctrl           -> uppercase command key
  key                + Command -> lowercase command key
  key + Shift + Ctrl           -> uppercase command key
  key + Shift        + Command -> uppercase command key
  key         + Ctrl + Command -> uppercase command key
  key + Shift + Ctrl + Command -> uppercase command key

  (kilometrage with the others [delimiters, styles, kerning, etc.]
  will vary according to whether particular symbols are shifted or
  unshifted on a given keyboard.)