[9657] | 1 | .\" $XConsortium: xmh.man,v 1.28 91/08/01 01:20:41 converse Exp $ |
---|
| 2 | .TH XMH 1 "Release 5" "X Version 11" |
---|
| 3 | .SH NAME |
---|
| 4 | \fIxmh\fR \- send and read mail with an X interface to MH |
---|
| 5 | .SH SYNOPSIS |
---|
| 6 | .B xmh |
---|
| 7 | [\-path \fImailpath\fR] [\-initial \fIfoldername\fR] [\-flag] [\-\fItoolkitoption\fR ...] |
---|
| 8 | .SH DESCRIPTION |
---|
| 9 | The |
---|
| 10 | .I xmh |
---|
| 11 | program provides a graphical user interface to the \fIMH\fR Message |
---|
| 12 | Handling System. To actually do things with your mail, it makes calls to the |
---|
| 13 | \fIMH\fR package. Electronic mail messages may be composed, sent, |
---|
| 14 | received, replied to, forwarded, sorted, and stored in folders. \fIxmh\fR |
---|
| 15 | provides extensive mechanism for customization of the user interface. |
---|
| 16 | .PP |
---|
| 17 | This document introduces many aspects of the Athena Widget Set. |
---|
| 18 | |
---|
| 19 | .SH OPTIONS |
---|
| 20 | .TP 8 |
---|
| 21 | .B \-path \fIdirectory\fP |
---|
| 22 | This option specifies an alternate collection of mail folders in which to |
---|
| 23 | process mail. The directory is specified as an absolute pathname. |
---|
| 24 | The default mail path is the value of the Path component in the \fIMH\fP |
---|
| 25 | profile, which is determined by the \fBMH\fP environment variable and |
---|
| 26 | defaults to $HOME/.mh_profile. $HOME/Mail will be used as the path if |
---|
| 27 | the \fIMH\fP Path is not given in the profile. |
---|
| 28 | .TP 8 |
---|
| 29 | .B \-initial \fIfolder\fP |
---|
| 30 | This option specifies an alternate folder which may receive new mail and is |
---|
| 31 | initially opened by \fIxmh\fR. |
---|
| 32 | The default initial folder is ``inbox''. |
---|
| 33 | .TP 8 |
---|
| 34 | .B \-flag |
---|
| 35 | This option will cause \fIxmh\fR to change the appearance of appropriate |
---|
| 36 | folder buttons and to request the window manager to change the appearance |
---|
| 37 | of the \fIxmh\fP icon when new mail has arrived. By default, |
---|
| 38 | \fIxmh\fP will change the appearance of the ``inbox'' folder button when |
---|
| 39 | new mail is waiting. The application-specific resource \fBcheckNewMail\fP |
---|
| 40 | can be used to turn off this notification, and the \fB\-flag\fP option will |
---|
| 41 | still override it. |
---|
| 42 | .PP |
---|
| 43 | These three options have corresponding application-specific resources, |
---|
| 44 | \fBMailPath\fR, \fBInitialFolder\fR, and \fBMailWaitingFlag\fR, which |
---|
| 45 | can be specified in a resource file. |
---|
| 46 | .PP |
---|
| 47 | The standard toolkit command line options are given in \fIX(1)\fP. |
---|
| 48 | |
---|
| 49 | .SH INSTALLATION |
---|
| 50 | .PP |
---|
| 51 | \fIxmh\fR requires that the user is already set up |
---|
| 52 | to use \fIMH\fR, version 6. To do so, see if there is a file |
---|
| 53 | called .mh_profile in your home directory. If it exists, check to see if it |
---|
| 54 | contains a line that starts with ``Current-Folder''. If it does, |
---|
| 55 | you've been using version 4 or earlier of \fIMH\fR; to convert to version |
---|
| 56 | 6, you must remove that line. (Failure to do so causes spurious output to |
---|
| 57 | stderr, which can hang \fIxmh\fR depending on your setup.) |
---|
| 58 | .PP |
---|
| 59 | If you do not already have a .mh_profile, you can create one (and |
---|
| 60 | everything else you need) by typing ``inc'' to the shell. You should |
---|
| 61 | do this before using \fIxmh\fR to incorporate new mail. |
---|
| 62 | .PP |
---|
| 63 | For more information, refer to the \fImh(1)\fP documentation. |
---|
| 64 | .PP |
---|
| 65 | Much of the user interface of \fIxmh\fP is configured in the \fIXmh\fP |
---|
| 66 | application class defaults file; if this file was not installed properly |
---|
| 67 | a warning message will appear when \fIxmh\fP is used. \fIxmh\fP is |
---|
| 68 | backwards compatible with the R4 application class defaults file. |
---|
| 69 | .PP |
---|
| 70 | The default value of the SendBreakWidth resource has changed since R4. |
---|
| 71 | |
---|
| 72 | .SH BASIC SCREEN LAYOUT |
---|
| 73 | \fIxmh\fR starts out with a single window, divided into four major areas: |
---|
| 74 | |
---|
| 75 | .TP 4 |
---|
| 76 | .B \- |
---|
| 77 | Six buttons with pull-down command menus. |
---|
| 78 | .PP |
---|
| 79 | .TP 4 |
---|
| 80 | .B \- |
---|
| 81 | A collection of buttons, one for each top level folder. |
---|
| 82 | New users of \fIMH\fP will have two folders, ``drafts'' and ``inbox''. |
---|
| 83 | .PP |
---|
| 84 | .TP 4 |
---|
| 85 | .B \- |
---|
| 86 | A listing, or Table of Contents, of the messages in the open folder. |
---|
| 87 | Initially, this will show the messages in ``inbox''. |
---|
| 88 | .PP |
---|
| 89 | .TP 4 |
---|
| 90 | .B \- |
---|
| 91 | A view of one of your messages. Initially this is blank. |
---|
| 92 | |
---|
| 93 | .SH XMH AND THE ATHENA WIDGET SET |
---|
| 94 | \fIxmh\fR uses the X Toolkit Intrinsics and the Athena Widget Set. |
---|
| 95 | Many of the features described below (scrollbars, buttonboxes, etc.) are |
---|
| 96 | actually part of the Athena Widget Set, and are described here only for |
---|
| 97 | completeness. For more information, see the Athena Widget Set documentation. |
---|
| 98 | |
---|
| 99 | .SS SCROLLBARS |
---|
| 100 | Some parts of the main window will have a vertical area on the left containing |
---|
| 101 | a grey bar. This area is a \fIscrollbar\fR. They are used whenever the |
---|
| 102 | data in a window takes up more space than can be displayed. |
---|
| 103 | The grey bar indicates what portion of your data is visible. Thus, if the |
---|
| 104 | entire length of the area is grey, then you are looking at all your data. |
---|
| 105 | If only the first half is grey, then you are looking at the top half of |
---|
| 106 | your data. |
---|
| 107 | The message viewing area will have a horizontal scrollbar if the text |
---|
| 108 | of the message is wider than the viewing area. |
---|
| 109 | .PP |
---|
| 110 | You can use the pointer in the scrollbar to change what part of the data is |
---|
| 111 | visible. If you click with pointer button 2, the top of the grey |
---|
| 112 | area will move to where the pointer is, and the corresponding |
---|
| 113 | portion of data will be displayed. If you hold down pointer button 2, |
---|
| 114 | you can drag around the grey area. This makes it easy to get to the top |
---|
| 115 | of the data: just press with button 2, drag off the top of the |
---|
| 116 | scrollbar, and release. |
---|
| 117 | .PP |
---|
| 118 | If you click with button 1, then the data to the right of the |
---|
| 119 | pointer will scroll to the top of the window. If you click with pointer |
---|
| 120 | button 3, then the data at the top of the window will scroll down to where |
---|
| 121 | the pointer is. |
---|
| 122 | |
---|
| 123 | .SS BUTTONBOXES, BUTTONS, AND MENUS |
---|
| 124 | Any area containing many words or short phrases, each enclosed in a |
---|
| 125 | rectangular or rounded boundary, is called a \fIbuttonbox\fR. |
---|
| 126 | Each rectangle or rounded area is actually a button that you |
---|
| 127 | can press by moving the pointer onto it and pressing pointer button 1. |
---|
| 128 | If a given buttonbox has more buttons in it than can fit, it will |
---|
| 129 | be displayed with a scrollbar, so you can always scroll to the button you |
---|
| 130 | want. |
---|
| 131 | .PP |
---|
| 132 | Some buttons have pull-down menus. |
---|
| 133 | Pressing the pointer button while the pointer is over one of these |
---|
| 134 | buttons will pull down a menu. Continuing to hold the button down while |
---|
| 135 | moving the |
---|
| 136 | pointer over the menu, called dragging the pointer, will highlight each |
---|
| 137 | selectable item |
---|
| 138 | on the menu as the pointer passes over it. To select an item in the menu, |
---|
| 139 | release the pointer button while the item is highlighted. |
---|
| 140 | |
---|
| 141 | .SS ADJUSTING THE RELATIVE SIZES OF AREAS |
---|
| 142 | If you're not satisfied with the sizes of the various areas of the main window, |
---|
| 143 | they can easily be changed. Near the right edge of the border between |
---|
| 144 | each region is a black box, called a \fIgrip\fR. Simply point to that |
---|
| 145 | grip with the pointer, press a pointer button, drag up or down, and |
---|
| 146 | release. Exactly what happens depends on which pointer button you press. |
---|
| 147 | .PP |
---|
| 148 | If you drag with the pointer button 2, then only that border will move. This |
---|
| 149 | mode is simplest to understand, but is the least useful. |
---|
| 150 | .PP |
---|
| 151 | If you drag with pointer button 1, then you are adjusting the size of |
---|
| 152 | the window above. \fIxmh\fR will attempt to compensate by adjusting some |
---|
| 153 | window below it. |
---|
| 154 | .PP |
---|
| 155 | If you drag with pointer button 3, then you are adjusting the size |
---|
| 156 | of the window below. \fIxmh\fR will attempt to compensate by adjusting |
---|
| 157 | some window above it. |
---|
| 158 | .PP |
---|
| 159 | All windows have a minimum and maximum size; you will never be allowed to |
---|
| 160 | move a border past the point where it would make a window have an invalid |
---|
| 161 | size. |
---|
| 162 | |
---|
| 163 | .SH PROCESSING YOUR MAIL |
---|
| 164 | This section will define the concepts of the selected folder, current folder, |
---|
| 165 | selected message(s), current message, selected sequence, and current |
---|
| 166 | sequence. Each \fIxmh\fR command is introduced. |
---|
| 167 | .PP |
---|
| 168 | For use in customization, |
---|
| 169 | action procedures corresponding to each command are given; these action |
---|
| 170 | procedures can be used to customize the user interface, particularly the |
---|
| 171 | keyboard accelerators and the functionality of the buttons in the optional |
---|
| 172 | button box created by the application resource \fBCommandButtonCount\fR. |
---|
| 173 | |
---|
| 174 | .SS FOLDERS AND SEQUENCES |
---|
| 175 | A folder contains a collection of mail messages, or is empty. \fIxmh\fP |
---|
| 176 | supports folders with one level of subfolders. |
---|
| 177 | .PP |
---|
| 178 | The selected folder is whichever foldername appears in the bar above the |
---|
| 179 | folder buttons. Note that this is not necessarily the same folder that is |
---|
| 180 | currently being viewed. |
---|
| 181 | To change the selected folder, just press on the desired folder button |
---|
| 182 | with pointer button 1; |
---|
| 183 | if that folder has subfolders, select a folder from the pull-down menu. |
---|
| 184 | .PP |
---|
| 185 | The Table of Contents, or toc, lists the messages in the viewed folder. |
---|
| 186 | The title bar above the Table of Contents displays the name of the |
---|
| 187 | viewed folder. |
---|
| 188 | .PP |
---|
| 189 | The toc title bar also displays the name of the viewed sequence of messages |
---|
| 190 | within the viewed folder. |
---|
| 191 | Every folder has an implicit ``all'' sequence, which contains all the messages |
---|
| 192 | in the folder, and initially the toc title bar will show ``inbox:all''. |
---|
| 193 | |
---|
| 194 | .SS FOLDER COMMANDS |
---|
| 195 | The \fIFolder\fR command menu contains commands of a global nature: |
---|
| 196 | |
---|
| 197 | .TP 8 |
---|
| 198 | .B Open Folder |
---|
| 199 | Display the data in the selected folder. Thus, the selected folder also |
---|
| 200 | becomes the viewed folder. |
---|
| 201 | The action procedure corresponding |
---|
| 202 | to this command is \fBXmhOpenFolder(\fR[\fIfoldername\fR]\fB)\fR. |
---|
| 203 | It takes an optional argument as the name of a folder to select and open; if no |
---|
| 204 | folder is specified, the selected folder is opened. It may be specified |
---|
| 205 | as part of an event translation from a folder menu button or from a |
---|
| 206 | folder menu, or as a binding of a keyboard accelerator to any widget other |
---|
| 207 | than the folder menu buttons or the folder menus. |
---|
| 208 | .TP 8 |
---|
| 209 | .B Open Folder in New Window |
---|
| 210 | Displays the selected folder in an additional main window. |
---|
| 211 | Note, however, that you cannot reliably display the same folder in more |
---|
| 212 | than one window at a time, although \fIxmh\fR will not prevent you from trying. |
---|
| 213 | The corresponding action is \fBXmhOpenFolderInNewWindow()\fR. |
---|
| 214 | .TP 8 |
---|
| 215 | .B Create Folder |
---|
| 216 | Create a new folder. |
---|
| 217 | You will be prompted for a name for the new folder; |
---|
| 218 | to enter the name, move the pointer to the blank box provided and type. |
---|
| 219 | Subfolders are created by specifying the parent folder, a slash, and the |
---|
| 220 | subfolder name. For example, |
---|
| 221 | to create a folder named ``xmh'' which is a subfolder of an existing folder |
---|
| 222 | named ``clients'', type ``clients/xmh''. |
---|
| 223 | Click on the Okay button when finished, or just type Return; |
---|
| 224 | click on Cancel to cancel this operation. |
---|
| 225 | The action corresponding to Create Folder is \fBXmhCreateFolder()\fR. |
---|
| 226 | .PP |
---|
| 227 | .TP 8 |
---|
| 228 | .B Delete Folder |
---|
| 229 | Destroy the selected folder. You will be asked to confirm this action (see |
---|
| 230 | CONFIRMATION WINDOWS). Destroying a folder will also destroy any subfolders |
---|
| 231 | of that folder. The corresponding action is \fBXmhDeleteFolder()\fP. |
---|
| 232 | .PP |
---|
| 233 | .TP 8 |
---|
| 234 | .B Close Window |
---|
| 235 | Exits \fIxmh\fR, after first confirming that you won't lose any changes; |
---|
| 236 | or, if selected from any additional \fIxmh\fP window, simply closes that |
---|
| 237 | window. The corresponding action is \fBXmhClose()\fP. |
---|
| 238 | |
---|
| 239 | .SS HIGHLIGHTED MESSAGES, SELECTED MESSAGES |
---|
| 240 | .SS AND THE CURRENT MESSAGE |
---|
| 241 | It is possible to highlight a set of adjacent messages in the area of the |
---|
| 242 | Table of Contents. |
---|
| 243 | To highlight a message, click on it with pointer button 1. |
---|
| 244 | To highlight a range of messages, click on the first one with |
---|
| 245 | pointer button 1 and on the last one with pointer button 3; or |
---|
| 246 | press pointer button 1, drag, and release. |
---|
| 247 | To extend a range of selected messages, use pointer button 3. |
---|
| 248 | To highlight all messages in the table of contents, |
---|
| 249 | click rapidly three times with pointer button 1. |
---|
| 250 | To cancel any selection in the table of contents, click rapidly twice. |
---|
| 251 | |
---|
| 252 | The selected messages are the same as the highlighted messages, if any. If no |
---|
| 253 | messages are highlighted, then the selected messages are considered the same |
---|
| 254 | as the current message. |
---|
| 255 | |
---|
| 256 | The current message is indicated by a `+' next to the message number. It |
---|
| 257 | usually corresponds to the message currently being viewed. Upon opening |
---|
| 258 | a new folder, for example, the current message will be different from the |
---|
| 259 | viewed message. |
---|
| 260 | When a message is viewed, the title bar above the view will identify the message. |
---|
| 261 | |
---|
| 262 | .SS TABLE OF CONTENTS COMMANDS |
---|
| 263 | The \fITable of Contents\fP command menu |
---|
| 264 | contains commands which operate on the open, or viewed, folder. |
---|
| 265 | |
---|
| 266 | .TP 18 |
---|
| 267 | .B Incorporate New Mail |
---|
| 268 | Add any new mail received to viewed folder, and set the current |
---|
| 269 | message to be the first new message. This command is selectable in the menu |
---|
| 270 | and will execute only if the viewed folder is allowed to receive new mail. |
---|
| 271 | By default, only ``inbox'' is allowed to incorporate new mail. |
---|
| 272 | The corresponding action is \fBXmhIncorporateNewMail()\fP. |
---|
| 273 | .TP 18 |
---|
| 274 | .B Commit Changes |
---|
| 275 | Execute all deletions, moves, and copies that have been marked in this |
---|
| 276 | folder. The corresponding action is \fBXmhCommitChanges()\fP. |
---|
| 277 | .TP 18 |
---|
| 278 | .B Pack Folder |
---|
| 279 | Renumber the messages in this folder so they start with 1 and increment by |
---|
| 280 | 1. The corresponding action is \fBXmhPackFolder()\fP. |
---|
| 281 | .TP 18 |
---|
| 282 | .B Sort Folder |
---|
| 283 | Sort the messages in this folder in chronological order. (As a side |
---|
| 284 | effect, this may also pack the folder.) The corresponding action is |
---|
| 285 | \fBXmhSortFolder()\fP. |
---|
| 286 | .TP 18 |
---|
| 287 | .B Rescan Folder |
---|
| 288 | Rebuild the list of messages. This can be used whenever you suspect |
---|
| 289 | that \fIxmh\fR's |
---|
| 290 | idea of what messages you have is wrong. (In particular, this is necessary |
---|
| 291 | if you change things using straight \fIMH\fR commands without using |
---|
| 292 | \fIxmh\fR.) The corresponding action is \fBXmhForceRescan()\fP. |
---|
| 293 | |
---|
| 294 | .SS MESSAGE COMMANDS |
---|
| 295 | The \fIMessage\fR command menu contains commands which operate on the selected |
---|
| 296 | message(s), or if there are no selected messages, the current message. |
---|
| 297 | |
---|
| 298 | .TP 18 |
---|
| 299 | .B Compose Message |
---|
| 300 | Composes a new message. A new window will be brought up for composition; |
---|
| 301 | a description of it is given in the COMPOSITION WINDOWS section below. |
---|
| 302 | This command does not affect the current message. |
---|
| 303 | The corresponding action is \fBXmhComposeMessage()\fP. |
---|
| 304 | .PP |
---|
| 305 | .TP 18 |
---|
| 306 | .B View Next Message |
---|
| 307 | View the first selected message. If no messages are highlighted, view the |
---|
| 308 | current message. If current message is already being viewed, view the |
---|
| 309 | first unmarked message after the current message. |
---|
| 310 | The corresponding action is \fBXmhViewNextMessage()\fP. |
---|
| 311 | .PP |
---|
| 312 | .TP 18 |
---|
| 313 | .B View Previous |
---|
| 314 | View the last selected message. If no messages are highlighted, view the |
---|
| 315 | current message. If current message is already being viewed, view the |
---|
| 316 | first unmarked message before the current message. |
---|
| 317 | The corresponding action is \fBXmhViewPrevious()\fP. |
---|
| 318 | .PP |
---|
| 319 | .TP 18 |
---|
| 320 | .B Delete |
---|
| 321 | Mark the selected messages for deletion. If no messages are highlighted, |
---|
| 322 | mark the current message for deletion and automatically display the |
---|
| 323 | next unmarked message. |
---|
| 324 | The corresponding action is \fBXmhMarkDeleted()\fP. |
---|
| 325 | .PP |
---|
| 326 | .TP 18 |
---|
| 327 | .B Move |
---|
| 328 | Mark the selected messages to be moved into the currently selected folder. |
---|
| 329 | (If the selected folder is the same as the viewed folder, |
---|
| 330 | this command will just beep.) If no messages are highlighted, |
---|
| 331 | mark the current message to be moved and display the next unmarked message. |
---|
| 332 | The corresponding action is \fBXmhMarkMove()\fP. |
---|
| 333 | .PP |
---|
| 334 | .TP 18 |
---|
| 335 | .B Copy as Link |
---|
| 336 | Mark the selected messages to be copied into the selected folder. (If the |
---|
| 337 | selected folder is the same as the viewed folder, this command will just |
---|
| 338 | beep.) If no messages are highlighted, mark the current message to be |
---|
| 339 | copied. Note that messages are actually linked, not copied; editing |
---|
| 340 | a message copied by \fIxmh\fP will affect all copies of the message. |
---|
| 341 | The corresponding action is \fBXmhMarkCopy()\fP. |
---|
| 342 | .PP |
---|
| 343 | .TP 18 |
---|
| 344 | .B Unmark |
---|
| 345 | Remove any of the above three marks from the selected messages, or the |
---|
| 346 | current message, if none are highlighted. |
---|
| 347 | The corresponding action is \fBXmhUnmark()\fP. |
---|
| 348 | .PP |
---|
| 349 | .TP 18 |
---|
| 350 | .B View in New |
---|
| 351 | Create a new window containing only a view of the first selected message, |
---|
| 352 | or the current message, if none are highlighted. |
---|
| 353 | The corresponding action is \fBXmhViewInNewWindow()\fP. |
---|
| 354 | .PP |
---|
| 355 | .TP 18 |
---|
| 356 | .B Reply |
---|
| 357 | Create a composition window in reply to the first selected message, or the |
---|
| 358 | current message, if none are highlighted. |
---|
| 359 | The corresponding action is \fBXmhReply()\fP. |
---|
| 360 | .PP |
---|
| 361 | .TP 18 |
---|
| 362 | .B Forward |
---|
| 363 | Create a composition window whose body is initialized to contain an |
---|
| 364 | encapsulation of |
---|
| 365 | of the selected messages, or the current message if none are highlighted. |
---|
| 366 | The corresponding action is \fBXmhForward()\fP. |
---|
| 367 | .PP |
---|
| 368 | .TP 18 |
---|
| 369 | .B Use as Composition |
---|
| 370 | Create a composition window whose body is initialized to be the contents |
---|
| 371 | of the first selected message, or the current message if none are selected. |
---|
| 372 | Any changes you make in the composition will be saved in a new |
---|
| 373 | message in the ``drafts'' folder, and will not change the original message. |
---|
| 374 | However, there is an exception to this rule. |
---|
| 375 | If the message to be used as composition was selected from the ``drafts'' |
---|
| 376 | folder, (see BUGS), the changes will be reflected in the original message |
---|
| 377 | (see COMPOSITION WINDOWS). The action procedure corresponding to this |
---|
| 378 | command is \fBXmhUseAsComposition()\fR. |
---|
| 379 | .PP |
---|
| 380 | .TP 18 |
---|
| 381 | .B Print |
---|
| 382 | Print the selected messages, or the current message if none are selected. |
---|
| 383 | \fIxmh\fR normally prints by invoking |
---|
| 384 | the \fIenscript\fR(1) command, but this can be customized with the \fIxmh\fP |
---|
| 385 | application-specific resource \fBPrintCommand\fR. |
---|
| 386 | The corresponding action is \fBXmhPrint()\fR. |
---|
| 387 | |
---|
| 388 | .SS SEQUENCE COMMANDS |
---|
| 389 | The \fISequence\fR command menu contains commands pertaining to |
---|
| 390 | message sequences (See MESSAGE-SEQUENCES), |
---|
| 391 | and a list of the message-sequences defined for the currently viewed folder. |
---|
| 392 | The selected message-sequence is indicated by a check mark in its entry |
---|
| 393 | in the margin of the menu. To change the selected message-sequence, |
---|
| 394 | select a new message-sequence from the sequence menu. |
---|
| 395 | |
---|
| 396 | .TP 18 |
---|
| 397 | .B Pick Messages |
---|
| 398 | Define a new message-sequence. |
---|
| 399 | The corresponding action is \fBXmhPickMessages()\fP. |
---|
| 400 | .PP |
---|
| 401 | The following menu entries will be sensitive only if the current folder |
---|
| 402 | has any message-sequences other than the ``all'' message-sequence. |
---|
| 403 | .TP 18 |
---|
| 404 | .B Open Sequence |
---|
| 405 | Change the viewed sequence to be the same as the selected sequence. |
---|
| 406 | The corresponding action is \fBXmhOpenSequence()\fP. |
---|
| 407 | .PP |
---|
| 408 | .TP 18 |
---|
| 409 | .B Add to Sequence |
---|
| 410 | Add the selected messages to the selected sequence. |
---|
| 411 | The corresponding action is \fBXmhAddToSequence()\fP. |
---|
| 412 | .PP |
---|
| 413 | .TP 18 |
---|
| 414 | .B Remove from Sequence |
---|
| 415 | Remove the selected messages from the selected sequence. |
---|
| 416 | The corresponding action is \fBXmhRemoveFromSequence()\fP. |
---|
| 417 | .PP |
---|
| 418 | .TP 18 |
---|
| 419 | .B Delete Sequence |
---|
| 420 | Remove the selected sequence entirely. The messages themselves are |
---|
| 421 | not affected; they simply are no longer grouped together to define a |
---|
| 422 | message-sequence. The corresponding action is \fBXmhDeleteSequence()\fP. |
---|
| 423 | |
---|
| 424 | .SS VIEW COMMANDS |
---|
| 425 | Commands in the \fIView\fP menu and in the buttonboxes of view windows |
---|
| 426 | (which result from the \fIMessage\fP menu command \fBView In New\fP) |
---|
| 427 | correspond in functionality to commands of the same |
---|
| 428 | name in the \fIMessage\fP menu, but they operate on the viewed message |
---|
| 429 | rather than the selected messages or current message. |
---|
| 430 | |
---|
| 431 | .TP 18 |
---|
| 432 | .B Close Window |
---|
| 433 | When the viewed message is in a separate view window, this command will |
---|
| 434 | close the view, after confirming the status of any unsaved edits. |
---|
| 435 | The corresponding action procedure is \fBXmhCloseView()\fR. |
---|
| 436 | .TP 18 |
---|
| 437 | .B Reply |
---|
| 438 | Create a composition window in reply to the viewed message. |
---|
| 439 | The related action procedure is \fBXmhViewReply()\fR. |
---|
| 440 | .TP 18 |
---|
| 441 | .B Forward |
---|
| 442 | Create a composition window whose body is initialized contain an |
---|
| 443 | encapsulation of |
---|
| 444 | the viewed message. The corresponding action is \fBXmhViewForward()\fR. |
---|
| 445 | .TP 18 |
---|
| 446 | .B Use As Composition |
---|
| 447 | Create a composition window whose body is initialized to be the contents of |
---|
| 448 | the viewed message. Any changes made in the composition window will be |
---|
| 449 | saved in a new message in the ``drafts'' folder, and will not change the |
---|
| 450 | original message. An exception: if the viewed message was selected from |
---|
| 451 | the ``drafts'' folder, (see BUGS) the original message is edited. |
---|
| 452 | The action |
---|
| 453 | procedure corresponding to this command is \fBXmhViewUseAsComposition()\fR. |
---|
| 454 | .TP 18 |
---|
| 455 | .B Edit Message |
---|
| 456 | This command enables the direct editing of the viewed message. |
---|
| 457 | The action procedure is \fBXmhEditView()\fR. |
---|
| 458 | .TP 18 |
---|
| 459 | .B Save Message |
---|
| 460 | This command is insensitive until the message has been edited; when |
---|
| 461 | activated, edits will be saved to the original message in the view. |
---|
| 462 | The corresponding action is \fBXmhSaveView()\fR. |
---|
| 463 | .TP 18 |
---|
| 464 | .B Print |
---|
| 465 | Print the viewed message. \fIxmh\fR prints by invoking |
---|
| 466 | the \fIenscript\fR(1) command, but this can be customized with the |
---|
| 467 | application-specific resource \fBPrintCommand\fR. |
---|
| 468 | The corresponding action procedure is \fBXmhPrintView()\fR. |
---|
| 469 | .TP 18 |
---|
| 470 | .B Delete |
---|
| 471 | Marks the viewed message for deletion. |
---|
| 472 | The corresponding action procedure is \fBXmhViewMarkDelete()\fR. |
---|
| 473 | |
---|
| 474 | .SH OPTIONS |
---|
| 475 | The \fIOptions\fR menu contains one entry. |
---|
| 476 | |
---|
| 477 | .TP |
---|
| 478 | .B Read in Reverse |
---|
| 479 | When selected, a check mark appears in the margin of this menu entry. |
---|
| 480 | Read in Reverse will switch the meaning of the next and previous |
---|
| 481 | messages, and will increment to the current message marker |
---|
| 482 | in the opposite direction. This is useful |
---|
| 483 | if you want to read your messages in the order of most recent first. |
---|
| 484 | The option acts as a toggle; select it from the menu a second time to |
---|
| 485 | undo the effect. The check mark appears when the option is selected. |
---|
| 486 | |
---|
| 487 | .SH COMPOSITION WINDOWS |
---|
| 488 | Composition windows are created by selecting \fBCompose Message\fP |
---|
| 489 | from the \fIMessage\fP command menu, or by selecting |
---|
| 490 | \fBReply\fP or \fBForward\fP or \fBUse as Composition\fP from the |
---|
| 491 | \fIMessage\fP or \fIView\fP command menu. |
---|
| 492 | These are used to compose mail messages. |
---|
| 493 | Aside from the normal text editing functions, there are six command |
---|
| 494 | buttons associated with composition windows: |
---|
| 495 | .TP 18 |
---|
| 496 | .B Close Window |
---|
| 497 | Close this composition window. If changes have been made since the |
---|
| 498 | most recent Save or Send, you will be asked to confirm losing them. |
---|
| 499 | The corresponding action is \fBXmhCloseView()\fP. |
---|
| 500 | .PP |
---|
| 501 | .TP 18 |
---|
| 502 | .B Send |
---|
| 503 | Send this composition. The corresponding action is \fBXmhSend()\fP. |
---|
| 504 | .PP |
---|
| 505 | .TP 18 |
---|
| 506 | .B New Headers |
---|
| 507 | Replace the current composition with an empty message. If changes have |
---|
| 508 | been made since the most recent Send or Save, you will be |
---|
| 509 | asked to confirm losing them. |
---|
| 510 | The corresponding action is \fBXmhResetCompose()\fP. |
---|
| 511 | .PP |
---|
| 512 | .TP 18 |
---|
| 513 | .B Compose Message |
---|
| 514 | Bring up another new composition window. The corresponding action |
---|
| 515 | is \fBXmhComposeMessage()\fP. |
---|
| 516 | .PP |
---|
| 517 | .TP 18 |
---|
| 518 | .B Save Message |
---|
| 519 | Save this composition in your drafts folder. Then you can safely close the |
---|
| 520 | composition. At some future date, you can continue working on the |
---|
| 521 | composition by opening the drafts folder, selecting the message, and |
---|
| 522 | using the ``Use as Composition'' command. |
---|
| 523 | The corresponding action is \fBXmhSave()\fP. |
---|
| 524 | .PP |
---|
| 525 | .TP 18 |
---|
| 526 | .B Insert |
---|
| 527 | Insert a related message into the composition. If the composition window |
---|
| 528 | was created with a ``Reply'' command, the related message is the message |
---|
| 529 | being replied to, otherwise no related message is defined and this button |
---|
| 530 | is insensitive. The message may be filtered before being inserted; |
---|
| 531 | see \fBReplyInsertFilter\fP under APPLICATION RESOURCES for more information. |
---|
| 532 | The corresponding action is \fBXmhInsert()\fP. |
---|
| 533 | |
---|
| 534 | .SH ACCELERATORS |
---|
| 535 | Accelerators are shortcuts. They allow you to invoke commands |
---|
| 536 | without using the menus, either from the keyboard or by using the pointer. |
---|
| 537 | .PP |
---|
| 538 | \fIxmh\fP defines pointer accelerators for common actions: |
---|
| 539 | To select and view a message with a single click, use pointer button |
---|
| 540 | 2 on the message's entry in the table of contents. To select and open |
---|
| 541 | a folder or a sequence in a single action, make the folder or sequence |
---|
| 542 | selection with pointer button 2. |
---|
| 543 | |
---|
| 544 | To mark the highlighted messages, |
---|
| 545 | or current message if none have been highlighted, |
---|
| 546 | to be moved to a folder in a single action, use pointer button 3 to select |
---|
| 547 | the target folder and simultaneously mark the messages. |
---|
| 548 | Similarly, selecting a sequence with pointer button 3 will add |
---|
| 549 | the highlighted or current message(s) to that sequence. |
---|
| 550 | In both of these operations, the selected folder or sequence |
---|
| 551 | and the viewed folder or sequence are not changed. |
---|
| 552 | |
---|
| 553 | \fIxmh\fP defines the following keyboard accelerators over the surface of |
---|
| 554 | the main window, except in the view area while editing a message: |
---|
| 555 | .nf |
---|
| 556 | Meta-I Incorporate New Mail |
---|
| 557 | Meta-C Commit Changes |
---|
| 558 | Meta-R Rescan Folder |
---|
| 559 | Meta-P Pack Folder |
---|
| 560 | Meta-S Sort Folder |
---|
| 561 | |
---|
| 562 | Meta-space View Next Message |
---|
| 563 | Meta-c Mark Copy |
---|
| 564 | Meta-d Mark Deleted |
---|
| 565 | Meta-f Forward the selected or current message |
---|
| 566 | Meta-m Mark Move |
---|
| 567 | Meta-n View Next Message |
---|
| 568 | Meta-p View Previous Message |
---|
| 569 | Meta-r Reply to the selected or current message |
---|
| 570 | Meta-u Unmark |
---|
| 571 | |
---|
| 572 | Ctrl-V Scroll the table of contents forward |
---|
| 573 | Meta-V Scroll the table of contents backward |
---|
| 574 | Ctrl-v Scroll the view forward |
---|
| 575 | Meta-v Scroll the view backward |
---|
| 576 | .fi |
---|
| 577 | |
---|
| 578 | .SH TEXT EDITING COMMANDS |
---|
| 579 | All of the text editing commands are actually defined by the Text widget |
---|
| 580 | in the Athena Widget Set. |
---|
| 581 | The commands may be bound to different keys than the defaults |
---|
| 582 | described below through the X Toolkit Intrinsics key re-binding mechanisms. |
---|
| 583 | See the X Toolkit Intrinsics and the Athena Widget Set documentation for |
---|
| 584 | more details. |
---|
| 585 | |
---|
| 586 | Whenever you are asked to enter any text, you will be using a standard |
---|
| 587 | text editing interface. Various control and meta keystroke combinations |
---|
| 588 | are bound to a somewhat Emacs-like set of commands. In addition, the |
---|
| 589 | pointer buttons may be used to select a portion of text or to move the |
---|
| 590 | insertion point in the text. Pressing pointer button 1 causes the |
---|
| 591 | insertion point to move to the pointer. Double-clicking |
---|
| 592 | button 1 selects a word, triple-clicking selects a line, quadruple-clicking |
---|
| 593 | selects a paragraph, and clicking rapidly five times selects |
---|
| 594 | everything. Any selection may be extended in |
---|
| 595 | either direction by using pointer button 3. |
---|
| 596 | |
---|
| 597 | In the following, a \fIline\fR refers to one displayed row of characters |
---|
| 598 | in the window. A \fIparagraph\fR refers to the text between carriage |
---|
| 599 | returns. Text within a paragraph is broken into lines for display based on the |
---|
| 600 | current width of the window. |
---|
| 601 | When a message is sent, text is broken into lines based upon the values |
---|
| 602 | of the \fBSendBreakWidth\fP and \fBSendWidth\fP application-specific |
---|
| 603 | resources. |
---|
| 604 | |
---|
| 605 | The following keystroke combinations are defined: |
---|
| 606 | .sp |
---|
| 607 | .nf |
---|
| 608 | .ta 1.0i 3.0i 4.5i |
---|
| 609 | Ctrl-a Beginning Of Line Meta-b Backward Word |
---|
| 610 | Ctrl-b Backward Character Meta-f Forward Word |
---|
| 611 | Ctrl-d Delete Next Character Meta-i Insert File |
---|
| 612 | Ctrl-e End Of Line Meta-k Kill To End Of Paragraph |
---|
| 613 | Ctrl-f Forward Character Meta-q Form Paragraph |
---|
| 614 | Ctrl-g Multiply Reset Meta-v Previous Page |
---|
| 615 | Ctrl-h Delete Previous Character Meta-y Insert Current Selection |
---|
| 616 | Ctrl-j Newline And Indent Meta-z Scroll One Line Down |
---|
| 617 | Ctrl-k Kill To End Of Line Meta-d Delete Next Word |
---|
| 618 | Ctrl-l Redraw Display Meta-D Kill Word |
---|
| 619 | Ctrl-m Newline Meta-h Delete Previous Word |
---|
| 620 | Ctrl-n Next Line Meta-H Backward Kill Word |
---|
| 621 | Ctrl-o Newline And Backup Meta-< Beginning Of File |
---|
| 622 | Ctrl-p Previous Line Meta-> End Of File |
---|
| 623 | Ctrl-r Search/Replace Backward Meta-] Forward Paragraph |
---|
| 624 | Ctrl-s Search/Replace Forward Meta-[ Backward Paragraph |
---|
| 625 | Ctrl-t Transpose Characters |
---|
| 626 | Ctrl-u Multiply by 4 Meta-Delete Delete Previous Word |
---|
| 627 | Ctrl-v Next Page Meta-Shift Delete Kill Previous Word |
---|
| 628 | Ctrl-w Kill Selection Meta-Backspace Delete Previous Word |
---|
| 629 | Ctrl-y Unkill Meta-Shift Backspace Kill Previous Word |
---|
| 630 | Ctrl-z Scroll One Line Up |
---|
| 631 | .sp |
---|
| 632 | In addition, the pointer may be used to copy and paste text: |
---|
| 633 | .ta .5i 2.0i |
---|
| 634 | Button 1 Down Start Selection |
---|
| 635 | Button 1 Motion Adjust Selection |
---|
| 636 | Button 1 Up End Selection (copy) |
---|
| 637 | |
---|
| 638 | Button 2 Down Insert Current Selection (paste) |
---|
| 639 | |
---|
| 640 | Button 3 Down Extend Current Selection |
---|
| 641 | Button 3 Motion Adjust Selection |
---|
| 642 | Button 3 Up End Selection (copy) |
---|
| 643 | .fi |
---|
| 644 | .sp |
---|
| 645 | .SH CONFIRMATION DIALOG BOXES |
---|
| 646 | Whenever you press a button that may cause you to lose some work or is |
---|
| 647 | otherwise dangerous, a popup dialog box will appear asking you to confirm the |
---|
| 648 | action. This window will contain an ``Abort'' or ``No'' button and a |
---|
| 649 | ``Confirm'' or ``Yes'' |
---|
| 650 | button. Pressing the ``No'' button cancels the operation, and pressing |
---|
| 651 | the ``Yes'' will proceed with the operation. |
---|
| 652 | |
---|
| 653 | Some dialog boxes contain messages from \fIMH\fR. Occasionally when the |
---|
| 654 | message is more than one line long, |
---|
| 655 | not all of the text will be visible. Clicking on the message field will |
---|
| 656 | cause the dialog box to resize so that you can read the entire message. |
---|
| 657 | |
---|
| 658 | .SH MESSAGE-SEQUENCES |
---|
| 659 | An \fIMH\fP message sequence is just a set of messages associated with some name. |
---|
| 660 | They are local to a particular folder; two different folders can have |
---|
| 661 | sequences with the same name. The sequence named ``all'' is predefined in |
---|
| 662 | every folder; it consists of the set of all messages in that folder. As |
---|
| 663 | many as nine sequences may be defined for each folder, including |
---|
| 664 | the predefined ``all'' sequence. (The |
---|
| 665 | sequence ``cur'' is also usually defined for every folder; it consists of |
---|
| 666 | only the current message. \fIxmh\fR hides ``cur'' from the user, instead |
---|
| 667 | placing a ``+'' by the current message. Also, \fIxmh\fR does not support |
---|
| 668 | \fIMH\fP's``unseen'' sequence, so that one is also hidden from the user.) |
---|
| 669 | |
---|
| 670 | The message sequences for a folder (including one for ``all'') are |
---|
| 671 | displayed in the ``Sequence'' menu, below the sequence commands. |
---|
| 672 | The table of contents (also known as the ``toc'') is at any one time |
---|
| 673 | displaying one message sequence. This is called the ``viewed sequence'', |
---|
| 674 | and its name will be displayed in the toc title bar after the |
---|
| 675 | folder name. Also, at any time one of the sequences in the menu will |
---|
| 676 | have a check mark next to it. This is called the ``selected sequence''. |
---|
| 677 | Note that the viewed sequence and the selected sequence are not necessarily |
---|
| 678 | the same. (This all pretty much corresponds to the way folders work.) |
---|
| 679 | |
---|
| 680 | The \fBOpen Sequence\fR, \fBAdd to Sequence\fR, \fBRemove from Sequence\fR, |
---|
| 681 | and \fBDelete Sequence\fR commands are active only if the viewed folder |
---|
| 682 | contains message-sequences other than ``all'' sequence. |
---|
| 683 | .PP |
---|
| 684 | Note that none of the above actually affect whether a message is in the |
---|
| 685 | folder. Remember that a sequence is a set of messages within the folder; |
---|
| 686 | the above operations just affect what messages are in that set. |
---|
| 687 | |
---|
| 688 | To create a new sequence, select the ``Pick'' menu entry. A new window will |
---|
| 689 | appear, with lots of places to enter text. Basically, you can describe the |
---|
| 690 | sequence's initial set of messages based on characteristics of the |
---|
| 691 | message. Thus, you can define a sequence to be all the messages that were |
---|
| 692 | from a particular person, or with a particular subject, and so on. You |
---|
| 693 | can also connect things up with boolean operators, so you can select all |
---|
| 694 | things from ``weissman'' with a subject containing ``xmh''. |
---|
| 695 | |
---|
| 696 | The layout should be fairly obvious. The simplest cases are the |
---|
| 697 | easiest: just point to the proper field and type. If you enter in more |
---|
| 698 | than one field, it will only select messages which match all non-empty |
---|
| 699 | fields. |
---|
| 700 | |
---|
| 701 | The more complicated cases arise when you want things that match one field |
---|
| 702 | or another one, but not necessarily both. That's what all the ``or'' |
---|
| 703 | buttons are for. If you want all things with subjects that include ``xmh'' or |
---|
| 704 | ``xterm'', just press the ``or'' button next to the ``Subject:'' field. |
---|
| 705 | Another box will appear where you can enter another subject. |
---|
| 706 | |
---|
| 707 | If you want all things either from ``weissman'' or with subject ``xmh'', but |
---|
| 708 | not necessarily both, select the ``\-Or\-'' button. This will essentially |
---|
| 709 | double the size of the form. You can then enter ``weissman'' in a from: box |
---|
| 710 | on the top half, and ``xmh'' in a subject: box on the lower part. |
---|
| 711 | |
---|
| 712 | If you select the ``Skip'' button, then only those messages that |
---|
| 713 | \fIdon't\fR match the fields on that row are included. |
---|
| 714 | |
---|
| 715 | Finally, in the bottom part of the window will appear several more boxes. |
---|
| 716 | One is the name of the sequence you're defining. (It defaults to the name |
---|
| 717 | of the selected sequence when ``Pick'' was pressed, or to ``temp'' if |
---|
| 718 | ``all'' was the selected sequence.) Another box defines which sequence to |
---|
| 719 | look through for potential members of this sequence; it defaults to the |
---|
| 720 | viewed sequence when ``Pick'' was pressed. |
---|
| 721 | |
---|
| 722 | Two more boxes define a date range; only messages within that date range |
---|
| 723 | will be considered. These dates must be entered in RFC 822-style format: each |
---|
| 724 | date is of the form ``dd mmm yy hh:mm:ss zzz'', where dd is a one or two |
---|
| 725 | digit day of the month, mmm is the three-letter abbreviation for a month, |
---|
| 726 | and yy is a year. The remaining fields are optional: hh, mm, and ss |
---|
| 727 | specify a time of day, and zzz selects a time zone. Note that if the time |
---|
| 728 | is left out, it defaults to midnight; thus if you select a range of ``7 |
---|
| 729 | nov 86'' \- ``8 nov 86'', you will only get messages from the 7th, as all |
---|
| 730 | messages on the 8th will have arrived after midnight. |
---|
| 731 | |
---|
| 732 | ``Date field'' specifies which field in the header to look at for |
---|
| 733 | this date range; it defaults to ``Date''. If the sequence |
---|
| 734 | you're defining already exists, you can optionally merge the old set with |
---|
| 735 | the new; that's what the ``Yes'' and ``No'' buttons are all about. |
---|
| 736 | Finally, you can ``OK'' the whole thing, or ``Cancel'' it. |
---|
| 737 | |
---|
| 738 | In general, most people will rarely use these features. However, it's |
---|
| 739 | nice to occasionally use ``Pick'' to find some messages, look through |
---|
| 740 | them, and then hit ``Delete Sequence'' to put things back in their original |
---|
| 741 | state. |
---|
| 742 | |
---|
| 743 | .SH WIDGET HIERARCHY |
---|
| 744 | In order to specify resources, it is useful to know the hierarchy of |
---|
| 745 | widgets which compose \fIxmh\fR. In the notation below, indentation |
---|
| 746 | indicates hierarchical structure. The widget class name is given first, |
---|
| 747 | followed by the widget instance name. |
---|
| 748 | The application class name is Xmh. |
---|
| 749 | .PP |
---|
| 750 | The hierarchy of the main toc and view window is identical for additional |
---|
| 751 | toc and view windows, except that a TopLevelShell widget is inserted |
---|
| 752 | in the hierarchy between the application shell and the Paned widget. |
---|
| 753 | .sp |
---|
| 754 | .nf |
---|
| 755 | .ta .5i 1.0i 1.5i 2.0i 2.5i 3.0i 3.5i 4.0i 4.5i 5.0i 5.5i 6.0i 6.5i 7.0i |
---|
| 756 | Xmh xmh |
---|
| 757 | Paned xmh |
---|
| 758 | SimpleMenu folderMenu |
---|
| 759 | SmeBSB open |
---|
| 760 | SmeBSB openInNew |
---|
| 761 | SmeBSB create |
---|
| 762 | SmeBSB delete |
---|
| 763 | SmeLine line |
---|
| 764 | SmeBSB close |
---|
| 765 | SimpleMenu tocMenu |
---|
| 766 | SmeBSB inc |
---|
| 767 | SmeBSB commit |
---|
| 768 | SmeBSB pack |
---|
| 769 | SmeBSB sort |
---|
| 770 | SmeBSB rescan |
---|
| 771 | SimpleMenu messageMenu |
---|
| 772 | SmeBSB compose |
---|
| 773 | SmeBSB next |
---|
| 774 | SmeBSB prev |
---|
| 775 | SmeBSB delete |
---|
| 776 | SmeBSB move |
---|
| 777 | SmeBSB copy |
---|
| 778 | SmeBSB unmark |
---|
| 779 | SmeBSB viewNew |
---|
| 780 | SmeBSB reply |
---|
| 781 | SmeBSB forward |
---|
| 782 | SmeBSB useAsComp |
---|
| 783 | SmeBSB print |
---|
| 784 | SimpleMenu sequenceMenu |
---|
| 785 | SmeBSB pick |
---|
| 786 | SmeBSB openSeq |
---|
| 787 | SmeBSB addToSeq |
---|
| 788 | SmeBSB removeFromSeq |
---|
| 789 | SmeBSB deleteSeq |
---|
| 790 | SmeLine line |
---|
| 791 | SmeBSB all |
---|
| 792 | SimpleMenu viewMenu |
---|
| 793 | SmeBSB reply |
---|
| 794 | SmeBSB forward |
---|
| 795 | SmeBSB useAsComp |
---|
| 796 | SmeBSB edit |
---|
| 797 | SmeBSB save |
---|
| 798 | SmeBSB print |
---|
| 799 | SimpleMenu optionMenu |
---|
| 800 | SmeBSB reverse |
---|
| 801 | Viewport.Core menuBox.clip |
---|
| 802 | Box menuBox |
---|
| 803 | MenuButton folderButton |
---|
| 804 | MenuButton tocButton |
---|
| 805 | MenuButton messageButton |
---|
| 806 | MenuButton sequenceButton |
---|
| 807 | MenuButton viewButton |
---|
| 808 | MenuButton optionButton |
---|
| 809 | Grip grip |
---|
| 810 | Label folderTitlebar |
---|
| 811 | Grip grip |
---|
| 812 | Viewport.Core folders.clip |
---|
| 813 | Box folders |
---|
| 814 | MenuButton inbox |
---|
| 815 | MenuButton drafts |
---|
| 816 | SimpleMenu menu |
---|
| 817 | SmeBSB <folder_name> |
---|
| 818 | . |
---|
| 819 | . |
---|
| 820 | . |
---|
| 821 | |
---|
| 822 | Grip grip |
---|
| 823 | Label tocTitlebar |
---|
| 824 | Grip grip |
---|
| 825 | Text toc |
---|
| 826 | Scrollbar vScrollbar |
---|
| 827 | Grip grip |
---|
| 828 | Label viewTitlebar |
---|
| 829 | Grip grip |
---|
| 830 | Text view |
---|
| 831 | Scrollbar vScrollbar |
---|
| 832 | Scrollbar hScrollbar |
---|
| 833 | .sp |
---|
| 834 | \fIThe hierarchy of the Create Folder popup dialog box:\fR |
---|
| 835 | .sp |
---|
| 836 | TransientShell prompt |
---|
| 837 | Dialog dialog |
---|
| 838 | Label label |
---|
| 839 | Text value |
---|
| 840 | Command okay |
---|
| 841 | Command cancel |
---|
| 842 | .sp |
---|
| 843 | \fIThe hierarchy of the Notice dialog box, which reports messages from MH:\fR |
---|
| 844 | .sp |
---|
| 845 | TransientShell notice |
---|
| 846 | Dialog dialog |
---|
| 847 | Label label |
---|
| 848 | Text value |
---|
| 849 | Command confirm |
---|
| 850 | .sp |
---|
| 851 | \fIThe hierarchy of the Confirmation dialog box:\fR |
---|
| 852 | .sp |
---|
| 853 | TransientShell confirm |
---|
| 854 | Dialog dialog |
---|
| 855 | Label label |
---|
| 856 | Command yes |
---|
| 857 | Command no |
---|
| 858 | .sp |
---|
| 859 | \fIThe hierarchy of the dialog box which reports errors:\fR |
---|
| 860 | .sp |
---|
| 861 | TransientShell error |
---|
| 862 | Dialog dialog |
---|
| 863 | Label label |
---|
| 864 | Command OK |
---|
| 865 | .sp |
---|
| 866 | \fIThe hierarchy of the composition window:\fR |
---|
| 867 | .sp |
---|
| 868 | TopLevelShell xmh |
---|
| 869 | Paned xmh |
---|
| 870 | Label composeTitlebar |
---|
| 871 | Text comp |
---|
| 872 | Viewport.Core compButtons.clip |
---|
| 873 | Box compButtons |
---|
| 874 | Command close |
---|
| 875 | Command send |
---|
| 876 | Command reset |
---|
| 877 | Command compose |
---|
| 878 | Command save |
---|
| 879 | Command insert |
---|
| 880 | .sp |
---|
| 881 | \fIThe hierarchy of the view window:\fR |
---|
| 882 | .sp |
---|
| 883 | TopLevelShell xmh |
---|
| 884 | Paned xmh |
---|
| 885 | Label viewTitlebar |
---|
| 886 | Text view |
---|
| 887 | Viewport.Core viewButtons.clip |
---|
| 888 | Box viewButtons |
---|
| 889 | Command close |
---|
| 890 | Command reply |
---|
| 891 | Command forward |
---|
| 892 | Command useAsComp |
---|
| 893 | Command edit |
---|
| 894 | Command save |
---|
| 895 | Command print |
---|
| 896 | Command delete |
---|
| 897 | .sp |
---|
| 898 | \fIThe hierarchy of the pick window:\fR |
---|
| 899 | \fI(Unnamed widgets have no name.)\fR |
---|
| 900 | .sp |
---|
| 901 | TopLevelShell xmh |
---|
| 902 | Paned xmh |
---|
| 903 | Label pickTitlebar |
---|
| 904 | Viewport.Core pick.clip |
---|
| 905 | Form form |
---|
| 906 | Form groupform |
---|
| 907 | \fIThe first 6 rows of the pick window have identical structure:\fR |
---|
| 908 | Form rowform |
---|
| 909 | Toggle |
---|
| 910 | Toggle |
---|
| 911 | Label |
---|
| 912 | Text |
---|
| 913 | Command |
---|
| 914 | |
---|
| 915 | Form rowform |
---|
| 916 | Toggle |
---|
| 917 | Toggle |
---|
| 918 | Text |
---|
| 919 | Text |
---|
| 920 | Command |
---|
| 921 | Form rowform |
---|
| 922 | Command |
---|
| 923 | Viewport.core pick.clip |
---|
| 924 | Form form |
---|
| 925 | From groupform |
---|
| 926 | Form rowform |
---|
| 927 | Label |
---|
| 928 | Text |
---|
| 929 | Label |
---|
| 930 | Text |
---|
| 931 | Form rowform |
---|
| 932 | Label |
---|
| 933 | Text |
---|
| 934 | Label |
---|
| 935 | Text |
---|
| 936 | Label |
---|
| 937 | Text |
---|
| 938 | Form rowform |
---|
| 939 | Label |
---|
| 940 | Toggle |
---|
| 941 | Toggle |
---|
| 942 | Form rowform |
---|
| 943 | Command |
---|
| 944 | Command |
---|
| 945 | |
---|
| 946 | .fi |
---|
| 947 | .SH APPLICATION-SPECIFIC RESOURCES |
---|
| 948 | .PP |
---|
| 949 | The application class name is \fBXmh\fP. |
---|
| 950 | Application-specific resources are listed below by name. |
---|
| 951 | Application-specific resource class names always begin with an upper case |
---|
| 952 | character, but unless noted, are otherwise identical to the instance names |
---|
| 953 | given below. |
---|
| 954 | .PP |
---|
| 955 | Any of these options may also be specified on the command line by |
---|
| 956 | using the X Toolkit Intrinsics resource specification mechanism. |
---|
| 957 | Thus, to run \fIxmh\fR showing all message headers, |
---|
| 958 | .br |
---|
| 959 | % xmh \-xrm '*HideBoringHeaders:off' |
---|
| 960 | .PP |
---|
| 961 | If \fBTocGeometry\fR, \fBViewGeometry\fR, \fBCompGeometry\fR, or |
---|
| 962 | \fBPickGeometry\fR are not |
---|
| 963 | specified, then the value of \fBGeometry\fR is used instead. If the resulting |
---|
| 964 | height is not specified (e.g., "", "=500", "+0-0"), then the default |
---|
| 965 | height of windows is calculated from fonts and line counts. If |
---|
| 966 | the width is not specified (e.g., "", "=x300", "-0+0"), then half of the |
---|
| 967 | display width is used. If unspecified, the height of a pick window |
---|
| 968 | defaults to half the height of the display. |
---|
| 969 | .PP |
---|
| 970 | The following resources are defined: |
---|
| 971 | .TP 8 |
---|
| 972 | .B banner |
---|
| 973 | A short string that is the default label of the folder, Table of Contents, |
---|
| 974 | and view. The default is "xmh MIT X Consortium R5". |
---|
| 975 | .PP |
---|
| 976 | .TP 8 |
---|
| 977 | .B blockEventsOnBusy |
---|
| 978 | Whether to disallow user input and show a busy cursor while \fIxmh\fP is |
---|
| 979 | busy processing a command. Default is true. |
---|
| 980 | .PP |
---|
| 981 | .TP 8 |
---|
| 982 | .B busyCursor |
---|
| 983 | The name of the symbol used to represent the position of the pointer, |
---|
| 984 | displayed if \fBblockEventsOnBusy\fR is true, when \fIxmh\fR is |
---|
| 985 | processing a time-consuming command. |
---|
| 986 | The default is "watch". |
---|
| 987 | .PP |
---|
| 988 | .TP 8 |
---|
| 989 | .B busyPointerColor |
---|
| 990 | The foreground color of the busy cursor. Default is XtDefaultForeground. |
---|
| 991 | .PP |
---|
| 992 | .TP 8 |
---|
| 993 | .B checkFrequency |
---|
| 994 | How often to check for new mail, make checkpoints, and rescan the Table |
---|
| 995 | of Contents, in minutes. If \fBcheckNewMail\fR is true, \fIxmh\fR checks |
---|
| 996 | to see if you have new mail each interval. If \fBmakeCheckpoints\fR is |
---|
| 997 | true, checkpoints are made every fifth interval. Also every fifth |
---|
| 998 | interval, the Table of Contents is checked for inconsistencies with the |
---|
| 999 | file system, and rescanned if out of date. To prevent all of these checks |
---|
| 1000 | from occurring, set \fBCheckFrequency\fR to 0. The default is 1. |
---|
| 1001 | This resource is retained for backward compatibility with user resource |
---|
| 1002 | files; see also \fBcheckpointInterval\fP, \fBmailInterval\fP, |
---|
| 1003 | and \fBrescanInterval\fP. |
---|
| 1004 | .PP |
---|
| 1005 | .TP 8 |
---|
| 1006 | .B checkNewMail |
---|
| 1007 | If true, \fIxmh\fP will check at regular intervals to see if new mail |
---|
| 1008 | has arrived for any of the top level folders and any opened subfolders. |
---|
| 1009 | A visual indication will be given if new mail is waiting to be incorporated |
---|
| 1010 | into a top level folder. |
---|
| 1011 | Default is true. |
---|
| 1012 | The interval can be adjusted with \fBmailInterval\fR. |
---|
| 1013 | .PP |
---|
| 1014 | .TP 8 |
---|
| 1015 | .B "checkpointInterval \fP(class \fBInterval\fP)" |
---|
| 1016 | Specifies in minutes how often to make checkpoints of volatile state, |
---|
| 1017 | if \fBmakeCheckpoints\fP is true. |
---|
| 1018 | The default is 5 times the value of \fBcheckFrequency\fP. |
---|
| 1019 | .PP |
---|
| 1020 | .TP 8 |
---|
| 1021 | .B checkpointNameFormat |
---|
| 1022 | Specifies how checkpointed files are to be named. The value of this |
---|
| 1023 | resource will be used to compose a file name by inserting the message |
---|
| 1024 | number as a string in place of the required single occurance of `%d'. If |
---|
| 1025 | the value of the resource is the empty string, or if no `%d' occurs in |
---|
| 1026 | the string, or if "%d" is the value of the resource, the default will be |
---|
| 1027 | used instead. The default is "%d.CKP". Checkpointing is done in the |
---|
| 1028 | folder of origin unless an absolute pathname is given. \fIxmh\fP does |
---|
| 1029 | not assist the user in recovering checkpoints, nor does it provide for |
---|
| 1030 | removal of the checkpoint files. |
---|
| 1031 | .PP |
---|
| 1032 | .TP 8 |
---|
| 1033 | .B commandButtonCount |
---|
| 1034 | The number of command buttons to create in a button box in between the toc |
---|
| 1035 | and the view areas of the main window. \fIxmh\fP will create these buttons |
---|
| 1036 | with the names \fIbutton1, button2\fP and so on, in a box with the name |
---|
| 1037 | \fIcommandBox\fR. The default is 0. |
---|
| 1038 | \fIxmh\fP users can specify labels and actions for the buttons in a private |
---|
| 1039 | resource file; see the section ACTIONS AND INTERFACE CUSTOMIZATION. |
---|
| 1040 | .PP |
---|
| 1041 | .TP 8 |
---|
| 1042 | .B compGeometry |
---|
| 1043 | Initial geometry for windows containing compositions. |
---|
| 1044 | .PP |
---|
| 1045 | .TP 8 |
---|
| 1046 | .B cursor |
---|
| 1047 | The name of the symbol used to represent the pointer. Default is ``left_ptr''. |
---|
| 1048 | .PP |
---|
| 1049 | .TP 8 |
---|
| 1050 | .B debug |
---|
| 1051 | Whether or not to print information to stderr as \fIxmh\fP runs. |
---|
| 1052 | Default is false. |
---|
| 1053 | .PP |
---|
| 1054 | .TP 8 |
---|
| 1055 | .B draftsFolder |
---|
| 1056 | The folder used for message drafts. Default is ``drafts''. |
---|
| 1057 | .PP |
---|
| 1058 | .TP 8 |
---|
| 1059 | .B geometry |
---|
| 1060 | Default geometry to use. Default is none. |
---|
| 1061 | .PP |
---|
| 1062 | .TP 8 |
---|
| 1063 | .B hideBoringHeaders |
---|
| 1064 | If ``on'', then \fIxmh\fR will attempt to skip uninteresting header lines |
---|
| 1065 | within messages by scrolling them off the top of the view. |
---|
| 1066 | Default is ``on''. |
---|
| 1067 | .PP |
---|
| 1068 | .TP 8 |
---|
| 1069 | .B initialFolder |
---|
| 1070 | Which folder to display on startup. May also be set with the command-line |
---|
| 1071 | option \fB\-initial\fR. Default is ``inbox''. |
---|
| 1072 | .PP |
---|
| 1073 | .TP 8 |
---|
| 1074 | .B initialIncFile |
---|
| 1075 | The absolute path name of your incoming mail drop file. |
---|
| 1076 | In some installations, for example those using the Post Office Protocol, |
---|
| 1077 | no file is appropriate. |
---|
| 1078 | In this case, \fBinitialIncFile\fR should not be specified, |
---|
| 1079 | or may be specified as the empty string, |
---|
| 1080 | and \fIinc\fR will be invoked without a \-file argument. |
---|
| 1081 | By default, this resource has no value. |
---|
| 1082 | This resource is ignored if \fIxmh\fP finds an \fI.xmhcheck\fP file; see |
---|
| 1083 | the section on multiple mail drops. |
---|
| 1084 | .PP |
---|
| 1085 | .TP 8 |
---|
| 1086 | .B "mailInterval (\fPclass\fB Interval)" |
---|
| 1087 | Specifies the interval in minutes at which the mail should be checked, if |
---|
| 1088 | \fBmailWaitingFlag\fP or \fBcheckNewMail\fP is true. |
---|
| 1089 | The default is the value of \fBcheckFrequency\fR. |
---|
| 1090 | .PP |
---|
| 1091 | .TP 8 |
---|
| 1092 | .B mailPath |
---|
| 1093 | The full path prefix for locating your mail folders. May also be set |
---|
| 1094 | with the command line option, \fB\-path\fR. The default is the |
---|
| 1095 | Path component in the \fIMH\fP profile, or ``$HOME/Mail'' if none. |
---|
| 1096 | .PP |
---|
| 1097 | .TP 8 |
---|
| 1098 | .B mailWaitingFlag |
---|
| 1099 | If true, \fIxmh\fP will attempt to set an indication in its icon when |
---|
| 1100 | new mail is waiting to be retrieved. If \fBmailWaitingFlag\fP is true, then |
---|
| 1101 | \fBcheckNewMail\fP is assumed to be true as well. The \fB\-flag\fP command |
---|
| 1102 | line option is a quick way to turn on this resource. |
---|
| 1103 | .PP |
---|
| 1104 | .TP 8 |
---|
| 1105 | .B makeCheckpoints |
---|
| 1106 | If true, \fIxmh\fP will attempt to save checkpoints of volatile edits. |
---|
| 1107 | The default is false. The frequency of checkpointing is controlled by the |
---|
| 1108 | resource \fBcheckpointInterval\fR. For the location of checkpointing, see |
---|
| 1109 | \fBcheckpointNameFormat\fP. |
---|
| 1110 | .PP |
---|
| 1111 | .TP 8 |
---|
| 1112 | .B mhPath |
---|
| 1113 | What directory in which to find the \fIMH\fR commands. If a command isn't |
---|
| 1114 | found in the user's path, then the path specified here is used. |
---|
| 1115 | Default is ``/usr/local/mh6''. |
---|
| 1116 | .PP |
---|
| 1117 | .TP 8 |
---|
| 1118 | .B "newMailBitmap \fP(class \fBNewMailBitmap\fP)" |
---|
| 1119 | The bitmap to show in the folder button when a folder has new mail. |
---|
| 1120 | The default is ``black6''. |
---|
| 1121 | .PP |
---|
| 1122 | .TP 8 |
---|
| 1123 | .B "newMailIconBitmap \fP(class \fBNewMailBitmap\fP)" |
---|
| 1124 | The bitmap suggested to the window manager for the icon when any folder |
---|
| 1125 | has new mail. The default is ``flagup''. |
---|
| 1126 | .PP |
---|
| 1127 | .TP 8 |
---|
| 1128 | .B "noMailBitmap (\fPclass\fB NoMailBitmap)" |
---|
| 1129 | The bitmap to show in the folder button when a folder has no new mail. |
---|
| 1130 | The default is ``box6''. |
---|
| 1131 | .PP |
---|
| 1132 | .TP 8 |
---|
| 1133 | .B "noMailIconBitmap (\fPclass\fB NoMailBitmap)" |
---|
| 1134 | The bitmap suggested to the window manager for the icon when no folders |
---|
| 1135 | have new mail. The default is ``flagdown''. |
---|
| 1136 | .PP |
---|
| 1137 | .TP 8 |
---|
| 1138 | .B pickGeometry |
---|
| 1139 | Initial geometry for pick windows. |
---|
| 1140 | .PP |
---|
| 1141 | .TP 8 |
---|
| 1142 | .B pointerColor |
---|
| 1143 | The foreground color of the pointer. Default is XtDefaultForeground. |
---|
| 1144 | .PP |
---|
| 1145 | .TP 8 |
---|
| 1146 | .B prefixWmAndIconName |
---|
| 1147 | Whether to prefix the window and icon name with "xmh: ". Default is true. |
---|
| 1148 | .PP |
---|
| 1149 | .TP 8 |
---|
| 1150 | .B printCommand |
---|
| 1151 | An \fIsh\fP command to execute to print a message. Note that stdout and |
---|
| 1152 | stderr must be specifically redirected. If a message or range of messages is |
---|
| 1153 | selected for printing, the full file paths of each message file are |
---|
| 1154 | appended to the specified print command. The default is ``enscript >/dev/null |
---|
| 1155 | 2>/dev/null''. |
---|
| 1156 | .PP |
---|
| 1157 | .TP 8 |
---|
| 1158 | .B replyInsertFilter |
---|
| 1159 | An \fIsh\fP command to be executed when the \fIInsert\fP button is activated |
---|
| 1160 | in a composition window. The full path and filename of the source |
---|
| 1161 | message is appended to the command before being passed to \fIsh\fP(1). |
---|
| 1162 | The default filter is \fIcat\fP; i.e. it inserts the entire message |
---|
| 1163 | into the composition. Interesting filters are: |
---|
| 1164 | \fIsed 's/^/> /'\fP or |
---|
| 1165 | \fIawk -e '{print " " $0}'\fP or |
---|
| 1166 | \fI<mh directory>/lib/mhl \-form mhl.body\fP. |
---|
| 1167 | .PP |
---|
| 1168 | .TP 8 |
---|
| 1169 | .B "rescanInterval \fP(class \fBInterval\fP)" |
---|
| 1170 | How often to check the Table of Contents of currently viewed folders |
---|
| 1171 | and of folders with messages currently being viewed, and to update the Table |
---|
| 1172 | of Contents if \fIxmh\fP sees inconsistencies with the file system in these |
---|
| 1173 | folders. |
---|
| 1174 | The default is 5 times the value of \fBcheckFrequency\fP. |
---|
| 1175 | .PP |
---|
| 1176 | .TP 8 |
---|
| 1177 | .B reverseReadOrder |
---|
| 1178 | When true, the next message will be the message prior to the current message |
---|
| 1179 | in the table of contents, and the previous message will be the message |
---|
| 1180 | after the current message in the table of contents. The default is false. |
---|
| 1181 | .PP |
---|
| 1182 | .TP 8 |
---|
| 1183 | .B sendBreakWidth |
---|
| 1184 | When a message is sent from \fIxmh\fP, lines longer than this value will be |
---|
| 1185 | split into multiple lines, each of which is no longer than \fBSendWidth\fP. |
---|
| 1186 | This value may be overridden for a single message by inserting an additional |
---|
| 1187 | line in the message header of the form \fISendBreakWidth: value\fP. This |
---|
| 1188 | line will be removed from the header before the message is sent. |
---|
| 1189 | The default is 2000 (to allow for sending mail containing source patches). |
---|
| 1190 | .PP |
---|
| 1191 | .TP 8 |
---|
| 1192 | .B sendWidth |
---|
| 1193 | When a message is sent from \fIxmh\fP, lines longer than \fBSendBreakWidth\fP |
---|
| 1194 | characters will be split into multiple lines, each of which is no longer than |
---|
| 1195 | this value. |
---|
| 1196 | This value may be overridden for a single message by inserting an additional |
---|
| 1197 | line in the message header of the form \fISendWidth: value\fP. This |
---|
| 1198 | line will be removed from the header before the message is sent. |
---|
| 1199 | The default is 72. |
---|
| 1200 | .PP |
---|
| 1201 | .TP 8 |
---|
| 1202 | .B showOnInc |
---|
| 1203 | Whether to automatically show the current message after incorporating new |
---|
| 1204 | mail. Default is true. |
---|
| 1205 | .PP |
---|
| 1206 | .TP 8 |
---|
| 1207 | .B skipCopied |
---|
| 1208 | Whether to skip over messages marked for copying when using ``View Next |
---|
| 1209 | Message'' and ``View Previous Message''. Default is true. |
---|
| 1210 | .PP |
---|
| 1211 | .TP 8 |
---|
| 1212 | .B skipDeleted |
---|
| 1213 | Whether to skip over messages marked for deletion when using ``View Next |
---|
| 1214 | Message'' and ``View Previous Message''. Default is true. |
---|
| 1215 | .PP |
---|
| 1216 | .TP 8 |
---|
| 1217 | .B skipMoved |
---|
| 1218 | Whether to skip over messages marked for moving to other folders when |
---|
| 1219 | using ``View Next Message'' and ``View Previous Message''. Default is true. |
---|
| 1220 | .PP |
---|
| 1221 | .TP 8 |
---|
| 1222 | .B stickyMenu |
---|
| 1223 | If true, when popup command menus are used, the most recently selected |
---|
| 1224 | entry will be under the cursor when the menu pops up. Default is false. |
---|
| 1225 | See the file \fIclients/xmh/Xmh.sample\fR for an example of how to |
---|
| 1226 | specify resources for popup command menus. |
---|
| 1227 | .PP |
---|
| 1228 | .TP 8 |
---|
| 1229 | .B tempDir |
---|
| 1230 | Directory for \fIxmh\fR to store temporary files. For privacy, a user |
---|
| 1231 | might want to change this to a private directory. Default is ``/tmp''. |
---|
| 1232 | .PP |
---|
| 1233 | .TP 8 |
---|
| 1234 | .B tocGeometry |
---|
| 1235 | Initial geometry for main \fIxmh\fR toc and view windows. |
---|
| 1236 | .PP |
---|
| 1237 | .TP 8 |
---|
| 1238 | .B tocPercentage |
---|
| 1239 | The percentage of the main window that is used to display the Table of |
---|
| 1240 | Contents. Default is 33. |
---|
| 1241 | .PP |
---|
| 1242 | .TP 8 |
---|
| 1243 | .B tocWidth |
---|
| 1244 | How many characters to generate for each message in a folder's table of |
---|
| 1245 | contents. Default is 100. Use less if the geometry of the main \fIxmh\fP |
---|
| 1246 | window results in the listing being clipped at the right hand boundary, or |
---|
| 1247 | if you plan to use \fImhl\fR a lot, |
---|
| 1248 | because it will be faster, and the extra characters may not be useful. |
---|
| 1249 | .PP |
---|
| 1250 | .TP 8 |
---|
| 1251 | .B viewGeometry |
---|
| 1252 | Initial geometry for windows showing a view of a message. |
---|
| 1253 | |
---|
| 1254 | .SH MULTIPLE MAIL DROPS |
---|
| 1255 | .PP |
---|
| 1256 | Users may need to incorporate mail from multiple spool files or mail drops. |
---|
| 1257 | If incoming mail is forwarded to the \fIMH slocal\fP program, it can |
---|
| 1258 | be sorted as specified by the user into multiple incoming mail drops. |
---|
| 1259 | Refer to the \fIMH\fP man page for \fIslocal\fP to learn how to specify |
---|
| 1260 | fowarding and the automatic sorting of incoming mail in a \fI.maildelivery\fP |
---|
| 1261 | file. |
---|
| 1262 | .PP |
---|
| 1263 | To inform \fIxmh\fP about the various mail drops, create a file in your |
---|
| 1264 | home directory called \fI.xmhcheck\fP. In this file, a mapping between |
---|
| 1265 | existing folder names and mail drops is created by giving a folder name |
---|
| 1266 | followed by the absolute pathname of the mail drop site, with some white |
---|
| 1267 | space separating them, one mapping per line. \fIxmh\fP will read this file |
---|
| 1268 | whether or not resources are set for notification of new mail arrival, and |
---|
| 1269 | will allow incorporation of new mail into any folder with a mail drop. |
---|
| 1270 | \fIxmh\fP will invoke \fIinc\fP with the \fI\-file\fP argument, |
---|
| 1271 | and if \fIxmh\fP has been requested to check for new mail, |
---|
| 1272 | it will check directly, instead of using \fImsgchk\fP. |
---|
| 1273 | .PP |
---|
| 1274 | An example of \fI.xmhcheck\fP file format, for the folders ``inbox'' and |
---|
| 1275 | ``xpert'': |
---|
| 1276 | .nf |
---|
| 1277 | inbox /usr/spool/mail/converse |
---|
| 1278 | xpert /users/converse/maildrops/xpert |
---|
| 1279 | .fi |
---|
| 1280 | .sp |
---|
| 1281 | .SH ACTIONS AND INTERFACE CUSTOMIZATION |
---|
| 1282 | .PP |
---|
| 1283 | Because \fIxmh\fR provides action procedures which correspond to command |
---|
| 1284 | functionality and installs accelerators, users can customize accelerators |
---|
| 1285 | and new button functionality in a private resource file. |
---|
| 1286 | For examples of specifying customized resources, see the file |
---|
| 1287 | \fImit/clients/xmh/Xmh.sample\fR. To understand the syntax, see the |
---|
| 1288 | Appendix of the \fIX Toolkit Intrinsics\fP specification |
---|
| 1289 | on \fITranslation Table Syntax\fP, and any general explanation of |
---|
| 1290 | using and specifying \fIX\fP resources. |
---|
| 1291 | Unpredictable results can occur if |
---|
| 1292 | actions are bound to events or widgets for which they were not designed. |
---|
| 1293 | .PP |
---|
| 1294 | Here's an example of how to bind actions to your own \fIxmh\fP buttons, |
---|
| 1295 | and how to redefine the default accelerators so that the Meta key is |
---|
| 1296 | not required, in case you don't have access to the sample file mentioned |
---|
| 1297 | above. |
---|
| 1298 | .sp |
---|
| 1299 | .nf |
---|
| 1300 | ! To create buttons in the middle of the main window and give them semantics: |
---|
| 1301 | |
---|
| 1302 | Xmh*CommandButtonCount: 5 |
---|
| 1303 | |
---|
| 1304 | Xmh*commandBox.button1.label: Inc |
---|
| 1305 | Xmh*commandBox.button1.translations: #override\\ |
---|
| 1306 | <Btn1Down>,<Btn1Up>: XmhIncorporateNewMail() unset() |
---|
| 1307 | |
---|
| 1308 | Xmh*commandBox.button2.label: Compose |
---|
| 1309 | Xmh*commandBox.button2.translations: #override\\ |
---|
| 1310 | <Btn1Down>,<Btn1Up>: XmhComposeMessage() unset() |
---|
| 1311 | |
---|
| 1312 | Xmh*commandBox.button3.label: Next |
---|
| 1313 | Xmh*commandBox.button3.translations: #override\\ |
---|
| 1314 | <Btn1Down>,<Btn1Up>: XmhViewNextMessage() unset() |
---|
| 1315 | |
---|
| 1316 | Xmh*commandBox.button4.label: Delete |
---|
| 1317 | Xmh*commandBox.button4.translations: #override\\ |
---|
| 1318 | <Btn1Down>,<Btn1Up>: XmhMarkDelete() unset() |
---|
| 1319 | |
---|
| 1320 | Xmh*commandBox.button5.label: Commit |
---|
| 1321 | Xmh*commandBox.button5.translations: #override\\ |
---|
| 1322 | <Btn1Down>,<Btn1Up>: XmhCommitChanges() unset() |
---|
| 1323 | |
---|
| 1324 | ! To redefine the accelerator bindings to exclude modifier keys, |
---|
| 1325 | ! and add your own keyboard accelerator for Compose Message: |
---|
| 1326 | |
---|
| 1327 | Xmh*tocMenu.accelerators: #override\\n\\ |
---|
| 1328 | !:<Key>I: XmhIncorporateNewMail()\\n\\ |
---|
| 1329 | !:<Key>C: XmhCommitChanges()\\n\\ |
---|
| 1330 | !:<Key>R: XmhForceRescan()\\n\\ |
---|
| 1331 | !:<Key>P: XmhPackFolder()\\n\\ |
---|
| 1332 | !:<Key>S: XmhSortFolder()\\n |
---|
| 1333 | Xmh*messageMenu.accelerators: #override\\n\\ |
---|
| 1334 | !:<Key>E: XmhComposeMessage()\\n\\ |
---|
| 1335 | !<Key>space: XmhViewNextMessage()\\n\\ |
---|
| 1336 | !:<Key>c: XmhMarkCopy()\\n\\ |
---|
| 1337 | !:<Key>d: XmhMarkDelete()\\n\\ |
---|
| 1338 | !:<Key>f: XmhForward()\\n\\ |
---|
| 1339 | !:<Key>m: XmhMarkMove()\\n\\ |
---|
| 1340 | !:<Key>n: XmhViewNextMessage()\\n\\ |
---|
| 1341 | !:<Key>p: XmhViewPreviousMessage()\\n\\ |
---|
| 1342 | !:<Key>r: XmhReply()\\n\\ |
---|
| 1343 | !:<Key>u: XmhUnmark()\\n |
---|
| 1344 | .fi |
---|
| 1345 | .PP |
---|
| 1346 | \fIxmh\fR provides action procedures |
---|
| 1347 | which correspond to entries in the command menus; these are given in the |
---|
| 1348 | sections describing menu commmands, not here. |
---|
| 1349 | In addition to the actions corresponding to commands in the menus, |
---|
| 1350 | these action routines are defined: |
---|
| 1351 | .TP 10 |
---|
| 1352 | .B XmhPushFolder(\fR[\fIfoldername, ...\fR]\fB)\fR |
---|
| 1353 | This action pushes each of its argument(s) onto a stack of foldernames. |
---|
| 1354 | If no arguments are given, the selected folder is pushed onto the stack. |
---|
| 1355 | .TP 10 |
---|
| 1356 | .B XmhPopFolder() |
---|
| 1357 | This action pops one foldername from the stack and sets the selected folder. |
---|
| 1358 | .TP 10 |
---|
| 1359 | .B XmhPopupFolderMenu() |
---|
| 1360 | This action should always be taken when the user selects a folder button. |
---|
| 1361 | A folder button represents a folder and zero or more subfolders. The menu |
---|
| 1362 | of subfolders is built upon the first reference, by this routine. If there |
---|
| 1363 | are no subfolders, this routine will mark the folder as having no subfolders, |
---|
| 1364 | and no menu will be built. In that case the menu button emulates a toggle |
---|
| 1365 | button. When subfolders exist, the menu will popup, using the menu button |
---|
| 1366 | action PopupMenu(). |
---|
| 1367 | .TP 10 |
---|
| 1368 | .B XmhSetCurrentFolder() |
---|
| 1369 | This action allows menu buttons to emulate toggle buttons in the function |
---|
| 1370 | of selecting a folder. This action is for menu button widgets only, |
---|
| 1371 | and sets the selected folder. |
---|
| 1372 | .TP 10 |
---|
| 1373 | .B XmhLeaveFolderButton() |
---|
| 1374 | This action ensures that the menu button behaves properly when the user |
---|
| 1375 | moves the pointer out of the menu button window. |
---|
| 1376 | .TP 10 |
---|
| 1377 | .B XmhPushSequence(\fR[\fIsequencename, ...\fR]\fB)\fR |
---|
| 1378 | This action pushes each of its arguments onto the stack of sequence names. |
---|
| 1379 | If no arguments are given, the selected sequence is pushed onto the stack. |
---|
| 1380 | .TP 10 |
---|
| 1381 | .B XmhPopSequence() |
---|
| 1382 | This action pops one sequence name from the stack of sequence names, |
---|
| 1383 | which then becomes the selected sequence. |
---|
| 1384 | .TP 10 |
---|
| 1385 | .B XmhPromptOkayAction() |
---|
| 1386 | This action is equivalent to pressing the okay button in the Create Folder popup. |
---|
| 1387 | .TP 10 |
---|
| 1388 | .B XmhReloadSeqLists() |
---|
| 1389 | This action rescans the contents of the public \fIMH\fP sequences for the |
---|
| 1390 | currently opened folder and updates the sequence menu if necessary. |
---|
| 1391 | .TP 10 |
---|
| 1392 | .B XmhShellCommand(\fI parameter \fR[\fI, parameter\fR]\fB)\fR |
---|
| 1393 | At least one parameter must be specified. The parameters will be concatenated |
---|
| 1394 | with a space character separator, into a single string, and the list of |
---|
| 1395 | selected messsages, or if no messages are selected, the current message, |
---|
| 1396 | will be appended to the string of parameters. The string will be executed |
---|
| 1397 | as a shell command. The messages are always given as absolute pathnames. |
---|
| 1398 | It is an error to cause this action to execute when there are no selected |
---|
| 1399 | messages and no current message. |
---|
| 1400 | .TP 10 |
---|
| 1401 | .B XmhCheckForNewMail() |
---|
| 1402 | This action will check all mail drops known to xmh. If no mail drops have |
---|
| 1403 | been specified by the user either through the \fI.xmhcheck\fR file or by |
---|
| 1404 | the \fBinitialIncFile\fP resource, the \fIMH\fP command \fImsgchk\fP is |
---|
| 1405 | used to check for new mail, otherwise, \fIxmh\fP checks directly. |
---|
| 1406 | .TP 10 |
---|
| 1407 | .B XmhWMProtocols(\fP[\fBwm_delete_window\fP] [\fBwm_save_yourself\fP]) |
---|
| 1408 | This action is responsible for participation in window manager communication |
---|
| 1409 | protocols. It responds to delete window and save yourself messages. |
---|
| 1410 | The user can cause \fIxmh\fP to respond to one or both of these protocols, |
---|
| 1411 | exactly as if the window manager had made the request, by invoking the |
---|
| 1412 | action with the appropriate parameters. The action is insensitive to the |
---|
| 1413 | case of the string parameters. If the event received is a ClientMessage |
---|
| 1414 | event and parameters are present, at least one of the parameters must |
---|
| 1415 | correspond to the protocol requested by the event for the request to be |
---|
| 1416 | honored by \fIxmh\fP. |
---|
| 1417 | |
---|
| 1418 | .SH CUSTOMIZATION USING \fIMH\fR |
---|
| 1419 | The initial text displayed in a composition window is generated by |
---|
| 1420 | executing the corresponding \fIMH\fP command; i.e. \fIcomp\fP, \fIrepl\fP, |
---|
| 1421 | or \fIforw\fP, and therefore message components may be customized as |
---|
| 1422 | specified for those commands. \fIcomp\fP is executed only once per |
---|
| 1423 | invocation of \fIxmh\fP and the message template is re-used for every |
---|
| 1424 | successive new composition. |
---|
| 1425 | .PP |
---|
| 1426 | \fIxmh\fP uses \fIMH\fP commands, including \fIinc\fP, \fImsgchk\fP, |
---|
| 1427 | \fIcomp\fP, \fIsend\fP, \fIrepl\fP, \fIforw\fP, |
---|
| 1428 | \fIrefile\fP, \fIrmm\fP, \fIpick\fP, \fIpack\fP, \fIsort\fP, and \fIscan\fP. |
---|
| 1429 | Some flags for these commands can be specified |
---|
| 1430 | in the \fIMH\fP profile; \fIxmh\fP may override them. The application |
---|
| 1431 | resource \fBdebug\fP can be set to true to see how \fIxmh\fP |
---|
| 1432 | uses \fIMH\fP commands. |
---|
| 1433 | |
---|
| 1434 | .SH ENVIRONMENT |
---|
| 1435 | .br |
---|
| 1436 | HOME - users's home directory |
---|
| 1437 | .br |
---|
| 1438 | MH - to get the location of the \fIMH\fP profile file |
---|
| 1439 | .SH FILES |
---|
| 1440 | ~/.mh_profile - \fIMH\fR profile, used if the MH environment variable is not set |
---|
| 1441 | .br |
---|
| 1442 | ~/Mail - directory of folders, used if the \fIMH\fR profile cannot be found |
---|
| 1443 | .br |
---|
| 1444 | ~/.xmhcheck - optional, for multiple mail drops in cooperation with \fIslocal\fP. |
---|
| 1445 | .br |
---|
| 1446 | /usr/local/mh6 - \fIMH\fR commands, as a last resort, see \fBmhPath\fP. |
---|
| 1447 | .br |
---|
| 1448 | ~/Mail/<folder>/.xmhcache - \fIscan\fP output in each folder |
---|
| 1449 | .br |
---|
| 1450 | ~/Mail/<folder>/.mh_sequences - sequence definitions, in each folder |
---|
| 1451 | .br |
---|
| 1452 | /tmp - temporary files, see \fBtempDir\fP. |
---|
| 1453 | .SH SEE ALSO |
---|
| 1454 | X(1), xrdb(1), X Toolkit Intrinsics, Athena Widget Set, mh(1), enscript(1) |
---|
| 1455 | .br |
---|
| 1456 | At least one book has been published about \fIMH\fP and \fIxmh\fP. |
---|
| 1457 | .SH BUGS |
---|
| 1458 | - When the user closes a window, all windows which are transient for that |
---|
| 1459 | window should also be closed by \fIxmh\fP. |
---|
| 1460 | .br |
---|
| 1461 | - When \fBXmhUseAsComposition\fP and \fBXmhViewUseAsComposition\fP operate |
---|
| 1462 | on messages in the \fBDraftsFolder\fP, \fIxmh\fP disallows editing of the |
---|
| 1463 | composition if the same message is also being viewed in another window. |
---|
| 1464 | .br |
---|
| 1465 | - Occasionally after committing changes, the table of contents will appear |
---|
| 1466 | to be completely blank when there are actually messages present. |
---|
| 1467 | When this happens, refreshing the display, or typing Control-L in the |
---|
| 1468 | table of contents, will often cause the correct listing to appear. |
---|
| 1469 | If this doesn't work, force a rescan of the folder. |
---|
| 1470 | .br |
---|
| 1471 | - Should recognize and use the ``unseen'' message-sequence. |
---|
| 1472 | .br |
---|
| 1473 | - Should determine by itself if the user hasn't used \fIMH\fR before, and |
---|
| 1474 | offer to create the .mh_profile, instead of hanging on inc. |
---|
| 1475 | .br |
---|
| 1476 | - A few commands are missing (rename folder, resend message). |
---|
| 1477 | .br |
---|
| 1478 | - WM_DELETE_WINDOW protocol doesn't work right when requesting deletion |
---|
| 1479 | of the first toc and view, while trying to keep other \fIxmh\fP windows around. |
---|
| 1480 | .br |
---|
| 1481 | - Doesn't support annotations when replying to messages. |
---|
| 1482 | .br |
---|
| 1483 | - Doesn't allow folders to be shared without write permission. |
---|
| 1484 | .br |
---|
| 1485 | - Doesn't recognize private sequences. |
---|
| 1486 | .br |
---|
| 1487 | - \fIMH\fP will report that the \fI.mh_sequences\fP file is poorly formatted |
---|
| 1488 | if any sequence definition in a particular folder contains more |
---|
| 1489 | than \fIBUFSIZ\fP characters. \fIxmh\fP tries to capture these messages |
---|
| 1490 | and display them when they occur, but it cannot correct the problem. |
---|
| 1491 | .sp |
---|
| 1492 | .SH COPYRIGHT |
---|
| 1493 | Copyright 1988, 1989, Digital Equipment Corporation. |
---|
| 1494 | .br |
---|
| 1495 | Copyright 1989, 1991 Massachusetts Institute of Technology |
---|
| 1496 | .br |
---|
| 1497 | See \fIX(1)\fP for a full statement of rights and permissions. |
---|
| 1498 | .SH AUTHOR |
---|
| 1499 | Terry Weissman, formerly of Digital Western Research Laboratory |
---|
| 1500 | .br |
---|
| 1501 | Donna Converse, MIT X Consortium |
---|