*-------------------* * Tutorial : screen * Sun Sep 22 12:00:23 1991 *-------------------* ===================== Commands used in this tutorial ========================= active Set active logical window awin Open the 'Rexx' logical window color Set RGB colors for PowerVisor screen colrow Set the number of columns and rows for a logical window current Make another logical window the current one dwin Open the 'Debug' logical window fit Fit the logical window to the visible size home Go to the home position of the logical window list Show a list (tasks, libraries, message ports, ...) log Log output to a file memory List memory mode Set PowerVisor preferences move Move a physical window on Execute command on other logical window owin Open the 'PPrint' logical window prefs Set preferences refresh Refresh a command on the 'Refresh' logical window rwin Open the 'Refresh' logical window screen Set PowerVisor on another screen setfont Set another font on a logical window size Size a physical window to Redirect output to a file xwin Open the 'Extra' logical window ===================== Functions used in this tutorial ======================== cols Ask the number of columns on a logical window getactive Ask the active logical window getlwin Ask the current logical window getcol Ask the prefered number of columns on a logical window getrow Ask the prefered number of rows on a logical window lines Ask the number of rows on a logical window ============================== Introduction ================================== The screen and window of PowerVisor are very customizable. Interlace, pal, ntsc, vga, even the A2024 monitor, colors, fonts, ... . All these characteristics and more are customizable. Read this tutorial for more information about these options. ========================== The PowerVisor Screen ============================= Normally PowerVisor uses an ²Intuition screen for output. The default screen has the following characteristics : - ²2 bitplanes (four colours) - ²non interlaced - ¹PAL, ¹NTSC, ¹VGA or ¹A2024 depending on your ²preferences settings if you use AmigaDOS 2.0. If you use AmigaDOS 1.2 or 1.3 PowerVisor will open a screen as big as the ²workbench screen would be if it is not interlaced. - Size is inherited from the preferences settings. PowerVisor uses ¹overscan if you set overscan in preferences (only AmigaDOS 2.0). - ¹Colours are inherited from the Workbench. - ¹Topaz.font 8 is uses for all text (default). - The screen is a ²public screen if you have AmigaDOS 2.0 (with the name ¹'PowerVisorScreen'). The PowerVisor screen is partitioned in ²logical windows (see the Logical Windows section of this tutorial file). PowerVisor gives you the option to open its window on ²another screen, to change the colours, switch to interlace, switch to another monitor (2.0) or to use more bitplanes. Note that in this tutorial we constantly talk about three different things : - The ²PowerVisor screen : This is the Intuition screen. It is possible that this screen does not exist. In that case, PowerVisor resides on another screen. - The ²PowerVisor window : This is the Intuition window that normally lives on the screen. When we talk about the PowerVisor window we are talking about the physical window 'Main'. PowerVisor can have more physical windows. - ²Physical windows : These correspond directly with Intuition windows. - ²Logical Windows : Each physical window is partitioned in logical windows, do not confuse a logical window with an Intuition window. ========================== Reading this chapter ============================== All the examples in this chapter assume that you have an ²NTSC monitor. If this is not the case replace 'NTSC' with 'PAL' and 'PAL' with 'NTSC' (in your mind) when you read this chapter. I also assume that you have started a vanilla PowerVisor. This means that there was no ¹s:PowerVisor-config and a minimal ¹s:PowerVisor-startup when you started PowerVisor. ========================= Interlace and Monitors ============================= If the PowerVisor screen is open (default when you start PowerVisor), you can switch to interlace or to another monitor using the 'mode' command (This command is also used for other settings, see the appropriate documentation). The 'mode' command with screen arguments has no effect when PowerVisor resides on another screen. The following 'mode' arguments have something to do with screens or windows : - lace switch to ¹interlace - nolace switch to ²non interlace (default) - pal ²pal monitor (AmigaDOS 2.0) 640x256 or 640x512 - ntsc ²ntsc monitor (AmigaDOS 2.0) 640x200 or 640x400 - vga ²vga monitor (AmigaDOS 2.0) 640x480 or 640x960 - viking ²a2024 monitor (AmigaDOS 2.0) 1024x1008 - fancy use ²two bitplanes (default) - nofancy use only ²one bitplane - sbottom ¹sizegadget is included in ²bottom border (default) this option is only useful if there are more physical windows, or if the 'Main' physical window is a ²non-backdrop window. - nosbottom ¹sizegadget is included in ²right border Here are some examples : < mode lace nofancy You will now get a one bitplane interlace screen (if you have enough memory). Note that PowerVisor only uses half the interlaced screen for output (try some commands with a lot of output to test this: 'help commands',...). This is normal. We will see later how you can make the logical window ²full size again (in the Logical Windows section). Back to normal with : < mode fancy nolace =========================== Setting the colours ============================== Try : < color 0 0 0 7 < color 1 15 15 15 This will install a blue background and a white foreground. (Note that this command only works if PowerVisor is on its own screen (see later for more info)). ======================= PowerVisor on other screen =========================== You can open the ²PowerVisor window on each screen available in the system. However, when you do this you must be very careful NOT to close the screen where PowerVisor resides. Example : List all screens : < list scrs > Screen name : Address Left Top Width Height FirstWindow > --------------------------------------------------------------------------- > PowerVisor (V1.00/: 07EA28F0 0 0 692 442 07EA67B8 > Workbench Screen : 07E280D0 0 -582 692 1024 07E1F0F8 For example, let's open on the ²Workbench screen : < screen Workbench You can now change the size of the PowerVisor window : < size main 600 150 This command sizes the specified ²physical window ('Main' in this case). The 'size' command only works on ²non-backdrop windows. You can also move the PowerVisor window with : < move main 10 10 You can also resize the PowerVisor window using the size gadget. The 'screen' command normally opens a window with the same size as the previous size. If this is too big for the new screen, PowerVisor will make the window as big as possible. When PowerVisor is on another screen, you cannot use the following commands : - color - mode with one of the following arguments : fancy,nofancy,pal,ntsc,vga,viking,lace,nolace If you are configuring PowerVisor in a special way you can also make the 'Main' physical window a non-backdrop window on the PowerVisor screen : < screen 0 Now you can size and move the PowerVisor window. Go back to the PowerVisor intuition screen : < screen Note that the 'screen' commands moves all physical windows (see later) present. ====================== The PowerVisor window system ========================== The ³³PowerVisor window system is fairly complex. At the hart of the system you have the ²²physical windows. These correspond directly with ²Intuition windows. Normally there is only one physical window called 'Main'. This window also contains the ¹stringgadget. You can open more physical windows if you want (see later). Each physical window has a ³tree of boxes. A ¹¹box is some space that can later be used by ²logical windows. By default there is only one box on a physical window. This box is called the ¹masterbox and is always present (you can't remove this box). When you open more logical windows on a physical windows the appropriate boxes are made automatically, so you generally need not concern yourselves with these objects. A box is not always used by a logical window. Sometimes it is used by two other boxes. For example: if you want three logical windows, two above each other and the third one right of the previous two. You now seem to have three boxes : +---------+-------+ | | | | | | | 1 | | | | | | | | +---------+ 3 | | | | | | | | 2 | | | | | | | | +---------+-------+ In this example there are three boxes containing a logical window. But there are in fact five boxes on the physical window. First the masterbox : +-----------------+ | | | | | | | | | | | 4 | | | | | | | | | | | +-----------------+ The masterbox contains two boxes : +---------+-------+ | | | | | | | | | | | | | | | | 5 | 3 | | | | | | | | | | | | | | | | +---------+-------+ Box 5 contains two other boxes and box 3 contains a logical window. It is easy to see the tree structure for the boxes. Box 4 is the masterbox and only the leaves of the tree contain logical windows. +---+ | 4 | +---+ / \ / \ / \ +---+ +---+ | 5 | | 3 | +---+ +---+ / \ / \ / \ +---+ +---+ | 1 | | 2 | +---+ +---+ All boxes containing two other boxes automatically draw a ²²size bar. By ¹dragging this size bar you can change the size of the two child boxes. For example, dragging the ³vertical size bar between box 5 and box 3 (thus managed by box 4) changes the size of box 5,3,1 and 2. Dragging the ³horizontal size bar between box 1 and 2 (managed by box 5) only changes the size of box 1 and 2. Note that each parent box remembers the size for the two children with one number: this number is the percentage (x10) that child A may use of the parent box. This means that if you change the size of a box, all children are resized proportionally. When you add a logical window using the appropriate commands (see later), PowerVisor will add two boxes. For example, if you want to add a logical window below all boxes already visible, the tree will look as follows (box 6 and 7 are new) : +---+ | 6 | +---+ / \ / \ / \ +---+ +---+ | 7 | | 4 | +---+ +---+ / \ / \ / \ +---+ +---+ | 5 | | 3 | +---+ +---+ / \ / \ / \ +---+ +---+ | 1 | | 2 | +---+ +---+ (Note that the masterbox has changed) The physical window changes to : +---------+-------+ | | | | 1 | | | | | +---------+ 3 | | | | | 2 | | | | | +---------+-------+ | | | 7 | | | +-----------------+ A ²²logical window is the object you are probably going to use most. It can contain text. To know where the text must appear in the ²physical window, the logical window uses a ¹box. The standard logical window for output is the ³'Main' logical window. This logical window always resides on the ³'Main' physical window (but there can be more logical windows on the 'Main' physical window). There are six predefined logical windows : - Main for normal output - Extra for output - Refresh used by the 'refresh' command for output - Debug for the fullscreen debugger - Rexx if present, all output from a ¹rexx command goes to this logical window. Otherwise the output goes to the current logical window. - PPrint if present, all ¹PortPrint messages go to this logical window. Otherwise the output goes to the current logical window. You can add your own logical windows. All physical windows currently present can be found in the 'pwin' list. All logical window can be found in the 'lwin' list. ====================== The size of a logical window ========================== A logical window contains text. It has a certain ³number of rows and a certain ³number of columns. Normally this number is independent of the ²visible size of the logical window. What this means is that the number of columns and rows remains the same even if you switch to interlace or if you change the size of a logical window (by dragging the ²size bar). This is the reason that PowerVisor only uses half the screen when you switch from ¹non-interlaced to ¹interlaced. There are several solutions to this problem : - If you want the number of columns and rows automatically ¹fit for the visible size you can make the logical window ¹autoscalable. You can do this with the 'colrow' command (see later). The disadvantage of this is that the logical window will be cleared everytime the visible size changes. If you want you can also make the logical window autoscalable for the number of rows only, or for the number of columns only. - If interlace is your default screen type (defined with the 'mode' and the 'saveconfig' commands) the 'Main' logical window will be bigger. If you switch to non-interlace, the number of columns and rows will remain the same. This means that you can scroll in the logical window (see later). - You can explicitelly tell PowerVisor to fit the 'Main' logical window to the visible size with the 'fit' command (see later). This is not the same as the first method since the window will have a ²fixed size (not autoscalable). - You can explicitelly set the size of the 'Main' logical window using the 'colrow' command. If this size is too big for the visible size, you will be able to ¹scroll in the logical window. The first, second and fourth methods can be made permanent with the 'mode', 'prefs' and 'saveconfig' commands (see the 'Installing PowerVisor' chapter). Note that this discussion is also valid for other logical windows as well. All the standard logical windows behave a bit different (you can change this behaviour with the 'prefs' command) : - Main number of columns and rows is set to a fixed value. This value is the maximum number of columns and rows at the time the logical window is created. - Extra like 'Main' - Refresh the number of columns is set to a fixed value. This value is the maximum number of columns at the time the logical window is created. The number of rows is fixed and always set to 50. - Debug the number of columns is fixed and set to 90. The number of rows is fixed and set to 42. - Rexx Like 'Refresh' - PPrint Like 'Refresh' ================= Standard behaviour for logical windows ===================== All logical windows can behave different. Here are the possible behaviours for logical windows : ¹-MORE- enabled or disabled When enabled, PowerVisor will pause when there is a full window of output. ¹Interrupt/Pause enabled or disabled When enabled you can use the and + keys to interrupt or pause PowerVisor when PowerVisor is sending output to the logical window. ²Home position is top-visible or real-top PowerVisor maintains a home position for each logical window. This position is either the ²real top of the logical window or the first line that is visible (starting from above) of the bottom visible half of the logical window. When a ³top-visible logical window is cleared, PowerVisor will scroll to the bottom part of the logical window and set the current cursor position to the first line of this visible part. When a ³real-top logical window is cleared, PowerVisor will scroll to the top part of the logical window and set the current cursor position to the first line. There is yet another difference between top-visible and real-top logical windows. When the visible size of a logical window changes (this does not always imply a change of the number of rows and columns), PowerVisor will try to keep the top visible line (for real-top logical windows) or the bottom visible line (for top-visible logical windows) on the same visible position. ²Status line on/off The statusline is the bar at the top of a logical window. ³Auto Output Snap on/off When enabled, PowerVisor will automatically scroll the logical window to the position of the appearing output. This means that you will always see all new output on the logical window. When disabled, PowerVisor will not scroll and output may appear off screen. Note that this flag is only useful when the logical window is bigger than the current visible size. The standard logical windows have the following behaviour : - Main -MORE- enabled/disabled depending on the setting of the 'mode' command (see later) Interrupt/Pause enabled Home position is top-visible Status line on Auto Output Snap is on - Extra -MORE- disabled Interrupt/Pause enabled Home position is top-visible Status line on Auto Output Snap is on - Refresh -MORE- disabled Interrupt/Pause disabled Home position is real-top Status line on Auto Output Snap is off - Debug -MORE- disabled Interrupt/Pause disabled Home position is real-top Status line on Auto Output Snap is off - Rexx -MORE- disabled Interrupt/Pause disabled Home position is top-visible Status line on Auto Output Snap is off - PPrint -MORE- disabled Interrupt/Pause disabled Home position is top-visible Status line on Auto Output Snap is off All other logical windows have the following default behaviour : -MORE- disabled Interrupt/Pause enabled Home position is top-visible Status line on Auto Output Snap is off You can change the ²default behaviour for the standard logical windows with the 'prefs' command. You can change the behaviour for each logical window with the 'setflags' command (see later). ==================== Opening standard logical windows ======================== There are predefined commands to open the ³standard logical windows : - xwin Extra - dwin Debug - rwin Refresh - awin Rexx - owin PPrint These commands open/close the specified logical window at the top. This means that they split the ¹masterbox and add a new box above all other logical windows. This box gets 30 % of the total physical window height. The logical windows in the remaining 70 % are shrinked accordingly. These predefined commands always open the window on the ³'Main' physical window. These commands also have an optional argument to indicate the number of lines you want in the logical window. Some examples : < xwin Now we have two logical windows on our 'Main' physical window. These two logical windows are called 'Main' and 'Extra'. You can change the size of the windows by dragging the ²horizontal bar. You can now use this window instead of 'Main' for output : < current extra Type some command : < list task > Task node name : Node Pri StackPtr StackS Stat Command Acc > ---------------------------------------------------------------------------- > Background Process : 07E28330 00 07E2D500 4096 Wait iprefs (02) - > PowerSnap 1.0 by Nic: 07E51228 05 07E51A72 2000 Wait PROC - > Background Process : 07E5B3E8 00 07E5AD92 4096 Wait addtools (06) - > SYS:System/CLI : 07E5CAA8 00 07E5D9E6 4096 Wait (00) - > * Blanker : 07E605D8 00 07E615E4 4000 Wait PROC - > RexxMaster : 07E4AD58 04 07E4B59A 2048 Wait (00) - > ... The output appears on 'Extra'. < current main Now all following output will appear on 'Main'. You can also use the 'on' command : < on extra list task > Task node name : Node Pri StackPtr StackS Stat Command Acc > ---------------------------------------------------------------------------- > Background Process : 07E28330 00 07E2D500 4096 Wait iprefs (02) - > PowerSnap 1.0 by Nic: 07E51228 05 07E51A72 2000 Wait PROC - > Background Process : 07E5B3E8 00 07E5AD92 4096 Wait addtools (06) - > SYS:System/CLI : 07E5CAA8 00 07E5D9E6 4096 Wait (00) - > * Blanker : 07E605D8 00 07E615E4 4000 Wait PROC - > RexxMaster : 07E4AD58 04 07E4B59A 2048 Wait (00) - > ... This command temporarily sets the current logical window to the parameter supplied. It then executes the following command ('list task' in this example). To see all logical windows you can list them : < list lwin > Logical Window : Node > --------------------------------------------------------------------------- > Extra : 07EBCB20 > Main : 07E25A60 Close 'Extra' with : < xwin =================== Opening logical windows in general ======================= Instead of using the predefined commands to open the standard logical windows you can also use the more powerful 'openlw' and 'closelw' commands. These commands can also be used to open other logical windows. Some examples : To open the 'Extra' logical window right from the 'Main' logical window (instead of above the 'Main' logical window) you can use : < openlw main extra 80 40 main r The first argument is the ²physical window where we want to open the new ²logical window. The second argument is the name of the logical window. The two following arguments are the number of columns and rows. If you want an ³autoscale logical window you can use -1 for one or both of these arguments. The two last arguments specify where you want to open the 'Extra' logical window. In this case we opened it at the right ('r') of the 'Main' logical window. Do not close this logical window yet. We will first open a third : < openlw main testwindow 100 -1 extra u This window is autoscalable for the height. This means that when you change the horizontal visible size nothing will happen, but if you change the visible vertical size the window will be cleared and the number of columns will change. Now we have three logical windows on the 'Main' physical window. Suppose we wanted to open a logical window at the bottom of the physical window. This can be done with : < openlw main bottomwindow 80 40 main pd The 'pd' argument means that we first take the parent and then go down. You will probably understand how this works when you think how PowerVisor manages ²logical windows and ¹boxes. When you said something like 'extra u' some commands ago, PowerVisor interpreted this as : take the box containing the 'extra' logical window. Split this box (make a new parent instead of the old box and make the existing 'extra' box a child of this new parent, also create a new box as the brother of the 'extra' box) and put the new logical window above the 'extra' logical window. When you say something like 'main pd' in the previous command, PowerVisor interpretes this as : take the box containing the 'main' logical window. Take the parent of this box (the 'p' stands for parent) and perform the same action as described before on this parent box. You can use as many p's in front of the direction argument as you wish. You can use u (up), d (down), r (right) or l (left) for direction arguments. To close all logical windows use : < closelw extra or < xwin < closelw testwindow < closelw bottomwindow Now we are back with only one logical window: 'Main'. ======================== Opening physical windows ============================ You are not limited to the default physical window 'Main'. You can open five additional ²physical windows (This limitation stems from the fact that PowerVisor only has 5 remaining signals. In a later release of PowerVisor this limitation will probably be removed). These physical windows can contain as many logical windows as memory permits. For example, open a physical windows and two logical windows in it : < openpw test 0 0 400 150 You now have an extra window on position (0,0), width 400 and height 150. < openlw test leftwin 80 40 Note that for the first logical window on a physical window you need not give positional arguments. < openlw test rightwin 80 40 leftwin r Some tests : < on leftwin list wins > ... < on rightwin list scrs > ... You need not close the logical windows. If you close the physical window the logical windows are closed automatically : < closepw test ========================== Active versus current ============================= The ³³current logical window is simply the window receiving all output from the commands you type on the commandline. The default current logical window is 'Main'. With the 'current' command you can change this permanently or you can use the 'on' command to execute one command (or more using groups) on another current logical window. The ³³active logical window is the logical window with the full ²size bar (blue if you have the standard AmigaDOS 2.0 ¹palette and if you use 2 bitplanes). You can scroll the active logical window (see the next section). The most important distinction (note that this is new for version V1.10 of PowerVisor) is the fact that input is not directed to the current logical window but to the active one. For normal commandline mode this makes no difference because all logical windows will accept the input, execute the command and send the output to the current logical window. But what happens if a certain command executing with a certain current logical window asks for input ? PowerVisor will block all other logical windows and only accept input if the active logical window is the one waiting for input. An example : Assume that you are running an ARexx script and you have the 'Rexx' logical window open. At some intervals this script sends output to the 'Rexx' window. You are simply typing commands and looking at the output on the 'Main' logical window (the current logical window). Note that when ARexx executes a command, the current logical window is temporarily set to 'Rexx'. The 'Main' logical window is also the active one. At some moment the ARexx script needs input. At once you will not be able to type. The commandline will be locked and the current list indicator will have changed to '------'. If you see this you know that some other logical window is waiting for input. With the key you make the 'Rexx' logical window active. The current list indicator changes to '-HALT-' or '????' or some other string depending on the type of input the ARexx program wants. The input is unlocked and you can type the input needed for the ARexx program. In summary the following things are valid for a current logical window : - all output appears there (note that some commands executed in special environments like ARexx have other current logical windows) - when a command executing on a certain current logical window wants input, all other logical windows are locked (the current list indicator changes to '------' if one of these logical windows is active) The following things are valid for an active logical window : - you can scroll (next section) the active logical window - you can interrupt the command (with ) when the active logical window is equal to the current logical window for that command - you can pause the output (with +) when the active logical window is equal to the current logical window for that command - the active logical window also determines the state of the current list indicator and the possibility to use input for that logical window The following current list indicators are used in PowerVisor : -MORE- the command has just printed a full page of output, press space to continue the output (see the 'More...' section later in this file) -HALT- you have paused the command with + or the command is waiting for a key (with the 'key' function) -BUSY- you can't use input in any logical window, PowerVisor is busy with something (executing a command for example) ------ the logical window is locked for input. This means that there is another logical window waiting for input (cycle with until you find that other logical window) ????> some command is waiting for a full line of input (with the 'scan' command) Task> 'Task', 'Libs', ... or some other current list simply indicates that you are in normal command executing mode. All logical window accept input in this mode but output is always directed to the current logical window ? something else. This is the same as with '????>' but you can change the current list indicator with the 'scan' command Note. There is a bug in PowerVisor for AmigaDOS 1.2/1.3. I have not been able to find a way to unactivate (unselect) a stringgadget. So you will sometimes have to unselect the gadget yourselves (press enter or click on the window) before you can press the key. I'm sorry for this. In AmigaDOS 2.0 everything is fine. ====================== Scrolling in logical windows ========================== As was mentioned before, the number of columns and rows in a logical window can be greater than the visible number of columns and rows. If this is the case you can ¹¹scroll in the logical window. The window that will scroll when you use the appropriate ¹keys (see below) is the one that is active (see the previous section). The following keys are defined (numeric keypad) : - + (7) go to the top left position in the logical window - + (1) go to the bottom left position - + (9) scroll 5 lines up - + (3) scroll 5 lines down - + (2,4,6,8) scroll one line/column in the right direction - + (5) go to the complete right - make the next logical window active To let you experiment with all keys try the following : < colrow main 100 80 This command sets the number of columns and rows to 100 and 80 resp. Now put some output on the screen (with 'memory' or 'list') and scroll in all directions. Note that the little box in the statusline changes when you scroll. This box is an indicator of where you are in the logical window. If you can't scroll (because the number of columns and rows is less or equal than the number of columns and rows visible) the box will be full. Otherwise it represents the position of the visible size of the logical window. ============================ Setting the Font ================================ You can install a different ²non-proportional font for each logical window. The ²default font is always ²'topaz 8'. Open the 'Debug' window : < dwin (Ignore the 'task not loaded' message, you will need this later when you start debugging). < setfont debug topaz.font 9 You will see that the size of the letters change. The fonts you want to use must be either memory resident or available in the 'fonts:' directory. < setfont main courier.font 13 (You must have a non-proportional courier.font in your 'fonts:' directory to do this). To restore everything type : < dwin < setfont main topaz.font 8 ============================ The Snap Feature ================================ (Also see the 'Snapping Away' section of the 'GettingStarted' tutorial file). If you click anywhere on the PowerVisor window (except on size bars), PowerVisor will ¹'snap' the word under the mousepointer to the commandline. If there is no word under the mousepointer nothing happens. This feature works on all logical windows regardless of their size, font, number of columns, ... Note that the snap will not happen if the window is just made active. You must click twice if the window is not active and you want to snap something. The 'snapping' feature can behave in different ways. You can use the 'mode' command to set the behaviour you like most. ================================= Refresh ==================================== The 'Refresh' logical window is used together with the 'refresh' command. Open the 'Refresh' window and make the window big enough : < rwin Start the refresh of the current list : < refresh 10 {home;list} (See the 'Expressions' tutorial file for more info about the grouping operator '{}'). This 'refresh' command will execute 'home' and 'list' one time each second and send the output to the 'Refresh' logical window. Using the 'tab' key and the numeric keypad keys (with left-alt) you can now scroll in this refresh display. To disable the refresh use : < refresh 0 and close 'Refresh' with : < rwin =============================== Redirection ================================== If you want to ³redirect all output of a logical window to a file you can use : < log main file Now all output that appears on 'Main' is also sent to the file 'file'. You can stop the redirection with : < log or 'log' with another logical window, since there can only be one log file active at the same time. If you are ²logging output to a file it can be useful to have no output on the PowerVisor screen. You can accomplish this with : < -list When you precede a line with '-', PowerVisor will send the output from the following command to void. Except when you have logging enabled. If you want to temporarily discard the ¹feedback (the reprint of the executed command on the screen) you can type : < ~list > ... This '~' operator is very useful if you want to ³attach a command to a key. If you precede the command in this attachment with a '~', PowerVisor will execute the command without showing it on the screen. You can also disable this feedback for all commands you type with : < mode nofb To enable it type (this is default) : < mode fb If you want to combine these two operators you must use the following order (See the 'TechnicalInfo' file for more information about commandline parsing) : < ~-list If you only want the output from one command in a file you can use the 'to' command : < to ram:MyOutputFile list task > ... The output will still appear on the current logical window. This command temporarily works like the 'log' command. The real log file is restored after this command exits. If you only want output in a file you can use : < -to ram:MyOutputFile list task or < to ram:MyOutputFile -list task You can also combine the 'to' and the 'on' command : First open the 'Extra' window (if it is not already open) : < xwin < to ram:MyOutputFile on extra list task > ... This command will list all tasks on the 'Extra' logical window. No output will be written to the file since the 'to' command only redirects the output from the ³current logical window. However : < on extra to ram:MyOutputFile list task > ... will also list all task on the extra window. The difference is that this time there will be output in the file since the 'to' command redirects the output from the current logical window. At the time the 'to' command is executed, this logical window is equal to 'Extra'. ================================== Pens ====================================== You can change the color pens used for various drawing elements with the 'prefs pens' command. See the 'InstallingPowerVisor' tutor file for more information. ================================ More ... ==================================== If the output of a specific command is too big, PowerVisor will wait and display a ¹prompt. Try this : Make the number of columns and rows for 'Main' just big enough : < fit main List a lot of memory : < memory 0 10000 > 00000000: 00000000 07E007CC 00F80834 00F80B16 ...........4.... > 00000010: 00F80ADA 00F80ADC 00F80ADE 00F80AE0 ................ > 00000020: 00F80C00 00F80AE4 00F80AE7 00F80AE8 ................ > 00000030: 00F80AEA 00F80AEC 00F80AEE 00F80AF0 ................ > 00000040: 00F80AF2 00F80AF4 00F80AF6 00F80AF8 ................ > 00000050: 00F80AFA 00F80AFC 00F80AFE 00F80B00 ................ > 00000060: 00F80B02 00F810F4 00F81152 00F81188 ...........R.... > 00000070: 00F811E6 00F8127C 00F812C6 00F81310 .......|........ > 00000080: 00F80B70 00F80B72 00F80B74 00F80B76 ...p...r...t...v > 00000090: 00F80B78 00F80B7A 00F80B7C 00F80B7E ...x...z...|...~ > 000000A0: 00F80B80 00F80B82 00F80B84 00F80B86 ................ > ... After each page of output PowerVisor will display a prompt. Press any key to ³continue the output. Press ¹ ³abort the output. < > Break... Note that PowerVisor will display this prompt after each page. A ¹page is defined as the number of lines in the logical window. All these lines do not have to be visible. For example, if the 'Main' logical window is bigger than the visible size on screen, PowerVisor will only display a prompt after the TOTAL number of lines has passed. You can always scroll back to view the rest of the output if you want. You can disable this prompt with : < mode nomore And enable it with : < mode more The 'Main' logical window is the only window with a ²'-MORE-' prompt. All the other logical windows simply scroll until you interrupt them in one way or another. (Note that you can change this behaviour if you want to with the 'prefs' command (see the 'InstallingPowerVisor' file)).