File: chaare.html

package info (click to toggle)
mh-book 200605-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 6,356 kB
  • ctags: 2,059
  • sloc: sh: 1,449; perl: 642; ansic: 279; php: 58; makefile: 39; csh: 8
file content (94 lines) | stat: -rw-r--r-- 3,595 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!-- $Id: chaare.html 600 2006-05-31 22:13:43Z wohler $ -->
<html>
  <head>
    <meta name="Author" content="Jerry Peek">
    <title>Changing Sizes of Each Area: MH &amp; nmh: Email for Users & Programmers</title>
    <?$book = '..'?>
    <link rel="stylesheet" href="<?=$book?>/mh.css" type="text/css">
  </head>

  <body>
    <?
      include "$book/mh.php";
      includeHeader('repmai.html', 'seapic.html');
    ?>

    <a name="index1"></a>
    <h1>Changing Sizes of Each Area</h1>

    <p>
    In most <i>xmh</i> windows, close to the right-hand side of each
    border (horizontal line), there's a small solid square,
    a <i>grip</i>. A grip moves a border and changes the size of one
    or more areas without changing the size of the whole <i>xmh</i>
    window. This is useful if, say, you want to stretch the Table of
    Contents to see a lot of messages. How about some practice?
    See <a href="#Mxwbugcs">the next Figure</a>.

    <!-- PRODUCTION: Please try to keep this figure and the next one -->
    <!-- somewhere on the same page or two facing pages.  Maybe with the -->
    <!-- new bigger page size, both figures will fit on the same page? -->

    <p>
    <a name="Mxwbugcs"><em>Figure: Master xmh window before using
    grips to change sizes</em></a>

    <p>
    <img alt="mxwbugcs.gif" src="figs/mxwbugcs.gif"
         border=1 width=662 height=487>

    <p>
    <a name="index2"></a> Here's a list of what the mouse buttons do
    when you point to a grip:
    <dl>
      <dt><b>Button 1</b></dt>
      <dd>
      Adjusts the size of the area above the border.
      <i>xmh</i> will adjust the areas below the border to compensate.
      <dt><b>Button 2</b></dt>
      <dd>
      Moves only the border that the grip is on. Because <i>xmh</i>
      won't let you make areas larger or smaller than a certain size,
      this button usually doesn't help much.
      <dt><b>Button 3</b></dt>
      <dd>
      Adjusts the size of the area below the border.
      <i>xmh</i> will change areas above the border to compensate.
    </dl>

    In <a href="#Mxwbugcs">the Figure below</a>, the Table of Contents
    could be shortened a little to show more of the viewed message
    area. Point to the grip on the border between the Table of
    Contents and the message. (In <a href="#Mxwbugcs">the Figure
    above</a>, this is the border just above the
    title <tt>inbox:4</tt>.) Hold down Button 1 on your mouse and drag
    the border up. See how the message window gets bigger, while the
    areas above the border adjust to make up for it? Because the Table
    of Contents area got too small to show all of its lines, it has a
    scrollbar now, too. After you've adjusted that grip, your window
    should look something like <a href="#Mxwaivma">the Figure
    below</a>.

    <p>
    <a name="Mxwaivma"><em>Figure: Master xmh window after increasing
    viewed message area</em></a>

    <p>
    <img alt="mxwaivma.gif" src="figs/mxwaivma.gif"
         border=1 width=662 height=487>

    <p>
    When you adjust a grip, <i>xmh</i> will try to adjust all of the
    areas in the window but it won't let you make any area too small.
    In this case, the area it shrank was the Table of Contents. Try
    adjusting other grips, too, if you'd like. You can change the
    default size of an area with the <i>tocPercentage</i> resource;
    the Table <a href="resfun.html#xmhRes">xmh Resources</a> has a
    summary.

    <?
      includeFooter('$Date: 2006-05-31 15:13:43 -0700 (Wed, 31 May 2006) $',
        'OReilly: 1991, 1992, 1995');
    ?>
  </body>
</html>