home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume33 / problem / part02 / problem.lpr < prev    next >
Encoding:
Text File  |  1992-10-19  |  14.4 KB  |  354 lines

  1.  
  2. PROBLEM(1)               USER COMMANDS                 PROBLEM(1)
  3.  
  4. NAME
  5.      problem - a problem database manager
  6.  
  7. SYNOPSIS
  8.      problem [-v] [-d] [area1 area2 ...]
  9.  
  10. DESCRIPTION
  11.      Problem is a database manager for problems and bug  reports.
  12.      It  is  inspired  from PROBLEM, the problem database manager
  13.      under IBM VM/CMS that was written  by  Andy  Hanushevsky  at
  14.      Cornell  University.   It  is  intended  to provide a common
  15.      interface to a collection of databases  describing  problems
  16.      and/or  bugs which a UNIX site might be interested in track-
  17.      ing, and to  facilitate  the  sharing  of  this  information
  18.      amongst all interested parties.
  19.  
  20.  
  21. COMMANDS
  22.      In the following  descriptions,  ^X  means  control-X.   ESC
  23.      stands  for  the ESCAPE key; for example ESC-v means the two
  24.      character sequence "ESCAPE", then "v".  TAB stands  for  the
  25.      tab key. UP_ARROW stands for the up arrow key and DOWN_ARROW
  26.      stands for the down arrow key,  if  your  keyboard  supports
  27.      arrow keys.
  28.  
  29.      Typing problem, a list of problem  areas,  called  the  area
  30.      window,  is  displayed.   This list is set up by the problem
  31.      administrator at your site.  It consists of the  areas  into
  32.      which  problems and bug reports can be logged. A sample area
  33.      window:
  34.  
  35.        1 apf        - for AIX Parallel Fortran problems under AIX/370
  36.        2 aix370     - general AIX/370 problems
  37.        3 aixws      - any workstation related problem
  38.        4 dbx        - any dbx-related problem
  39.        5 AFS or NFS - any AFS or NFS related problem
  40.  
  41.      The areas are numbered from 1 to N, where  N  is  the  total
  42.      number  of  areas  defined  at your site.  If N is less than
  43.      ten, you simply need to press the key corresponding to  that
  44.      number  to  indicate your interest in that area.  Otherwise,
  45.      you must type in the number followed by a  carriage  return.
  46.      If  there  are more areas than lines on your screen, problem
  47.      will display as many as will fit on the  screen  by  forcing
  48.      the  areas  to fit in a series of twenty-five character wide
  49.      columns.  If they still don't all fit on the screen,  typing
  50.      `H' or `?' will scroll through all the areas.
  51.  
  52.      Once you've selected an area, a list of available  commands,
  53.      called the command window, is displayed:
  54.  
  55.        l  -- log new problem
  56.        a  -- append to a problem
  57.        c  -- close a problem
  58.        e  -- examine a problem
  59.        v  -- view problem summaries
  60.        s  -- subscribe to this problem area
  61.        u  -- unsubscribe from this problem area
  62.        k  -- keyword search over problem headers
  63.        K  -- keyword search over problem headers and data
  64.        M  -- modify keyword field
  65.        d  -- delete a problem from the database
  66.        r  -- reorganize the database
  67.        R  -- reopen a closed problem
  68.        q  -- quit
  69.  
  70.  
  71.      Here you are expected to type a  single  letter  symbolizing
  72.      the  command  of  interest.   Typing  `H' or `?' will scroll
  73.      through the list of available commands.
  74.  
  75.  
  76.      l  -- log new problem
  77.  
  78.           Typing `l', you'll immediately  see  a  screen  of  the
  79.           form:
  80.  
  81.           Area      networking
  82.           Logger    mjlx
  83.           Reporter
  84.           Logged    Mon Jun 29 08:56:27 1992
  85.           Updated   Mon Jun 29 08:56:27 1992
  86.           Keywords
  87.           Summary
  88.           Status    open
  89.           Site
  90.           Severity
  91.           Problem #
  92.  
  93.           This is known as the problem header.  Here, Reporter is
  94.           intended to represent the user name or real name of the
  95.           person who reported the problem, which needn't  be  the
  96.           same  as  Logger.  Of course you can fill in any of the
  97.           fields as you see fit. Severity ,  which  runs  from  4
  98.           (the  lowest)  to  1  (the highest) is meant to be some
  99.           indication of the severity of the problem.  The remain-
  100.           ing fields have their more or less obvious meaning.
  101.  
  102.           In the above problem header, problem has filled in  the
  103.           fields  that it can and will prompt for the others.  It
  104.           will fill in the Problem # field, if and when the prob-
  105.           lem  is  really  logged,  with a positive number unique
  106.           across all problem areas.  There is  no  limit  to  the
  107.           amount of text that can be stored in each field.  After
  108.           filling out this header, problem will invoke the editor
  109.           in  your  EDITOR  environment  variable (or "vi" if not
  110.           defined), from which you are expected to enter the text
  111.           of the problem.  When you exit from your editor, you'll
  112.           be prompted as to whether or not you really want to log
  113.           the  problem.   Typing `y' logs the problem and returns
  114.           you to the command  window,  while  typing  `n'  simply
  115.           takes you back to the command window.
  116.  
  117.  
  118.      a  -- append to a problem
  119.  
  120.           Here you'll be prompted for the problem # of an  exist-
  121.           ing  problem.   If  a  problem  of that number actually
  122.           exists, you'll immediately be brought up into your edi-
  123.           tor  to  enter  the text of your append.  When you exit
  124.           from your editor, you'll be prompted as to  whether  or
  125.           not  you  really wish to make this append.  The Updated
  126.           field of the problem header will be updated to  reflect
  127.           the time of the append.
  128.  
  129.  
  130.      c  -- close a problem
  131.  
  132.           Here you'll be prompted for the problem # of an  exist-
  133.           ing  problem.   If  a  problem  of that number actually
  134.           exists, you'll immediately be brought up into your edi-
  135.           tor to enter the text of your close.  Closing a problem
  136.           changes the Status field  of  the  problem  entry  from
  137.           "open"  to  "closed";  it is not removed from the data-
  138.           base.  It is meant to be an indication that the problem
  139.           has been solved.  Only the original logger of the prob-
  140.           lem, or the problem administrator can close a  problem.
  141.           The Updated field of the problem header will be updated
  142.           to reflect the time of the close.
  143.  
  144.  
  145.      e  -- examine a problem
  146.  
  147.           You will be prompted for the problem # of  an  existing
  148.           problem.   If that problem exists you'll be placed into
  149.           the pager "less" with a copy of  the  complete  problem
  150.           header and data of that problem.  This way you can then
  151.           page through the problem and  do  any  thing  else  you
  152.           might  do  from  a  pager  such as saving a copy of the
  153.           problem or only a portion of it to another file.
  154.  
  155.  
  156.      v  -- view problem summaries
  157.  
  158.           Here a list consisting of selected parts of each  prob-
  159.           lem  header  is  displayed on the screen, one per line,
  160.           called the view  window.   The  fields  displayed  are:
  161.           Problem  #,  Status, Severity (if the problem is open),
  162.           Updated, and Summary.  The  lines  are  sorted:  "open"
  163.           before  "closed"; severity 1 to severity 4; and then in
  164.           most recently updated to least recently updated  order.
  165.           It  the  text of a line is longer than the screen width
  166.           the line is truncated and a `!' is place in  the  final
  167.           position  in  the line.  The cursor is initially placed
  168.           in the first column of the first line.
  169.  
  170.           The line the cursor is on is called the  current  line.
  171.           The  cursor  can  be positioned using the cursor motion
  172.           and scrolling commands of vi and emacs.  If the current
  173.           line is longer than the screen width it will be shifted
  174.           left so that the final screenwidth characters are visi-
  175.           ble.  In this way, by moving the cursor on and off of a
  176.           line, it is possible to read the  complete  line,  pro-
  177.           vided  that  the  length  of  the line is not more than
  178.           twice the width of your screen.  Most of  the  commands
  179.           in  the  command  window are accessible from within the
  180.           view window and apply to the  problem  in  the  current
  181.           line.  For example, typing `a' will append to the prob-
  182.           lem in the current line.
  183.  
  184.           Typing `H' or `?' will scroll through a list of all the
  185.           valid keypresses from within the view window:
  186.  
  187.            CURSOR MOVEMENT COMMANDS:
  188.  
  189.               ?  H               Display this help.
  190.               q                  quit.
  191.               j  n  ^N  SPC  CR  Forward  one line.
  192.               DOWN_ARROW_KEY             "        .
  193.               k  p  ^P  ^Y       Backward one line.
  194.               UP_ARROW_KEY               "        .
  195.               ^F  ^V             Forward  one window.
  196.               b  ^B  ESC-V       Backward one window.
  197.               ^D                 Forward  one half-window.
  198.               ^U                 Backward one half-window.
  199.               <                  Go to first line of listing.
  200.               >                  Go to last line of listing.
  201.  
  202.            COMMANDS WHICH OPERATE ON THE CURRENT PROBLEM:
  203.  
  204.               a                  Append to current problem.
  205.               c                  Close current problem.
  206.               d                  Delete current problem.
  207.               e m v              Examine, View, or "more" current problem.
  208.               M                  Modify keyword field.
  209.               r                  Reorganize the database.
  210.               R                  Reopen a closed problem.
  211.               S                  Save problem listing to a file
  212.  
  213.            MISCELLANEOUS COMMANDS:
  214.  
  215.               !                  starts up a shell.
  216.               ! cmd              executes a shell command
  217.               !!                 reexecutes previous shell command.
  218.               ^L                 Repaint screen.
  219.               CR                 End-of-response when in a prompt.
  220.               V                  Print out version string.
  221.  
  222.  
  223.      s  -- subscribe to this problem area
  224.  
  225.           You will be added to a list of interested  parties  for
  226.           this  area.  Each time a change is made to the database
  227.           for  this  area,  every  person  on  the  mailing  list
  228.           receives  mail indicating the change that was made.  In
  229.           this way, it is easy to keep track of problems  without
  230.           having  to  regularly read all the areas to see if any-
  231.           thing new has happened.
  232.  
  233.  
  234.      u  -- unsubscribe from this problem area
  235.  
  236.           You will be removed from the interested parties mailing
  237.           list for this area.
  238.  
  239.  
  240.      k  -- keyword search over problem headers
  241.  
  242.           You will be prompted for  a  regular  expression  which
  243.           will  then  be used to search over the problem headers.
  244.           If there are any matches, the summary lines of each  of
  245.           the  problems which matched will be displayed in a view
  246.           window.  For example, if you wished to peruse only open
  247.           problems,  you  could  search  for "open" whereupon you
  248.           would be put in a view window consisting  of  only  the
  249.           open problems in the area.
  250.  
  251.  
  252.      K  -- keyword search over problem headers and data
  253.  
  254.           This is similar the the `k'  command  except  that  the
  255.           regular  expression search is over the complete problem
  256.           header and data for each problem.
  257.  
  258.  
  259.      M  -- modify keyword field
  260.  
  261.           This command is useful if you want to modify  the  key-
  262.           word  field.  At the authors site, being an IBM strong-
  263.           hold, we place the  number  of  each  APAR  (Authorized
  264.           Problem  Analysis  Report)  which  supposedly  fixes  a
  265.           problem, in the keyword field.   This  cannot  be  done
  266.           when  the  problem  is  logged since the APAR number(s)
  267.           aren't known at that time.
  268.  
  269.  
  270.      d  -- delete a problem from the database
  271.  
  272.           This  command  allows  the  database  administrator  to
  273.           delete  problems  from the database for this area.  The
  274.           problem data is irretrievably removed  from  the  data-
  275.           base.
  276.  
  277.  
  278.      r  -- reorganize the database
  279.  
  280.           This is an administrative command  which  can  be  used
  281.           after  many appends and deletions have been made in the
  282.           database to shrink it down and make accessing  it  more
  283.           efficient.   It  directly corresponds to the GDBM reor-
  284.           ganize command.
  285.  
  286.  
  287.      R  -- reopen a closed problem
  288.  
  289.           A closed problem can be  reopened  with  this  command.
  290.           The  Status  field  is  changed  from  "closed" back to
  291.           "open".
  292.  
  293.  
  294.      q  -- quit
  295.  
  296.           This quits from the command window and returns  you  to
  297.           the area window.
  298.  
  299.  
  300. OPTIONS
  301.      Command line options are described below.
  302.  
  303.      -d dirname
  304.           Instructs problem to use the next argument as the  name
  305.           of the directory in which all the problem databases and
  306.           mailing list files are stored.  The author uses it pri-
  307.           marily  as  a  debugging tool.  However, it allows dif-
  308.           ferent groups at a single site  to  set  up  their  own
  309.           databases,  instead  of forcing a single person to cen-
  310.           trally administer all the problem areas at the site.
  311.  
  312.      -v   Prints out the version string and exits.
  313.  
  314.           Problem can also be invoked with one  or  more  problem
  315.           areas  as  arguments.  It will then immediately startup
  316.           in the command window for that area.  Typing  `q'  will
  317.           then move on to the next problem area, or the area win-
  318.           dow if no more areas have been specified.   If  any  of
  319.           the  arguments  are  not  valid problem areas, you will
  320.           also be placed in the area window when problem tries to
  321.           process that area.
  322.  
  323.  
  324. ENVIRONMENT VARIABLES
  325.      COLUMNS
  326.           This value, if nonzero, overrides the number of columns
  327.           as  read  from termcap(3).  Hence by setting COLUMNS it
  328.           is easy to use  a  different  number  of  columns  than
  329.           termcap(3) expects for a given terminal type.
  330.  
  331.      EDITOR
  332.           The name of the editor (used by the `e'  and  `f'  com-
  333.           mands).
  334.  
  335.      HOME The user's home directory.
  336.  
  337.      LINES
  338.           This value, if nonzero, overrides the number  of  lines
  339.           as  read from termcap(3).  Hence by setting LINES it is
  340.           easy to use a different number of lines than termcap(3)
  341.           expects for a given terminal type.
  342.  
  343.      SHELL
  344.           The shell used to execute the `!' command, as  well  as
  345.           to expand filenames.
  346.  
  347.      TERM The type of terminal on which problem is being run.
  348.  
  349.  
  350. AUTHORS
  351.      Written by Mike  Lijewski  while  at  the  Cornell  National
  352.      Supercomputer Facility.
  353.  
  354.