DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ X

⟦c91564384⟧

    Length: 17843 (0x45b3)
    Names: »XDOC«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/gnu-31mar87/emacs/etc/XDOC« 

Hex Dump

0x0000…0020 42 41 42 59 4c 20 4f 50 54 49 4f 4e 53 3a 0a 56 65 72 73 69 6f 6e 3a 20 35 0a 4c 61 62 65 6c 73   ┆BABYL OPTIONS: Version: 5 Labels┆
0x0020…0040 3a 0a 4e 6f 74 65 3a 20 20 20 54 68 69 73 20 69 73 20 74 68 65 20 68 65 61 64 65 72 20 6f 66 20   ┆: Note:   This is the header of ┆
0x0040…0060 61 6e 20 72 6d 61 69 6c 20 66 69 6c 65 2e 0a 4e 6f 74 65 3a 20 20 20 49 66 20 79 6f 75 20 61 72   ┆an rmail file. Note:   If you ar┆
0x0060…0080 65 20 73 65 65 69 6e 67 20 69 74 20 69 6e 20 72 6d 61 69 6c 2c 0a 4e 6f 74 65 3a 20 20 20 20 69   ┆e seeing it in rmail, Note:    i┆
0x0080…00a0 74 20 6d 65 61 6e 73 20 74 68 65 20 66 69 6c 65 20 68 61 73 20 6e 6f 20 6d 65 73 73 61 67 65 73   ┆t means the file has no messages┆
0x00a0…00c0 20 69 6e 20 69 74 2e 0a 1f 0c 0a 31 2c 2c 0a 52 65 63 65 69 76 65 64 3a 20 66 72 6f 6d 20 41 54   ┆ in it.    1,, Received: from AT┆
0x00c0…00e0 48 45 4e 41 20 28 41 54 48 45 4e 41 2e 4d 49 54 2e 45 44 55 29 20 62 79 20 70 72 65 70 3b 20 54   ┆HENA (ATHENA.MIT.EDU) by prep; T┆
0x00e0…0100 68 75 2c 20 31 39 20 44 65 63 20 38 35 20 32 33 3a 30 39 3a 33 34 20 65 73 74 0a 52 65 63 65 69   ┆hu, 19 Dec 85 23:09:34 est Recei┆
0x0100…0120 76 65 64 3a 20 66 72 6f 6d 20 50 41 52 49 53 20 28 50 41 52 49 53 2e 4d 49 54 2e 45 44 55 29 20   ┆ved: from PARIS (PARIS.MIT.EDU) ┆
0x0120…0140 62 79 20 41 54 48 45 4e 41 20 28 34 2e 31 32 2f 34 2e 37 29 0a 09 69 64 20 41 41 30 32 37 38 36   ┆by ATHENA (4.12/4.7)  id AA02786┆
0x0140…0160 3b 20 54 68 75 2c 20 31 39 20 44 65 63 20 38 35 20 32 33 3a 30 37 3a 33 35 20 65 73 74 0a 46 72   ┆; Thu, 19 Dec 85 23:07:35 est Fr┆
0x0160…0180 6f 6d 3a 20 6d 61 72 74 69 6c 6c 6f 40 41 54 48 45 4e 41 2e 4d 49 54 2e 45 44 55 20 28 59 61 6b   ┆om: martillo@ATHENA.MIT.EDU (Yak┆
0x0180…01a0 69 6d 20 4d 61 72 74 69 6c 6c 6f 29 0a 52 65 63 65 69 76 65 64 3a 20 62 79 20 50 41 52 49 53 20   ┆im Martillo) Received: by PARIS ┆
0x01a0…01c0 28 35 2e 31 35 2f 34 2e 37 29 0a 09 69 64 20 41 41 32 34 31 37 30 3b 20 54 68 75 2c 20 31 39 20   ┆(5.15/4.7)  id AA24170; Thu, 19 ┆
0x01c0…01e0 44 65 63 20 38 35 20 32 33 3a 30 37 3a 33 36 20 45 53 54 0a 44 61 74 65 3a 20 54 68 75 2c 20 31   ┆Dec 85 23:07:36 EST Date: Thu, 1┆
0x01e0…0200 39 20 44 65 63 20 38 35 20 32 33 3a 30 37 3a 33 36 20 45 53 54 0a 4d 65 73 73 61 67 65 2d 49 64   ┆9 Dec 85 23:07:36 EST Message-Id┆
0x0200…0220 3a 20 3c 38 35 31 32 32 30 30 34 30 37 2e 41 41 32 34 31 37 30 40 50 41 52 49 53 3e 0a 54 6f 3a   ┆: <8512200407.AA24170@PARIS> To:┆
0x0220…0240 20 72 6d 73 40 70 72 65 70 0a 43 63 3a 20 6c 62 6d 0a 53 75 62 6a 65 63 74 3a 20 47 6e 75 20 45   ┆ rms@prep Cc: lbm Subject: Gnu E┆
0x0240…0260 6d 61 63 73 20 2b 20 58 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0a 0a 2a 2a 2a 20 45 4f 4f 48   ┆macs + X documentation  *** EOOH┆
0x0260…0280 20 2a 2a 2a 0a 46 72 6f 6d 3a 20 6d 61 72 74 69 6c 6c 6f 40 41 54 48 45 4e 41 2e 4d 49 54 2e 45   ┆ *** From: martillo@ATHENA.MIT.E┆
0x0280…02a0 44 55 20 28 59 61 6b 69 6d 20 4d 61 72 74 69 6c 6c 6f 29 0a 44 61 74 65 3a 20 54 68 75 2c 20 31   ┆DU (Yakim Martillo) Date: Thu, 1┆
0x02a0…02c0 39 20 44 65 63 20 38 35 20 32 33 3a 30 37 3a 33 36 20 45 53 54 0a 54 6f 3a 20 72 6d 73 40 70 72   ┆9 Dec 85 23:07:36 EST To: rms@pr┆
0x02c0…02e0 65 70 0a 43 63 3a 20 6c 62 6d 0a 53 75 62 6a 65 63 74 3a 20 47 6e 75 20 45 6d 61 63 73 20 2b 20   ┆ep Cc: lbm Subject: Gnu Emacs + ┆
0x02e0…0300 58 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0a 0a 0a 54 68 69 73 20 69 73 20 74 68 65 20 73 74   ┆X documentation   This is the st┆
0x0300…0320 61 72 74 20 6f 66 20 6d 79 20 58 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 49 20 68 61   ┆art of my X documentation.  I ha┆
0x0320…0340 76 65 20 6e 6f 74 20 66 69 6e 69 73 68 65 64 20 74 68 65 20 6c 61 73 74 20 66 69 76 65 20 73 65   ┆ve not finished the last five se┆
0x0340…0360 63 74 69 6f 6e 73 20 79 65 74 2e 20 20 50 6c 65 61 73 65 20 67 69 76 65 20 6d 65 20 73 6f 6d 65   ┆ctions yet.  Please give me some┆
0x0360…0380 0a 73 75 67 67 65 73 74 69 6f 6e 73 2e 0a 0a 4a 6f 61 63 68 69 6d 0a 0a 0a 53 70 65 63 69 61 6c   ┆ suggestions.  Joachim   Special┆
0x0380…03a0 20 54 65 72 6d 69 6e 61 6c 20 49 6e 74 65 72 66 61 63 65 73 0a 0a 53 6f 6d 65 20 74 65 72 6d 69   ┆ Terminal Interfaces  Some termi┆
0x03a0…03c0 6e 61 6c 73 20 70 72 6f 76 69 64 65 20 73 70 65 63 69 61 6c 20 63 61 70 61 62 69 6c 69 74 69 65   ┆nals provide special capabilitie┆
0x03c0…03e0 73 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 6d 6f 72 65 0a 65 66 66 65 63 74 69 76 65 6c 79 20   ┆s which can be more effectively ┆
0x03e0…0400 75 73 65 64 20 76 69 61 20 73 70 65 63 69 61 6c 6c 79 20 77 72 69 74 74 65 6e 20 43 20 66 75 6e   ┆used via specially written C fun┆
0x0400…0420 63 74 69 6f 6e 73 20 72 61 74 68 65 72 20 74 68 61 6e 20 6e 6f 72 6d 61 6c 0a 74 65 72 6d 63 61   ┆ctions rather than normal termca┆
0x0420…0440 70 20 70 72 6f 63 65 73 73 69 6e 67 2e 20 20 54 6f 20 65 61 73 65 20 74 68 65 20 75 73 65 20 6f   ┆p processing.  To ease the use o┆
0x0440…0460 66 20 74 68 65 73 65 20 63 61 70 61 62 69 6c 69 74 69 65 73 20 61 6e 64 20 61 69 64 20 74 68 65   ┆f these capabilities and aid the┆
0x0460…0480 0a 69 6e 74 65 67 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 73 65 20 43 20 66 75 6e 63 74 69 6f 6e   ┆ integration of these C function┆
0x0480…04a0 73 2c 20 73 70 65 63 69 61 6c 20 74 65 72 6d 69 6e 61 6c 20 68 6f 6f 6b 73 20 61 72 65 20 70 72   ┆s, special terminal hooks are pr┆
0x04a0…04c0 6f 76 69 64 65 64 2e 0a 0a 54 68 65 20 68 6f 6f 6b 73 20 61 72 65 20 61 6c 6c 20 65 78 74 65 72   ┆ovided.  The hooks are all exter┆
0x04c0…04e0 6e 65 64 20 69 6e 20 74 68 65 20 73 6f 75 72 63 65 20 68 65 61 64 65 72 20 66 69 6c 65 20 74 65   ┆ned in the source header file te┆
0x04e0…0500 72 6d 68 6f 6f 6b 73 2e 68 2e 0a 54 6f 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 61 72 67 75   ┆rmhooks.h. To determine the argu┆
0x0500…0520 6d 65 6e 74 73 2c 20 74 68 65 20 69 6e 74 65 72 65 73 74 65 64 20 75 73 65 72 20 77 68 6f 20 77   ┆ments, the interested user who w┆
0x0520…0540 69 73 68 65 73 20 74 6f 20 64 65 76 65 6c 6f 70 0a 61 20 73 70 65 63 69 61 6c 20 74 65 72 6d 69   ┆ishes to develop a special termi┆
0x0540…0560 6e 61 6c 20 69 6e 74 65 72 66 61 63 65 20 73 68 6f 75 6c 64 20 63 6f 6e 73 75 6c 74 20 74 65 72   ┆nal interface should consult ter┆
0x0560…0580 6d 2e 63 2e 0a 46 6f 72 20 70 72 6f 70 65 72 20 66 75 6e 63 74 69 6f 6e 69 6e 67 20 6f 66 20 74   ┆m.c. For proper functioning of t┆
0x0580…05a0 68 65 20 75 73 65 72 20 64 65 66 69 6e 65 64 20 43 20 74 65 72 6d 68 6f 6f 6b 20 66 75 6e 63 74   ┆he user defined C termhook funct┆
0x05a0…05c0 69 6f 6e 73 2c 20 74 68 65 0a 75 73 65 72 20 73 68 6f 75 6c 64 20 6d 61 6b 65 20 63 65 72 74 61   ┆ions, the user should make certa┆
0x05c0…05e0 69 6e 20 74 68 61 74 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 63 68 61 72 61 63 74 65 72 69 73   ┆in that the terminal characteris┆
0x05e0…0600 74 69 63 73 20 61 73 20 65 78 74 65 72 6e 65 64 0a 69 6e 20 74 65 72 6d 63 68 61 72 2e 68 20 61   ┆tics as externed in termchar.h a┆
0x0600…0620 72 65 20 70 72 6f 70 65 72 6c 79 20 73 65 74 2e 20 20 0a 0a 45 78 61 6d 70 6c 65 73 20 6f 66 20   ┆re properly set.    Examples of ┆
0x0620…0640 68 6f 77 20 74 6f 20 75 73 65 20 74 68 65 20 74 65 72 6d 68 6f 6f 6b 73 20 63 61 6e 20 62 65 20   ┆how to use the termhooks can be ┆
0x0640…0660 66 6f 75 6e 64 20 69 6e 20 78 74 65 72 6d 2e 63 20 77 68 69 63 68 0a 63 6f 6e 74 61 69 6e 73 20   ┆found in xterm.c which contains ┆
0x0660…0680 74 68 65 20 47 6e 75 20 45 6d 61 63 73 20 74 6f 20 58 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 47   ┆the Gnu Emacs to X interface.  G┆
0x0680…06a0 6e 75 20 45 6d 61 63 73 20 74 6f 20 58 20 49 6e 74 65 72 66 61 63 65 0a 0a 54 68 65 20 74 65 72   ┆nu Emacs to X Interface  The ter┆
0x06a0…06c0 6d 68 6f 6f 6b 73 20 66 65 61 74 75 72 65 20 68 61 73 20 65 6e 6f 75 67 68 20 70 6f 77 65 72 20   ┆mhooks feature has enough power ┆
0x06c0…06e0 74 68 61 74 20 74 65 72 6d 68 6f 6f 6b 73 20 6e 65 65 64 20 6e 6f 74 20 62 65 0a 72 65 73 74 72   ┆that termhooks need not be restr┆
0x06e0…0700 69 63 74 65 64 20 6d 65 72 65 6c 79 20 74 6f 20 74 68 65 20 65 6d 70 6c 6f 79 6d 65 6e 74 20 6f   ┆icted merely to the employment o┆
0x0700…0720 66 20 73 70 65 63 69 61 6c 20 74 65 72 6d 69 6e 61 6c 20 63 61 70 61 62 69 6c 69 74 69 65 73 2e   ┆f special terminal capabilities.┆
0x0720…0740 0a 54 65 72 6d 68 6f 6f 6b 73 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 69 6e 74 65 72 66   ┆ Termhooks can be used to interf┆
0x0740…0760 61 63 65 20 47 6e 75 20 45 6d 61 63 73 20 74 6f 20 73 70 65 63 69 61 6c 20 67 72 61 70 68 69 63   ┆ace Gnu Emacs to special graphic┆
0x0760…0780 73 0a 64 65 76 69 63 65 73 20 6f 72 20 77 69 6e 64 6f 77 20 73 79 73 74 65 6d 73 2e 20 20 47 6e   ┆s devices or window systems.  Gn┆
0x0780…07a0 75 20 45 6d 61 63 73 20 69 6e 74 65 72 66 61 63 65 73 20 77 69 74 68 20 6e 6f 74 20 61 20 67 72   ┆u Emacs interfaces with not a gr┆
0x07a0…07c0 65 61 74 20 64 65 61 6c 0a 6f 66 20 64 69 66 66 69 63 75 6c 74 79 20 74 6f 20 74 68 65 20 4d 49   ┆eat deal of difficulty to the MI┆
0x07c0…07e0 54 2f 50 72 6f 6a 65 63 74 20 41 74 68 65 6e 61 20 58 20 57 69 6e 64 6f 77 20 73 79 73 74 65 6d   ┆T/Project Athena X Window system┆
0x07e0…0800 2e 20 20 57 69 74 68 20 6e 6f 74 20 74 6f 6f 0a 6d 75 63 68 20 65 66 66 6f 72 74 2c 20 61 20 63   ┆.  With not too much effort, a c┆
0x0800…0820 6f 6d 70 65 74 65 6e 74 20 68 61 63 6b 65 72 20 73 68 6f 75 6c 64 20 62 65 20 61 62 6c 65 20 74   ┆ompetent hacker should be able t┆
0x0820…0840 6f 20 69 6e 74 65 72 66 61 63 65 20 47 6e 75 20 45 6d 61 63 73 0a 74 6f 20 74 68 65 20 53 75 6e   ┆o interface Gnu Emacs to the Sun┆
0x0840…0860 2c 20 41 70 6f 6c 6c 6f 2c 20 6f 72 20 42 6c 69 74 20 57 69 6e 64 6f 77 20 73 79 73 74 65 6d 73   ┆, Apollo, or Blit Window systems┆
0x0860…0880 2e 0a 0a 57 68 61 74 20 69 73 20 58 3f 0a 0a 58 20 69 73 20 61 20 6e 65 74 77 6f 72 6b 20 74 72   ┆.  What is X?  X is a network tr┆
0x0880…08a0 61 6e 73 70 61 72 65 6e 74 20 77 69 6e 64 6f 77 20 73 79 73 74 65 6d 20 64 65 76 65 6c 6f 70 65   ┆ansparent window system develope┆
0x08a0…08c0 64 20 61 74 20 4d 49 54 20 62 79 20 42 6f 62 0a 53 63 68 65 69 66 66 6c 65 72 2c 20 4a 69 6d 20   ┆d at MIT by Bob Scheiffler, Jim ┆
0x08c0…08e0 47 65 74 74 79 73 2c 20 54 6f 6e 79 20 64 65 6c 6c 61 20 46 65 72 61 2c 20 52 6f 6e 20 4e 65 77   ┆Gettys, Tony della Fera, Ron New┆
0x08e0…0900 6d 61 6e 20 61 6e 64 20 6f 74 68 65 72 73 2e 20 20 58 20 69 73 0a 61 20 64 65 73 63 65 6e 64 65   ┆man and others.  X is a descende┆
0x0900…0920 6e 74 20 6f 66 20 74 68 65 20 53 74 61 6e 66 6f 72 64 20 56 20 6b 65 72 6e 61 6c 20 73 79 73 74   ┆nt of the Stanford V kernal syst┆
0x0920…0940 65 6d 20 61 6e 64 20 47 6f 73 6c 69 6e 67 27 73 20 72 65 63 74 61 6e 67 6c 65 0a 6d 61 6e 61 67   ┆em and Gosling's rectangle manag┆
0x0940…0960 65 6d 65 6e 74 20 73 79 73 74 65 6d 2e 20 20 58 20 68 61 73 20 61 20 73 74 61 6e 64 61 72 64 20   ┆ement system.  X has a standard ┆
0x0960…0980 70 72 6f 74 6f 63 6f 6c 20 66 6f 72 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 77 69 74 68 0a   ┆protocol for communication with ┆
0x0980…09a0 61 6e 20 58 20 73 65 72 76 65 72 20 77 68 69 63 68 20 74 61 6c 6b 73 20 74 6f 20 74 68 65 20 68   ┆an X server which talks to the h┆
0x09a0…09c0 69 67 68 20 72 65 73 6f 6c 75 74 69 6f 6e 20 67 72 61 70 68 69 63 73 20 64 65 76 69 63 65 20 64   ┆igh resolution graphics device d┆
0x09c0…09e0 72 69 76 65 72 2e 0a 54 68 65 20 58 20 64 65 76 65 6c 6f 70 65 72 73 20 68 61 76 65 20 73 75 70   ┆river. The X developers have sup┆
0x09e0…0a00 70 6c 69 65 64 20 61 20 6c 69 62 72 61 72 79 20 6c 69 62 58 2e 61 20 77 68 69 63 68 20 70 72 6f   ┆plied a library libX.a which pro┆
0x0a00…0a20 76 69 64 65 73 20 6c 69 62 72 61 72 79 0a 72 6f 75 74 69 6e 65 73 20 74 6f 20 68 61 6e 64 6c 65   ┆vides library routines to handle┆
0x0a20…0a40 20 74 79 70 69 63 61 6c 20 67 72 61 70 68 69 63 73 2f 77 69 6e 64 6f 77 20 73 79 73 74 65 6d 20   ┆ typical graphics/window system ┆
0x0a40…0a60 63 6f 6d 6d 61 6e 64 73 2e 20 20 58 20 69 73 0a 6e 65 74 77 6f 72 6b 20 74 72 61 6e 73 70 61 72   ┆commands.  X is network transpar┆
0x0a60…0a80 65 6e 74 20 69 6e 20 74 68 61 74 20 61 20 70 72 6f 63 65 73 73 20 72 75 6e 6e 69 6e 67 20 6f 6e   ┆ent in that a process running on┆
0x0a80…0aa0 20 61 20 6d 61 63 68 69 6e 65 20 77 68 69 63 68 20 77 61 6e 74 73 0a 74 6f 20 6d 61 6b 65 20 75   ┆ a machine which wants to make u┆
0x0aa0…0ac0 73 65 20 6f 66 20 61 20 68 69 67 68 20 72 65 73 6f 6c 75 74 69 6f 6e 20 67 72 61 70 68 69 63 73   ┆se of a high resolution graphics┆
0x0ac0…0ae0 20 64 65 76 69 63 65 20 77 69 6c 6c 20 65 73 74 61 62 6c 69 73 68 20 61 0a 6e 65 74 77 6f 72 6b   ┆ device will establish a network┆
0x0ae0…0b00 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 74 68 65 20 58 20 73 65 72 76 65 72 20 77 68 69 63   ┆ connection to the X server whic┆
0x0b00…0b20 68 20 74 61 6c 6b 73 20 74 6f 20 74 68 65 20 64 72 69 76 65 72 20 66 6f 72 20 74 68 61 74 0a 64   ┆h talks to the driver for that d┆
0x0b20…0b40 65 76 69 63 65 2e 20 20 54 68 65 20 70 72 6f 63 65 73 73 20 77 69 6c 6c 20 62 65 20 61 20 63 6c   ┆evice.  The process will be a cl┆
0x0b40…0b60 69 65 6e 74 20 6f 66 20 74 68 65 20 58 20 73 65 72 76 65 72 2e 20 20 53 69 6e 63 65 20 4c 41 4e   ┆ient of the X server.  Since LAN┆
0x0b60…0b80 27 73 0a 74 79 70 69 63 61 6c 6c 79 20 63 61 6e 20 6d 6f 76 65 20 64 61 74 61 20 61 74 20 6d 65   ┆'s typically can move data at me┆
0x0b80…0ba0 67 61 62 69 74 20 72 61 74 65 73 2c 20 72 75 6e 6e 69 6e 67 20 61 20 77 69 6e 64 6f 77 20 73 79   ┆gabit rates, running a window sy┆
0x0ba0…0bc0 73 74 65 6d 20 69 6e 0a 74 68 69 73 20 66 61 73 68 69 6f 6e 20 68 61 73 20 6d 61 6e 79 20 61 64   ┆stem in this fashion has many ad┆
0x0bc0…0be0 76 61 6e 74 61 67 65 73 2e 20 20 46 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20   ┆vantages.  For more information ┆
0x0be0…0c00 61 62 6f 75 74 20 58 2c 0a 68 61 63 6b 65 72 73 20 61 72 65 20 64 69 72 65 63 74 65 64 20 74 6f   ┆about X, hackers are directed to┆
0x0c00…0c20 20 22 58 6c 69 62 20 2d 20 43 20 4c 61 6e 67 75 61 67 65 20 58 20 49 6e 74 65 72 66 61 63 65 20   ┆ "Xlib - C Language X Interface ┆
0x0c20…0c40 56 65 72 73 69 6f 6e 20 28 3f 29 22 0a 77 72 69 74 74 65 6e 20 62 79 20 4a 69 6d 20 47 65 74 74   ┆Version (?)" written by Jim Gett┆
0x0c40…0c60 79 73 20 28 44 45 43 2f 4d 49 54 29 20 61 6e 64 20 52 6f 6e 20 4e 65 77 6d 61 6e 20 28 4d 49 54   ┆ys (DEC/MIT) and Ron Newman (MIT┆
0x0c60…0c80 29 2e 0a 0a 4e 65 77 20 46 75 6e 63 74 69 6f 6e 61 6c 69 74 79 20 6f 66 20 47 6e 75 20 45 6d 61   ┆).  New Functionality of Gnu Ema┆
0x0c80…0ca0 63 73 20 2b 20 58 0a 0a 47 6e 75 20 45 6d 61 63 73 20 72 75 6e 6e 69 6e 67 20 61 73 20 61 20 63   ┆cs + X  Gnu Emacs running as a c┆
0x0ca0…0cc0 6c 69 65 6e 74 20 6f 66 20 58 20 70 72 6f 76 69 64 65 73 20 76 65 72 79 20 72 61 70 69 64 20 6c   ┆lient of X provides very rapid l┆
0x0cc0…0ce0 69 6e 65 20 69 6e 73 65 72 74 69 6f 6e 0a 61 6e 64 20 64 65 6c 65 74 69 6f 6e 20 62 65 63 61 75   ┆ine insertion and deletion becau┆
0x0ce0…0d00 73 65 20 62 69 74 20 62 6c 69 74 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 73 65 6e 74 20 74 6f   ┆se bit blit commands are sent to┆
0x0d00…0d20 20 74 68 65 20 73 65 72 76 65 72 20 61 6e 64 20 74 68 65 0a 64 72 69 76 65 72 20 73 69 6d 70 6c   ┆ the server and the driver simpl┆
0x0d20…0d40 79 20 74 65 6c 6c 73 20 74 68 65 20 64 65 76 69 63 65 20 74 6f 20 6d 6f 76 65 20 74 68 65 20 70   ┆y tells the device to move the p┆
0x0d40…0d60 69 78 65 6c 73 20 6f 6e 20 74 68 65 20 73 63 72 65 65 6e 0a 64 69 72 65 63 74 6c 79 2e 20 20 49   ┆ixels on the screen directly.  I┆
0x0d60…0d80 6e 20 66 61 63 74 2c 20 47 6e 75 20 45 6d 61 63 73 20 72 75 6e 6e 69 6e 67 20 75 6e 64 65 72 20   ┆n fact, Gnu Emacs running under ┆
0x0d80…0da0 74 68 65 20 78 74 65 72 6d 20 74 65 72 6d 69 6e 61 6c 0a 65 6d 75 6c 61 74 6f 72 20 63 61 6e 20   ┆the xterm terminal emulator can ┆
0x0da0…0dc0 61 6c 73 6f 20 63 61 75 73 65 20 62 69 74 20 62 6c 74 73 20 74 6f 20 74 61 6b 65 20 70 6c 61 63   ┆also cause bit blts to take plac┆
0x0dc0…0de0 65 20 62 75 74 20 62 69 74 20 62 6c 69 74 73 20 76 69 61 20 74 68 65 0a 74 65 72 6d 69 6e 61 6c   ┆e but bit blits via the terminal┆
0x0de0…0e00 20 65 6d 75 6c 61 74 6f 72 20 61 72 65 20 72 61 74 68 65 72 20 73 6c 6f 77 20 62 65 63 61 75 73   ┆ emulator are rather slow becaus┆
0x0e00…0e20 65 20 6f 66 20 65 73 63 61 70 65 20 73 65 71 75 65 6e 63 65 20 70 61 72 73 69 6e 67 0a 6f 76 65   ┆e of escape sequence parsing ove┆
0x0e20…0e40 72 68 65 61 64 20 69 6e 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 65 6d 75 6c 61 74 6f 72 20 61   ┆rhead in the terminal emulator a┆
0x0e40…0e60 6e 64 20 62 65 63 61 75 73 65 20 6f 66 20 63 6f 6e 74 65 78 74 20 73 77 69 74 63 68 69 6e 67 0a   ┆nd because of context switching ┆
0x0e60…0e80 6f 76 65 72 68 65 61 64 20 61 73 20 74 68 65 20 62 69 74 73 20 74 61 6b 65 20 61 20 6d 65 72 72   ┆overhead as the bits take a merr┆
0x0e80…0ea0 79 20 74 72 69 70 20 74 68 72 6f 75 67 68 20 74 68 65 20 70 74 79 20 69 6e 74 65 72 66 61 63 65   ┆y trip through the pty interface┆
0x0ea0…0ec0 73 20 61 6e 64 0a 64 72 69 76 65 72 73 2e 20 0a 0a 47 6e 75 20 45 6d 61 63 73 20 72 75 6e 73 20   ┆s and drivers.   Gnu Emacs runs ┆
0x0ec0…0ee0 69 6e 20 69 74 73 20 6f 77 6e 20 58 20 77 69 6e 64 6f 77 20 61 6e 64 20 74 68 65 72 65 66 6f 72   ┆in its own X window and therefor┆
0x0ee0…0f00 65 20 6e 6f 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 0a 6c 6f 73 74 20 66 72 6f 6d 20 74 68   ┆e no information is lost from th┆
0x0f00…0f20 65 20 78 74 65 72 6d 20 73 65 73 73 69 6f 6e 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 20 75   ┆e xterm session from which the u┆
0x0f20…0f40 73 65 72 20 69 6e 76 6f 6b 65 64 20 47 6e 75 20 45 6d 61 63 73 2e 0a 47 6e 75 20 45 6d 61 63 73   ┆ser invoked Gnu Emacs. Gnu Emacs┆
0x0f40…0f60 20 73 68 6f 75 6c 64 20 70 72 6f 62 61 62 6c 79 20 62 65 20 72 75 6e 20 69 6e 20 62 61 63 6b 67   ┆ should probably be run in backg┆
0x0f60…0f80 72 6f 75 6e 64 20 66 72 6f 6d 20 74 68 65 20 70 61 72 65 6e 74 20 58 0a 73 65 73 73 69 6f 6e 20   ┆round from the parent X session ┆
0x0f80…0fa0 62 65 63 61 75 73 65 20 74 68 65 6e 20 74 68 65 20 75 73 65 72 20 6d 61 79 20 63 6f 6e 74 69 6e   ┆because then the user may contin┆
0x0fa0…0fc0 75 65 20 74 6f 20 64 6f 20 6d 6f 72 65 20 77 6f 72 6b 20 69 6e 20 74 68 65 0a 70 61 72 65 6e 74   ┆ue to do more work in the parent┆
0x0fc0…0fe0 20 78 74 65 72 6d 20 73 65 73 73 69 6f 6e 2e 20 20 41 73 20 47 6e 75 20 45 6d 61 63 73 20 73 68   ┆ xterm session.  As Gnu Emacs sh┆
0x0fe0…1000 6f 75 6c 64 20 62 65 20 72 75 6e 20 69 6e 20 62 61 63 6b 67 72 6f 75 6e 64 2c 20 74 68 65 0a 6c   ┆ould be run in background, the l┆
0x1000…1020 69 73 70 20 66 6f 72 6d 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 74 20 27 73 75   ┆isp form                (put 'su┆
0x1020…1040 73 70 65 6e 64 2d 65 6d 61 63 73 20 27 64 69 73 61 62 6c 65 64 20 74 29 0a 69 73 20 70 61 73 73   ┆spend-emacs 'disabled t) is pass┆
0x1040…1060 65 64 20 74 6f 20 74 68 65 20 47 6e 75 20 45 6d 61 63 73 20 6c 69 73 70 20 69 6e 74 65 72 70 72   ┆ed to the Gnu Emacs lisp interpr┆
0x1060…1080 65 74 65 72 20 77 68 65 6e 20 47 6e 75 20 45 6d 61 63 73 20 69 73 20 69 6e 76 6f 6b 65 64 0a 66   ┆eter when Gnu Emacs is invoked f┆
0x1080…10a0 72 6f 6d 20 61 6e 20 78 74 65 72 6d 20 74 65 72 6d 69 6e 61 6c 20 65 6d 75 6c 61 74 6f 72 2e 20   ┆rom an xterm terminal emulator. ┆
0x10a0…10c0 20 53 68 6f 75 6c 64 20 74 68 65 20 75 73 65 72 20 61 63 63 69 64 65 6e 74 6c 79 20 74 79 70 65   ┆ Should the user accidently type┆
0x10c0…10e0 20 74 68 65 0a 6b 65 79 20 73 65 71 75 65 6e 63 65 20 66 6f 72 20 73 75 73 70 65 6e 64 2d 65 6d   ┆ the key sequence for suspend-em┆
0x10e0…1100 61 63 73 20 28 69 6e 69 74 69 61 6c 6c 79 20 43 2d 7a 20 6f 72 20 43 2d 58 43 2d 7a 29 2c 20 68   ┆acs (initially C-z or C-XC-z), h┆
0x1100…1120 65 20 77 69 6c 6c 20 62 65 0a 71 75 65 72 69 65 64 20 77 68 65 74 68 65 72 20 68 65 20 74 72 75   ┆e will be queried whether he tru┆
0x1120…1140 6c 79 20 77 69 73 68 65 73 20 74 6f 20 73 75 73 70 65 6e 64 20 65 6d 61 63 73 2e 20 20 55 6e 6c   ┆ly wishes to suspend emacs.  Unl┆
0x1140…1160 65 73 73 20 74 68 65 20 75 73 65 72 20 69 73 0a 63 6f 6e 66 69 64 65 6e 74 20 68 65 20 73 68 6f   ┆ess the user is confident he sho┆
0x1160…1180 75 6c 64 20 72 65 70 6c 79 20 6e 20 28 3d 20 6e 6f 29 2e 0a 0a 49 66 20 74 68 65 20 75 73 65 72   ┆uld reply n (= no).  If the user┆
0x1180…11a0 20 68 61 73 20 61 6e 20 58 20 77 69 6e 64 6f 77 20 6d 61 6e 61 67 65 72 20 72 75 6e 6e 69 6e 67   ┆ has an X window manager running┆
0x11a0…11c0 2c 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 72 65 73 69 7a 65 20 74 68 65 0a 47 6e 75 20 45 6d   ┆, the user can resize the Gnu Em┆
0x11c0…11e0 61 63 73 20 77 69 6e 64 6f 77 20 75 73 69 6e 67 20 74 68 65 20 75 73 75 61 6c 20 6d 6f 75 73 65   ┆acs window using the usual mouse┆
0x11e0…1200 20 73 65 71 75 65 6e 63 65 73 20 77 68 69 63 68 20 68 61 76 65 20 62 65 65 6e 0a 67 72 61 62 62   ┆ sequences which have been grabb┆
0x1200…1220 65 64 20 62 79 20 74 68 65 20 77 69 6e 64 6f 77 20 6d 61 6e 61 67 65 72 2e 20 20 47 6e 75 20 45   ┆ed by the window manager.  Gnu E┆
0x1220…1240 6d 61 63 73 20 74 68 65 6e 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 73 69 7a 65 73 0a   ┆macs then automatically resizes ┆
0x1240…1260 69 74 73 65 6c 66 20 61 6e 64 20 75 70 64 61 74 65 73 20 74 68 65 20 64 69 73 70 6c 61 79 2e 20   ┆itself and updates the display. ┆
0x1260…1280 20 0a 0a 42 79 20 75 73 69 6e 67 20 74 68 65 20 6d 6f 75 73 65 20 77 69 6e 64 6f 77 20 6d 61 6e   ┆   By using the mouse window man┆
0x1280…12a0 61 67 65 72 20 63 6f 6d 6d 61 6e 64 73 2c 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 63 61 75 73   ┆ager commands, the user can caus┆
0x12a0…12c0 65 0a 66 6f 72 6d 65 72 6c 79 20 6f 62 73 63 75 72 65 64 20 73 65 63 74 69 6f 6e 73 20 6f 66 20   ┆e formerly obscured sections of ┆
0x12c0…12e0 74 68 65 20 47 6e 75 20 45 6d 61 63 73 20 77 69 6e 64 6f 77 20 74 6f 20 62 65 20 75 6e 63 6f 76   ┆the Gnu Emacs window to be uncov┆
0x12e0…1300 65 72 65 64 2e 0a 54 68 65 73 65 20 73 65 63 74 69 6f 6e 73 20 68 61 76 65 20 74 6f 20 62 65 20   ┆ered. These sections have to be ┆
0x1300…1320 72 65 70 61 69 6e 74 65 64 2e 20 20 53 69 6e 63 65 20 47 6e 75 20 45 6d 61 63 73 20 63 72 65 61   ┆repainted.  Since Gnu Emacs crea┆
0x1320…1340 74 65 73 20 74 68 65 20 47 6e 75 0a 45 6d 61 63 73 20 77 69 6e 64 6f 77 20 62 79 20 69 74 73 20   ┆tes the Gnu Emacs window by its ┆
0x1340…1360 6c 6f 6e 65 73 6f 6d 65 2c 20 47 6e 75 20 45 6d 61 63 73 20 6d 75 73 74 20 72 65 70 61 69 6e 74   ┆lonesome, Gnu Emacs must repaint┆
0x1360…1380 20 74 68 65 73 65 20 73 65 63 74 69 6f 6e 73 20 6f 66 0a 74 68 65 20 77 69 6e 64 6f 77 20 61 6c   ┆ these sections of the window al┆
0x1380…13a0 6c 20 62 79 20 69 74 73 65 6c 66 2e 20 20 49 66 20 47 6e 75 20 45 6d 61 63 73 20 69 73 20 63 68   ┆l by itself.  If Gnu Emacs is ch┆
0x13a0…13c0 75 67 67 69 6e 67 20 61 77 61 79 20 6f 6e 20 73 6f 6d 65 0a 67 6c 6f 62 61 6c 20 72 65 67 65 78   ┆ugging away on some global regex┆
0x13c0…13e0 70 20 72 65 70 6c 61 63 65 6d 65 6e 74 2c 20 47 6e 75 20 45 6d 61 63 73 20 6d 61 79 20 74 61 6b   ┆p replacement, Gnu Emacs may tak┆
0x13e0…1400 65 20 69 74 73 20 74 69 6d 65 20 69 6e 20 72 65 70 61 69 6e 74 69 6e 67 0a 74 68 65 20 64 69 73   ┆e its time in repainting the dis┆
0x1400…1420 70 6c 61 79 2e 20 28 53 69 6d 69 6c 61 72 20 72 65 70 61 69 6e 74 69 6e 67 20 6d 61 79 20 74 61   ┆play. (Similar repainting may ta┆
0x1420…1440 6b 65 20 70 6c 61 63 65 20 6f 6e 20 62 69 74 20 62 6c 69 74 73 2e 29 0a 0a 57 69 74 68 20 74 68   ┆ke place on bit blits.)  With th┆
0x1440…1460 65 20 47 6e 75 20 45 6d 61 63 73 20 74 6f 20 58 20 69 6e 74 65 72 66 61 63 65 20 74 68 65 20 6d   ┆e Gnu Emacs to X interface the m┆
0x1460…1480 6f 75 73 65 20 62 65 63 6f 6d 65 73 20 65 76 65 6e 20 6d 6f 72 65 0a 70 6f 77 65 72 66 75 6c 2e   ┆ouse becomes even more powerful.┆
0x1480…14a0 20 20 53 6f 6d 65 20 6d 6f 75 73 65 20 65 76 65 6e 74 73 20 28 62 61 73 69 63 61 6c 6c 79 20 74   ┆  Some mouse events (basically t┆
0x14a0…14c0 68 65 20 6f 6e 65 73 20 6e 6f 74 20 67 72 61 62 62 65 64 20 62 79 20 74 68 65 0a 77 69 6e 64 6f   ┆he ones not grabbed by the windo┆
0x14c0…14e0 77 20 6d 61 6e 61 67 65 72 29 20 61 72 65 20 70 61 73 73 65 64 20 74 6f 20 47 6e 75 20 45 6d 61   ┆w manager) are passed to Gnu Ema┆
0x14e0…1500 63 73 2e 20 20 47 6e 75 20 45 6d 61 63 73 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 6f 66 20 74 68   ┆cs.  Gnu Emacs is informed of th┆
0x1500…1520 65 0a 72 65 63 65 70 74 69 6f 6e 20 6f 66 20 73 75 63 68 20 65 76 65 6e 74 73 20 62 65 63 61 75   ┆e reception of such events becau┆
0x1520…1540 73 65 20 69 74 20 72 65 63 65 69 76 65 73 20 74 68 65 20 6b 65 79 20 73 65 71 75 65 6e 63 65 20   ┆se it receives the key sequence ┆
0x1540…1560 43 2d 63 43 2d 6d 2e 0a 54 68 65 72 65 66 6f 72 65 20 61 20 75 73 65 72 20 77 68 6f 20 77 69 73   ┆C-cC-m. Therefore a user who wis┆
0x1560…1580 68 65 73 20 74 6f 20 75 73 65 20 74 68 65 20 47 6e 75 20 45 6d 61 63 73 20 74 6f 20 58 20 69 6e   ┆hes to use the Gnu Emacs to X in┆
0x1580…15a0 74 65 72 66 61 63 65 20 73 68 6f 75 6c 64 0a 6e 6f 74 20 72 65 62 69 6e 64 20 74 68 69 73 20 6b   ┆terface should not rebind this k┆
0x15a0…15c0 65 79 20 73 65 71 75 65 6e 63 65 20 74 6f 20 61 6e 79 20 66 75 6e 63 74 69 6f 6e 2e 0a 0a 54 68   ┆ey sequence to any function.  Th┆
0x15c0…15e0 69 73 20 6b 65 79 20 73 65 71 75 65 6e 63 65 20 69 73 20 62 6f 75 6e 64 20 74 6f 20 74 68 65 20   ┆is key sequence is bound to the ┆
0x15e0…1600 6c 69 73 70 20 66 75 6e 63 74 69 6f 6e 20 78 2d 6d 6f 75 73 65 2d 6d 6f 64 65 20 77 68 69 63 68   ┆lisp function x-mouse-mode which┆
0x1600…1620 0a 67 6f 65 73 20 61 6e 64 20 63 68 65 63 6b 73 20 74 68 65 20 73 70 65 63 69 61 6c 20 58 20 4d   ┆ goes and checks the special X M┆
0x1620…1640 6f 75 73 65 20 51 75 65 75 65 20 66 6f 72 20 6d 6f 75 73 65 20 65 76 65 6e 74 73 2e 20 20 45 61   ┆ouse Queue for mouse events.  Ea┆
0x1640…1660 63 68 0a 63 6f 6e 74 72 6f 6c 2f 73 68 69 66 74 2f 6d 65 74 61 2d 6d 6f 75 73 65 20 62 75 74 74   ┆ch control/shift/meta-mouse butt┆
0x1660…1680 6f 6e 20 73 65 71 75 65 6e 63 65 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61   ┆on sequence is associated with a┆
0x1680…16a0 20 64 65 66 69 6e 65 64 0a 63 6f 6e 73 74 61 6e 74 20 69 6e 20 74 68 65 20 6c 69 73 70 20 66 69   ┆ defined constant in the lisp fi┆
0x16a0…16c0 6c 65 20 78 2d 6d 6f 75 73 65 2e 65 6c 2e 20 20 54 68 65 20 63 6f 6e 73 74 61 6e 74 73 20 61 72   ┆le x-mouse.el.  The constants ar┆
0x16c0…16e0 65 20 64 65 66 69 6e 65 64 20 61 73 0a 66 6f 6c 6c 6f 77 73 3a 0a 0a 09 28 64 65 66 63 6f 6e 73   ┆e defined as follows:   (defcons┆
0x16e0…1700 74 20 78 2d 62 75 74 74 6f 6e 2d 72 69 67 68 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67   ┆t x-button-right (char-to-string┆
0x1700…1720 20 30 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 6d 69 64 64 6c 65 20   ┆ 0))  (defconst x-button-middle ┆
0x1720…1740 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 31 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78   ┆(char-to-string 1))  (defconst x┆
0x1740…1760 2d 62 75 74 74 6f 6e 2d 6c 65 66 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 32 29 29   ┆-button-left (char-to-string 2))┆
0x1760…1780 0a 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 73 2d 72 69 67 68 74 20 28 63   ┆   (defconst x-button-s-right (c┆
0x1780…17a0 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 31 36 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d   ┆har-to-string 16))  (defconst x-┆
0x17a0…17c0 62 75 74 74 6f 6e 2d 73 2d 6d 69 64 64 6c 65 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20   ┆button-s-middle (char-to-string ┆
0x17c0…17e0 31 37 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 73 2d 6c 65 66 74 20   ┆17))  (defconst x-button-s-left ┆
0x17e0…1800 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 31 38 29 29 0a 0a 09 28 64 65 66 63 6f 6e 73 74   ┆(char-to-string 18))   (defconst┆
0x1800…1820 20 78 2d 62 75 74 74 6f 6e 2d 6d 2d 72 69 67 68 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e   ┆ x-button-m-right (char-to-strin┆
0x1820…1840 67 20 33 32 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 6d 2d 6d 69 64   ┆g 32))  (defconst x-button-m-mid┆
0x1840…1860 64 6c 65 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 33 33 29 29 0a 09 28 64 65 66 63 6f   ┆dle (char-to-string 33))  (defco┆
0x1860…1880 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 6d 2d 6c 65 66 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72   ┆nst x-button-m-left (char-to-str┆
0x1880…18a0 69 6e 67 20 33 34 29 29 0a 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 63 2d   ┆ing 34))   (defconst x-button-c-┆
0x18a0…18c0 72 69 67 68 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 36 34 29 29 0a 09 28 64 65 66   ┆right (char-to-string 64))  (def┆
0x18c0…18e0 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e 2d 63 2d 6d 69 64 64 6c 65 20 28 63 68 61 72 2d 74 6f   ┆const x-button-c-middle (char-to┆
0x18e0…1900 2d 73 74 72 69 6e 67 20 36 35 29 29 0a 09 28 64 65 66 63 6f 6e 73 74 20 78 2d 62 75 74 74 6f 6e   ┆-string 65))  (defconst x-button┆
0x1900…1920 2d 63 2d 6c 65 66 74 20 28 63 68 61 72 2d 74 6f 2d 73 74 72 69 6e 67 20 36 36 29 29 0a 0a 09 28   ┆-c-left (char-to-string 66))   (┆
[…truncated at 200 lines…]