diff options
| author | Eli Zaretskii | 2000-07-31 10:07:46 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-07-31 10:07:46 +0000 |
| commit | b5867e25b2633990b96e7cec4c7281159db09d7d (patch) | |
| tree | 83cfa1c58aff69d64bb8b7c47f68e712a6a79f99 | |
| parent | da288c1402ad49d7e78169e34a7a779d1df5bed8 (diff) | |
| download | emacs-b5867e25b2633990b96e7cec4c7281159db09d7d.tar.gz emacs-b5867e25b2633990b96e7cec4c7281159db09d7d.zip | |
(MS-DOS Input): Document msdos-set-mouse-buttons.
| -rw-r--r-- | man/msdog.texi | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/man/msdog.texi b/man/msdog.texi index e5eba8a9576..c793d8bc481 100644 --- a/man/msdog.texi +++ b/man/msdog.texi | |||
| @@ -93,7 +93,27 @@ The mouse commands work as documented, including those that use menus | |||
| 93 | and the menu bar (@pxref{Menu Bar}). Scroll bars don't work in | 93 | and the menu bar (@pxref{Menu Bar}). Scroll bars don't work in |
| 94 | MS-DOS Emacs. PC mice usually have only two buttons; these act as | 94 | MS-DOS Emacs. PC mice usually have only two buttons; these act as |
| 95 | @kbd{Mouse-1} and @kbd{Mouse-2}, but if you press both of them | 95 | @kbd{Mouse-1} and @kbd{Mouse-2}, but if you press both of them |
| 96 | together, that has the effect of @kbd{Mouse-3}. | 96 | together, that has the effect of @kbd{Mouse-3}. If the mouse does have |
| 97 | 3 buttons, Emacs detects that at startup, and all the 3 buttons function | ||
| 98 | normally, as on X. | ||
| 99 | |||
| 100 | @cindex mouse, set number of buttons | ||
| 101 | @findex msdos-set-mouse-buttons | ||
| 102 | Some versions of mouse drivers don't report the number of mouse | ||
| 103 | buttons correctly. For example, mice with a wheel report that they have | ||
| 104 | 3 buttons, but only 2 of them are passed to Emacs; the clicks on the | ||
| 105 | wheel, which serves as the middle button, are not passed. In these | ||
| 106 | cases, you can use the @kbd{M-x msdos-set-mouse-buttons} command to set | ||
| 107 | the notion of number of buttons used by Emacs. This command prompts for | ||
| 108 | the number of buttons, and forces Emacs to behave as if your mouse had | ||
| 109 | that number of buttons. You could make such a setting permanent by | ||
| 110 | adding this fragment to your @file{_emacs} init file: | ||
| 111 | |||
| 112 | @example | ||
| 113 | ;; Force Emacs to behave as if the mouse had | ||
| 114 | ;; only 2 buttons | ||
| 115 | (msdos-set-mouse-buttons 2) | ||
| 116 | @end example | ||
| 97 | 117 | ||
| 98 | @cindex Windows clipboard support | 118 | @cindex Windows clipboard support |
| 99 | Emacs built for MS-DOS supports clipboard operations when it runs on | 119 | Emacs built for MS-DOS supports clipboard operations when it runs on |