Home Explore Blog CI



man-pages

29th chunk of `top.man`
3bb9464e5ea8506945ae6b58d058041b9881eb464ad22ebe0000000100000fdb
 or left, that feature may produce some unexpected results initially.

           Additionally, there are special provisions for any variable width field when positioned as the last displayed field.  Once that field is reached via the right arrow key, and is thus the only column shown, you  can
           continue scrolling horizontally within such a field.  See the ‘C’ interactive command below for additional information.

       Home  :Jump‐to‐Home‐Position
           Reposition the display to the un‐scrolled coordinates.

       End  :Jump‐to‐End‐Position
           Reposition the display so that the rightmost column reflects the last displayable field and the bottom task row represents the last task.

           Note: From this position it is still possible to scroll down and right using the arrow keys.  This is true until a single column and a single task is left as the only display element.

       C  :Show‐scroll‐coordinates toggle
           Toggle  an informational message which is displayed whenever the message line is not otherwise being used.  That message will take one of two forms depending on whether or not a variable width column has also been
           scrolled.

             scroll coordinates: y = n/n (tasks), x = n/n (fields)
             scroll coordinates: y = n/n (tasks), x = n/n (fields) + nn

           The coordinates shown as n/n are relative to the upper left corner of the ‘current’ window.  The additional ‘+ nn’ represents the displacement into a variable width column when it has been  scrolled  horizontally.
           Such displacement occurs in normal 8 character tab stop amounts via the right and left arrow keys.

           y = n/n (tasks)
               The first n represents the topmost visible task and is controlled by scrolling keys.  The second n is updated automatically to reflect total tasks.

           x = n/n (fields)
               The first n represents the leftmost displayed column and is controlled by scrolling keys.  The second n is the total number of displayable fields and is established with the ‘f’ interactive command.

       The above interactive commands are always available in full-screen mode but never available in alternate-display mode if the ‘current’ window’s task display has been toggled Off.

       Note: When any form of filtering is active, you can expect some slight aberrations when scrolling since not all tasks will be visible.  This is particularly apparent when using the Up/Down arrow keys.

   5d. SEARCHING in a Window
       You can use these interactive commands to locate a task row containing a particular value.

       L  :Locate‐a‐string
           You will be prompted for the case‐sensitive string to locate starting from the current window coordinates.  There are no restrictions on search string content.

           Searches are not limited to values from a single field or column.  All of the values displayed in a task row are allowed in a search string.  You may include spaces, numbers, symbols and even forest view artwork.

           Keying <Enter> with no input will effectively disable the ‘&’ key until a new search string is entered.

       &  :Locate‐next
           Assuming a search string has been established, top will attempt to locate the next occurrence.

       When  a  match  is found, the current window is repositioned vertically so the task row containing that string is first.  The scroll coordinates message can provide confirmation of such vertical repositioning (see the
       ‘C’ interactive command).  Horizontal scrolling, however, is never altered via searching.

       The availability of a matching string will be influenced by the following factors.

          a. Which fields are displayable from the total available,
             see topic 3b. MANAGING Fields.

          b. Scrolling a window vertically and/or horizontally,
             see topic 5c. SCROLLING a Window.

          c. The state of the command/command‐line toggle,

Title: Top Command: Scrolling Details and Searching Within a Window
Summary
This section details the scrolling functionality within the 'top' command, including special considerations for variable-width fields and the use of the 'C' command to show scroll coordinates. It explains how the Home and End keys reposition the display. It also covers the searching functionality, using the 'L' command to locate a string and '&' to find the next occurrence, noting factors influencing search results like field visibility, scrolling, and command-line visibility.