home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / changes / qedit5p3ux.txt < prev    next >
Text File  |  2003-04-08  |  74KB  |  1,701 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                              QEDIT/UX Version 5.3
  7.  
  8.  
  9.                        Full-Screen Text Editor for HP-UX
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                  Change Notice
  17.                            Installation Instructions
  18.                           Addendum to 4.8 User Manual
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                        Robelle Solutions Technology Inc.
  37.                           Suite 201, 15399-102A Ave.
  38.                          Surrey, B.C. Canada  V3R 7K1
  39.  
  40.                              Phone:  604.582.1700
  41.                               Fax:  604.582.1799
  42.  
  43.                          E-mail:  support@robelle.com
  44.                              Web:  www.robelle.com
  45.  
  46.                                  February 2001
  47.           Program  and  Manual  Copyright  Robelle Solutions Technology Inc.
  48.           1977-2002
  49.  
  50.  
  51.           Permission is granted  to  reprint  this  document  (but  not  for
  52.           profit), provided that copyright notice is given.
  53.  
  54.  
  55.           QEDIT  and SUPRTOOL are trademarks of Robelle Solutions Technology
  56.           Inc.  Windows is a  trademark  of  Microsoft  Corporation.   Other
  57.           product  and  company names mentioned herein may be the trademarks
  58.           of their respective owners.
  59.  
  60.  
  61.  
  62.    Introducing Qedit/UX Version 5.3
  63.  
  64.  
  65.                *  Qedit for Windows
  66.                *  Change Notice and Addendum to Manual
  67.                *  Highlights
  68.                *  Compatibility
  69.                *  CPU Serial Number (uname)
  70.                *  Known Problems
  71.                *  Documentation
  72.                *  Documentation in WinHelp Format
  73.  
  74.  
  75.           Qedit is our fast and efficient full-screen editor and development
  76.           home  base for HP-UX systems, both workstations and minicomputers.
  77.           One of our objectives for Qedit is to give  PowerHouse  and  COBOL
  78.           developers  all  the  necessary capabilities to perform their work
  79.           from a single program.
  80.  
  81.           We are constantly enhancing Qedit  with  new  features  and  fixes
  82.           requested  by  users.   Not only does this change notice include a
  83.           description  of  Qedit's  enhancements,   it   includes   detailed
  84.           installation  steps  and  a  list  of other changes for host-based
  85.           Qedit.  This change notice also  includes  a  description  of  the
  86.           server portion of Qedit for Windows.
  87.  
  88.           Host-based  Qedit  is  also  available  for  MPE,  with  virtually
  89.           identical features.  If you would like  more  information,  please
  90.           contact Robelle Solutions Technology Inc.
  91.  
  92.  
  93.    Qedit for Windows
  94.  
  95.           Our  newest  editor, Qedit for Windows, now gives you the familiar
  96.           Windows interface for editing both MPE/iX  and  HP-UX  files,  all
  97.           from  a  single program.  Qedit for Windows is the next generation
  98.           of our popular editor, which consists of a Windows editing  client
  99.           and either an MPE/iX or HP-UX editing server that work together to
  100.           edit  host  files.   Since  its  release,  we  have  focused   our
  101.           development   efforts   on   Qedit   for   Windows,   adding  more
  102.           functionality and continuing to expand its capabilities.   If  you
  103.           would like to upgrade to Qedit for Windows, please contact Robelle
  104.           Solutions Technology Inc.
  105.  
  106.  
  107.    Change Notice and Addendum to Manual
  108.  
  109.           This document has two purposes:
  110.  
  111.           *  It describes the enhancements made to host-based Qedit and  the
  112.              server portion of Qedit for Windows, since the most recent full
  113.              production release of Qedit/UX, version  5.0.   These  will  be
  114.              shown as Changes After Version 5.0.
  115.  
  116.           *  And  because  the  user  manual  has  not  been reprinted since
  117.              version 5.0, this  document  describes  the  enhancements  made
  118.              after 5.0 through to the 5.3 production release.  These will be
  119.              shown as Changes Up To Version 5.3.
  120.  
  121.           For information about enhancements to the client portion of  Qedit
  122.           for Windows, see the Qedit for Windows User Manual.
  123.  
  124.  
  125.  
  126.    Changes After Version 5.0
  127.  
  128.           These  are  the changes made to Qedit since  the last major release
  129.           (version 5.0). A version always includes all  the  changes  made in
  130.           in versions that precede it. For example, version 5.3 automatically
  131.           includes changes done in 5.2.11, 5.2.10, etc.
  132.  
  133.  
  134.    Highlights In Version 5.3
  135.  
  136.           *  At the start of each new connection, the server creates new MPE
  137.              variables to indicate which passwords are stored (QEDSTOREDPWD)
  138.              and which have been prompted for (QEDPROMPTEDPWD).
  139.  
  140.           *  An Exit command  can be  entered in one of the Qeditmgr files to
  141.              break a connection prematurely. Optionally, the Exit command can
  142.              transmit an appropriate  message to be  displayed by the client.
  143.  
  144.    Highlights In Version 5.2.11
  145.  
  146.           *  On a Text  operation,  lines exceeding the Language maximum length
  147.              are now  folded.  This  means  extraneous  characters are put on a 
  148.              separate line  instead of  being  truncated.  The modified file is 
  149.              not open in Browse mode anymore thus can be kept back onto itself.
  150.  
  151.           *  When  you use  the Change Tag Justify  (CJT) command to edit the
  152.              Cobolx  tag,  Qedit  displays  the  complete  line to prompt for
  153.              confirmation. In prior versions, it displayed only the tag value 
  154.              which made it hard to decide whether the line had to be modified
  155.              or not.
  156.  
  157.    Highlights In Version 5.2.10
  158.  
  159.           *  You can now use Justify "string" to justify text starting  with
  160.              the line containing the specified string.
  161.  
  162.           *  Cobx tags can be local to the current workfile or global to all
  163.              workfiles.  Qedit makes  it  clearer  which  tag  is  currently
  164.              active and modified by the Set X command.
  165.  
  166.           *  Qedit supports 4 new languages: HTML, XML, JAVA and QSL.  These
  167.              languages can be used on the Set Language, on the Text and  New
  168.              commands.
  169.  
  170.  
  171.    Highlights In Version 5.2
  172.  
  173.           *  The  host  file  remains synchronized with the client view when
  174.              pasting lines overtop the last line of the file.
  175.  
  176.  
  177.    Highlights In Version 5.1.10
  178.  
  179.           *  Enable the Set Text Exclusive option for increased control over
  180.              files  that  you are editing.  With this option, files that are
  181.              Texted in are kept open  during  the  edit  session  preventing
  182.              other Qedit users from opening them.
  183.  
  184.           *  The  server  correctly  keeps  track  of  each file's tab stops
  185.              defined by the Qedit for Windows client.
  186.  
  187.           *  The Find and FindUp commands display the  column  number  where
  188.              the  found  string starts with a visual marker (caret) pointing
  189.              to it.
  190.  
  191.           *  Hitting Control-Y to interrupt a Redo stack operation  such  as
  192.              Listredo does not cancel a pending Delete anymore.
  193.  
  194.  
  195.    Highlights In Version 5.1
  196.  
  197.           *  The  Setincr  option  of  the  Text  command  requests that the
  198.              current Set Increment value be used when reading the  file  in.
  199.              The default is for Qedit to decide which increment to use.
  200.  
  201.  
  202.    Highlights In Version 5.0.12
  203.  
  204.           *  When  returning to line mode, full-screen mode sets the display
  205.              width back to its original setting.
  206.  
  207.           *  The Glue command left an empty line behind in some  cases  when
  208.              working with CobolX source files.
  209.  
  210.           *  Qedit  is  doing  a better job at handling incorrectly numbered
  211.              Cobol source files.
  212.  
  213.  
  214.    Highlights In Version 5.0.11
  215.  
  216.           *  Keep without an explicit name is now an  error  if  the  Browse
  217.              option has been used on the Text or Open command.
  218.  
  219.  
  220.    Highlights In Version 5.0.10
  221.  
  222.           *  A  rangelist  can  now  contain  up  to 10 different strings to
  223.              search for.  Each string in the list can have different  search
  224.              settings   such  as  column  range  and  options.   String  are
  225.              separated from each other by OR keywords.
  226.  
  227.           *  The new Tag option on the Change command allows modification of
  228.              only  the  Cobol  tag  in  columns  73  to 80.  Change commands
  229.              without this option affect only the text area, columns 7 to 72.
  230.  
  231.           *  It  is  now  easier  to  determine  which  version  of Qedit is
  232.              installed.  Simply use the UNIX what  command  to  display  the
  233.              version information.
  234.  
  235.           *  If  the  ROBELLE  variable  is  not  set,  Qedit determines the
  236.              location where it is running from and adjusts the  location  of
  237.              its  support files (e.g., online help for host-based Qedit, log
  238.              files for the server).   This  lessens  the  need  to  set  the
  239.              ROBELLE  variable and makes the support files available in most
  240.              situations.
  241.  
  242.           *  If you want to know where you are  running  Qedit  from,  do  a
  243.              Verify  Program.   Qedit  displays the fully-qualified filename
  244.              current executing.
  245.  
  246.           *  The ROBELLE variable now allows the pathname of  support  files
  247.              to have 240 characters.  That limit used to be 36 characters.
  248.  
  249.           *  A  backreference (e.g.  \1) in the replacement string used on a
  250.              search for a regular expression without a subpattern fixes  the
  251.              text  correctly.   In this case, the replacement string is used
  252.              as a literal.  This problem has also been fixed  in  the  Qedit
  253.              for Windows server.
  254.  
  255.           *  Set X without parameters now resets the COBX tag settings.
  256.  
  257.  
  258.    Changes Up To Version 5.0
  259.  
  260.           There were no changes made to Qedit since the user manual was last
  261.           printed (for version 5.0), up to and  including  the  most  recent
  262.           major release (version 5.2).
  263.  
  264.  
  265.    Compatibility
  266.  
  267.           Qedit/UX  is  compatible  with  most  versions  of HP-UX 10.20 and
  268.           later.
  269.  
  270.           IMPORTANT: As of HP-UX 11.0, HP has dropped support for block-mode
  271.           terminals.  For this reason, full-screen editing is only available
  272.           in Screen mode on HP-UX 11.0 and later.
  273.  
  274.           In the examples  in  this  document,  we  have  used  HP-UX  10.20
  275.           conventions  and  assumed  Qedit  is installed in the /opt/robelle
  276.           directory.
  277.  
  278.  
  279.    CPU Serial Number (uname)
  280.  
  281.           Qedit/UX runs only on CPUs whose serial numbers  (the  "uname"  on
  282.           HP-UX)  have  been  encoded.   If  it  fails to run and you see an
  283.           "invalid HPSUSAN" error message, call Robelle for assistance.
  284.  
  285.  
  286.    Known Problems
  287.  
  288.           There are currently no known problems.
  289.  
  290.  
  291.    Documentation
  292.  
  293.           Extra printed copies of the  Qedit  User  Manual  can  be  ordered
  294.           directly  from  Robelle  or one of its distributors.  The complete
  295.           user manual is also available in on-line Help.
  296.  
  297.  
  298.    Documentation in WinHelp Format
  299.  
  300.           Both the MPE and HP-UX editions of the Qedit User Manual  are  now
  301.           available in the popular WinHelp file format of Microsoft Windows.
  302.           Your tape includes a WinHelp  file,  which  is  a  self-extracting
  303.           compressed  file  that  contains  all  the  Help files and a Setup
  304.           program.  Use the installation instructions in this change  notice
  305.           to install the files on your PC.
  306.  
  307.  
  308.    Installation
  309.  
  310.  
  311.           If  you  are  a  new Qedit/UX user, please follow the installation
  312.           instructions in the Qedit User Manual.   The  notes  below  assume
  313.           that you are an existing Qedit/UX user who is upgrading to version
  314.           5.2.11.
  315.  
  316.           To install this upgrade of Qedit, follow these steps:
  317.  
  318.           1. You must log on as root.
  319.  
  320.           2. Create the correct directory structure.
  321.  
  322.           3. Restore Qedit/UX and its associated files from the distribution
  323.              tape.
  324.  
  325.           4. Set up variables to let Qedit know where some of its supporting
  326.              files are located.
  327.  
  328.           5. Set up  a  link  between  /var/tmp  and  /usr/tmp  if  you  are
  329.              installing on HP-UX 10.x.
  330.  
  331.           6. If you have the Qedit for Windows server, you need to start the
  332.              daemon process.  (optional)
  333.  
  334.           7. You can install WinHelp documentation files.  (optional)
  335.  
  336.           The installation should take about half an hour, during which time
  337.           no one can use Qedit.
  338.  
  339.  
  340.    Installation Assistance
  341.  
  342.           If  you  have  any  questions  about  the  upgrade or run into any
  343.           problems, please call  us.   Technical  support  is  available  on
  344.           weekdays from 7 a.m. to 4 p.m., Pacific time.
  345.  
  346.  
  347.  
  348.    Step 1:  Log On as Root
  349.  
  350.           There are two ways you can log on as root:
  351.  
  352.           a. Exit from HP-UX and log on with root as the user name.
  353.  
  354.           b. If you are already logged on, you can execute this command:
  355.  
  356.                   su -
  357.  
  358.           In  either case, you have to know and supply the user password for
  359.           root.
  360.  
  361.  
  362.    Step 2:  Create Robelle Directory
  363.  
  364.           Before restoring files, you must first  create  the  directory  in
  365.           which Qedit will reside:
  366.  
  367.                mkdir /opt/robelle
  368.  
  369.  
  370.    Step 3:  Restore Files
  371.  
  372.           Use  the  following command to restore the Qedit/UX files from the
  373.           distribution tape:
  374.  
  375.                tar xv /opt/robelle
  376.  
  377.           This command assumes your tape device is /dev/rmt/0m.   If  it  is
  378.           not,  you need to specify your tape device using the "f" option in
  379.           the tar command.  For example, if your tape device is /dev/rmt/1m,
  380.           you need to use the following command to restore the files:
  381.  
  382.                tar xvf /dev/rmt/1m /opt/robelle
  383.  
  384.  
  385.    Step 4:  Setting Up Variables
  386.  
  387.           You  can  set  up  numerous  variables  to make running any of the
  388.           Robelle products easier.
  389.  
  390.           The three variables that we recommend setting  are  ROBELLE,  PATH
  391.           and MANPATH.
  392.  
  393.           *  The  ROBELLE  variable  tells  the  Robelle products where it's
  394.              supporting files are located.
  395.  
  396.           *  The PATH variable, when set, allows the user to  run  Qedit  by
  397.              just  typing  "qedit"  instead  of  the fully qualified program
  398.              name.
  399.  
  400.           *  The MANPATH variable, when set,  allows  users  to  access  the
  401.              manpage (Help page) for Qedit.
  402.  
  403.           You can invoke Qedit with the following command:
  404.  
  405.                /opt/robelle/bin/qedit
  406.  
  407.           The easiest way to add variables accessible to all users is to set
  408.           the variables in the global exec file for the shell you use.
  409.  
  410.           For  the  Bourne  and  Korn  Shells  we  recommend  the  following
  411.           additions:
  412.  
  413.                export ROBELLE=/opt/robelle
  414.                export PATH=$PATH: $ROBELLE/bin
  415.                export MANPATH=$MANPATH: $ROBELLE/man
  416.  
  417.           Remember to delete any PATH or MANPATH settings in /etc/d.profile,
  418.           so that new users do not override your changes.  You also have  to
  419.           warn existing Bourne and Korn shell users to change their .profile
  420.           file in their home directories.
  421.  
  422.           For the C Shell we recommend that you add the  following  commands
  423.           after   any   existing   PATH   or   MANPATH   statements  in  the
  424.           /etc/csh.login file:
  425.  
  426.                setenv ROBELLE /opt/robelle
  427.                set path=($path $ROBELLE/bin)
  428.                setenv MANPATH "$MANPATH": $ROBELLE/man
  429.  
  430.           Remember  to  delete  any  PATH  or  MANPATH  settings   in   both
  431.           /etc/d.login  and  /etc/d.schrc, so that new users do not override
  432.           your changes.  You also have to warn existing  C  shell  users  to
  433.           change their .login and .cshrc files in their home directories.
  434.  
  435.  
  436.    Step 5:  Setting Up Links
  437.  
  438.           When  you  run Qedit, it creates and uses certain temporary files.
  439.           On HP-UX 10.x systems, temporary files are  generally  created  in
  440.           the /var/tmp directory.  To get Qedit to keep an undo log and redo
  441.           stack, you must set up a link between /usr/tmp and  /var/tmp.   To
  442.           check whether this has already been done, enter
  443.  
  444.                ls -l /usr/tmp
  445.  
  446.           If a link exists, you will see a line such as this:
  447.  
  448.                lrwxrwxr-t 1 root sys    8 Aug 16  1996 /usr/tmp -> /var/tmp
  449.  
  450.           If the link is not set up, you can create it by entering
  451.  
  452.                ln -s /var/tmp /usr/tmp
  453.  
  454.  
  455.    Step 6:  Start the Qedit for Windows Server (optional)
  456.  
  457.           If  you have the Qedit for Windows server software, you must start
  458.           the Qedit/UX daemon process before any Qedit clients  can  connect
  459.           to  your HP-UX machine.  To allow users to connect to the Qedit/UX
  460.           daemon process, you must log on as root and issue this command:
  461.  
  462.                qedit -d
  463.  
  464.           The Qedit server process requires three log  files.   By  default,
  465.           these files are located in the following directory:
  466.  
  467.                /opt/robelle/log/qedit/
  468.  
  469.           If you have moved Qedit to a different directory, you will have to
  470.           perform the following steps:
  471.  
  472.           1. Set the ROBELLE environment variable  with  the  new  directory
  473.              name before you start the Qedit server process.
  474.  
  475.           2. Make  sure  the new directory has exactly the same structure as
  476.              the /opt/robelle directory.
  477.  
  478.  
  479.    Step 7:  Install WinHelp Documentation Files (optional)
  480.  
  481.           The Qedit documentation for both MPE and HP-UX is now available in
  482.           the  WinHelp  format of Microsoft Windows.  You can only use these
  483.           files if you have Windows 3.1 or later.  To  install  the  WinHelp
  484.           files on a PC, follow these instructions.
  485.  
  486.  
  487.    Make a Temporary Directory for the Setup Program
  488.  
  489.           From  either  DOS or the File Manager, make a directory into which
  490.           you can copy the installation files.
  491.  
  492.                mkdir \robtemp
  493.  
  494.           You can remove this directory after installing the files.
  495.  
  496.  
  497.    Download the Compressed File
  498.  
  499.           If you use the CD that is included in the  Qedit  User  Manual  to
  500.           copy  the Help files to your hard drive, proceed to "Run the Setup
  501.           Program"  below.   Otherwise,  use  Reflection  to  download   the
  502.           self-extracting Zip file to your PC and continue with these steps.
  503.           The file on the HP 9000 is
  504.  
  505.                /opt/robelle/winhelp/qedhelp.exe
  506.  
  507.           From the /opt/robelle/winhelp directory, press Alt-Y to go to  the
  508.           Reflection Command Line window.  Then use the following command to
  509.           download the file as a binary transfer:
  510.  
  511.                receive c:\robtemp\qedhelp.exe
  512.                       from /opt/robelle/winhelp/qedhelp.exe binary
  513.  
  514.  
  515.    Expand the Compressed Files
  516.  
  517.           You only need the following commands to extract the files  because
  518.           we  provide  both  the  Setup  program  and  the Help files in one
  519.           self-extracting Zip file.  From the DOS prompt, type the following
  520.           commands:
  521.  
  522.                cd \robtemp          {go to the new Robtemp directory}
  523.                qedhelp.exe          {extract the Help files}
  524.  
  525.  
  526.    Run the Setup Program
  527.  
  528.           To  run  the  Setup program, select the Run command from the Start
  529.           menu.  When the Run window  appears,  enter  c:\robtemp\setup  and
  530.           follow the instructions in the Setup program.
  531.  
  532.           When  the  Setup  program  ends,  you  can access all of the Qedit
  533.           documentation by selecting any of the icons in the "Robelle  Help"
  534.           Program Manager Group.
  535.  
  536.  
  537.    Remove the Robtemp Directory
  538.  
  539.           Before  you  remove  the  WinHelp  files,  you  can copy them to a
  540.           diskette and distribute them to other Qedit users.
  541.  
  542.           To delete all the WinHelp files and remove the Robtemp  directory,
  543.           use either the File Manager or the following DOS commands:
  544.  
  545.                cd \robtemp
  546.                del *.*           {delete all the files in Robtemp}
  547.                cd ..
  548.                rmdir robtemp     {remove the Robtemp directory}
  549.  
  550.  
  551.    Enhancements Since Version 5.0
  552.  
  553.           The  following  sections describe the new enhancements to Qedit/UX
  554.           since the last major release.
  555.  
  556.                *  You can now use Justify "string"  to  justify  text
  557.                   starting  with  the  line  containing the specified
  558.                   string.
  559.                *  Cobx tags can be local to the current  workfile  or
  560.                   global  to  all  workfiles.  Qedit makes it clearer
  561.                   which tag is currently active and modified  by  the
  562.                   Set X command.
  563.                *  Qedit supports 4 new languages: HTML, XML, JAVA and
  564.                   QSL.  These  languages  can  be  used  on  the  Set
  565.                   Language, on the Text and New commands.
  566.                *  A  rangelist  can  now  contain  up to 10 different
  567.                   strings to search for.  Each string in the list can
  568.                   have different search settings such as column range
  569.                   and options.  String are separated from each  other
  570.                   by OR keywords.
  571.                *  The  new  Tag  option  on the Change command allows
  572.                   modification of only the Cobol tag in columns 73 to
  573.                   80.   Change  commands  without  this option affect
  574.                   only the text area, columns 7 to 72.
  575.                *  If  the  ROBELLE  variable  is   not   set,   Qedit
  576.                   determines  its  current  location  and adjusts the
  577.                   location of its support files  (e.g.,  online  help
  578.                   for host-based Qedit and log files for the server).
  579.                   This lessens the need to set the  ROBELLE  variable
  580.                   and   makes  the  online  help  available  in  most
  581.                   situations.
  582.                *  If you wish to know where  you  are  running  Qedit
  583.                   from,  do  a  Verify  Program.   Qedit displays the
  584.                   fully-qualified filename current executing.
  585.                *  The ROBELLE variable now allows a total  length  of
  586.                   240 characters, increased from 36.
  587.                *  The  Setincr  option  of  the Text command requests
  588.                   that the current Set Increment value be  used  when
  589.                   reading  the  file in.  The default is for Qedit to
  590.                   decide which increment to use.
  591.                *  The Find and FindUp  commands  display  the  column
  592.                   number  where the found string starts with a visual
  593.                   marker (caret) pointing to it.
  594.  
  595.  
  596.    Justify "string" [5.2.10] The Justify command now  accepts  a  string  as
  597.           parameter.  When used, Qedit searches for the string.  If it finds
  598.           it, Qedit starts formatting from that line  using  the  applicable
  599.           Justify format.
  600.  
  601.           If  a  "string"  rangelist  is specified along with Start and Stop
  602.           characters, the "string" option  has  precedence  over  Start  and
  603.           Stop.
  604.  
  605.  
  606.    Local and  Default  Cobx  Tags  [5.2.10]  When using a mix of default and
  607.           local Cobx tags, it was sometime confusing and unclear as to which
  608.           tag  was  used  or  changed  with  the  Set X command.  Additional
  609.           information in Verify, warning messages and the new SetJ  commands
  610.           have been added to remove as much as ambiguity as possible.
  611.  
  612.           The  justified  option,  "SetJ",  displays  the  current  X values
  613.           including the active tag,  the  default  tag  and  the  local  tag
  614.           settings.   It applies the changed settings entered on the command
  615.           and, lastly, it displays the revised settings.  When none  of  the
  616.           Cobx tags are set, the output is:
  617.  
  618.              Set X values before this command:
  619.              Active tag value=, List ON
  620.              Default tag value=, List ON
  621.              Local tag value.  NONE  List  NOT SAVED
  622.  
  623.              Set X values AFTER the command:
  624.              Active tag value=, List ON
  625.              Default tag value=, List ON
  626.              Local tag value.  NONE  List  NOT SAVED
  627.  
  628.           The  first 4 lines show the current settings.  The last 4 show the
  629.           settings after the requested change has been applied.  When  there
  630.           is  no  tag  value,  Qedit  displays  an  empty string or the word
  631.           "NONE".  When the List option displays as "NOT  SAVED",  it  means
  632.           the  Local  feature  is  enabled but the List setting has not been
  633.           explicitly set yet.
  634.  
  635.           If the tag values are set, the result strings are displayed as in:
  636.  
  637.              /set x local off
  638.              /set x "GB" yymmdd
  639.              /set x local on
  640.              /setj x "LC" yymmdd
  641.              Set X values before this command:
  642.              Active tag value=, List ON
  643.              Default tag value=GB011213, List ON
  644.              Local  tag  value.   prefix=         suffix=         dateform=0
  645.           List  NOT SAVED
  646.  
  647.  
  648.              Warning:  Local ON: only updates tag  for  this  workfile,  not
  649.           defaults.
  650.              Set X values AFTER the command:
  651.              Active tag value=LC011213, List ON
  652.              Default tag value=GB011213, List ON
  653.              Local  tag  value.   prefix=LC       suffix=         dateform=2
  654.           List  NOT SAVED
  655.  
  656.           In this example, the first Set command turns  Local  X  off.   The
  657.           second  Set  command  changes  the  default tag to the prefix "GB"
  658.           followed by the current date in year-month-day format.  The  third
  659.           Set  command  turns Local X back on and, finally, the SetJ command
  660.           sets the local tag to the prefix "LC" followed by the date in  the
  661.           same   format.    Looking   at  the  SetJ  output,  there  is  the
  662.           then-current default tag, "GB011213", with  List  enabled.   There
  663.           was no local tag and List was not set at that point.
  664.  
  665.           The  new  local  tag is applied and produces a warning.  After the
  666.           change, the active tag is  the  local  one  and  List  is  enabled
  667.           (default  value).   The  default  tag is unchanged.  The last line
  668.           provides details on how the local tag was constructed.   The  List
  669.           option  still  shows  as NOT SAVED because it has not been changed
  670.           explicitly after Local X was turned on.
  671.  
  672.           The Verify command displays detailed information about  the  local
  673.           and default settings.
  674.  
  675.              /verify x
  676.              Set X Tab OFF "ME011214" List ON
  677.              /set x local on
  678.              /verify x
  679.              Set  X  Tab OFF Local On "LC011214" List ON Default: "ME011214"
  680.           List ON
  681.  
  682.  
  683.    File Languages [5.2.10] Qedit supports new  language  types:  HTML,  XML,
  684.           Java  and  QSL (Qedit Scripting Language).  The language names can
  685.           be used on the Set Language, Text and New commands.
  686.  
  687.           These languages have a lot of common characteristics.  The default
  688.           increment is 1, the line number is stored internally at the end of
  689.           the line and can  have  up  to  8  digits.   The  files  are  kept
  690.           unnumbered.   The  first  column  of text is in position 1 and the
  691.           maximum line length is 256.  There  are  no  compilers  associated
  692.           with  any  of them.  Underscores are valid characters inside words
  693.           in Java and QSL.
  694.  
  695.           When accessing files, Qedit checks the extension of the  file,  if
  696.           any.   It  then  tries  to  determine  the  language  based on the
  697.           extension.  Currently, these languages are recognized:
  698.  
  699.                 Language            Extensions
  700.                 Cobol               CBL, COB
  701.                 CC                  H, C
  702.                 CPP                 CPP
  703.                 HTML                HTM, HTML, ASP
  704.                 XML                 XML
  705.                 JAVA                JAVA
  706.                 QSL                 QSL
  707.                 PASCAL               P,  PAS,   PASCAL,   MODULE,   INCLUDE,
  708.           FORWARD, EXTERNAL
  709.  
  710.           Extensions are not case-sensitive i.e.  cbl is the same as CBL.
  711.  
  712.  
  713.    File Access Control [5.1.10]
  714.           When  you  text in a file, Qedit creates a workfile and copies the
  715.           contents of the original file into it.  The original file is  then
  716.           closed.  This means that other users on the system can text in the
  717.           file and make changes of their own.  This is great for concurrency
  718.           but not so great for version control.
  719.  
  720.           A  new option, Set Text Exclusive, provides increased control over
  721.           files that you are editing.  To enable, simply enter:
  722.  
  723.               /Set Text Exclusive On
  724.  
  725.           When this option is enabled, files that you text in are kept  open
  726.           for  read-only  access.  This means the files are still accessible
  727.           to  compilers  and  other  programs  with  non-conflicting  access
  728.           including  Qedit  with Set Text Exclusive disabled.  In the latter
  729.           case, a user will be able to text the file in but will not be able
  730.           to save changes with a Keep command.
  731.  
  732.           Once  Set Text Exclusive is enabled for all users and a particular
  733.           file is being worked on, subsequent Text commands immediately fail
  734.           with:
  735.  
  736.                Error:  File open by another Qedit process
  737.  
  738.           On a system where Qedit is the editor of choice, we recommend that
  739.           Set Text Exclusive be inserted in one of the system Qeditmgr  file
  740.           (qeditmgr.pub.sys or qeditmgr.pub.robelle).
  741.  
  742.           Once  a file has been texted in, the user retains control over it.
  743.           The file is released when:
  744.  
  745.                *  another file is texted in
  746.                *  the workfile is closed explicitly by a Shut command
  747.                   or implicitly by a New or Open command
  748.                *  the workfile is purged e.g.  purge *
  749.                *  Qedit is terminated
  750.  
  751.           All  these  operations  signal Qedit that the work is done on this
  752.           file.  When the workfile is shut (explicitly or implicitly), Qedit
  753.           tries  to  clear its contents.  If the file is clean i.e.  has not
  754.           been modified, the file is erased.  If the file has been modified,
  755.           Qedit prompts for a confirmation:
  756.  
  757.             /shut
  758.             Reminder: you have not saved the changes to /home/bob/testisql.c
  759.             /var/tmp/qscr.CAAa09829
  760.             Clear file [no]?
  761.  
  762.           If you answer No, nothing happens.  The workfile remains open, the
  763.           original file is still in use and a warning is displayed.
  764.  
  765.             File NOT cleared
  766.             Files  still  open.  When Text Exclusive is On, workfile must be
  767.           cleared to Shut.
  768.  
  769.           If you answer Yes, the workfile is cleared and the  original  file
  770.           is released.  This accomplishes two things:
  771.  
  772.                *  releases the file so it can be used by someone else
  773.                   and does not remain blocked
  774.                *  forces the user to stop and decide what  should  be
  775.                   done with the changes
  776.                *  forces  the  user to text the file in again to make
  777.                   sure he has the latest version
  778.  
  779.  
  780.    String Location Marker [5.1.10]
  781.           When searching for a string with  the  Find  or  FindUp  commands,
  782.           Qedit  displays  the  line  where  string has been found and, on a
  783.           separate line, the column number where the  string  starts  and  a
  784.           visual  marker pointing to its location on the screen.  The visual
  785.           marker is the caret character.
  786.  
  787.                /find "resources"
  788.                   45.6   System performance depends on available resources.
  789.                                                              (41)^
  790.  
  791.  
  792.    Setincr Option on Text Command [5.1]
  793.           By default, on a Text command, Qedit looks at the file  attributes
  794.           and,  if  the  file  does  not have line numbers already, tries to
  795.           determine the best line number increment to  accommodate  all  the
  796.           lines.   In  most cases, this works perfectly fine.  However, in a
  797.           few cases, this value can not be determined with  enough  accuracy
  798.           causing  some  commands  to  fail  because  Qedit  ran out of line
  799.           numbers.  Up to version 5.1, there was  no  way  to  override  the
  800.           calculated increment.
  801.  
  802.           Starting  with  version  5.1,  you can use the Setincr option on a
  803.           Text command to force Qedit  to  use  the  current  Set  Increment
  804.           value.   This  way, you can override the calculation based on your
  805.           knowledge.
  806.  
  807.                /Text bigfile         Uses automatic calculation
  808.                /Set Increment .01    Set increment to a different value
  809.                /Text bigfile,setincr Use the current Increment value
  810.  
  811.  
  812.    Keeping Files in Browse Mode [5.0.11]
  813.  
  814.           The Browse option of the Open and Text commands allows you to open
  815.           file  as  read-only mode.  This way, file timestamps are preserved
  816.           and it prevents accidental modification.
  817.  
  818.           If you try to Keep the file with its original name i.e.  you enter
  819.           a Keep without a filename, you will get an error.
  820.              /Open workfile,browse
  821.              /Verify Keep
  822.              Set Keep Name txtfile
  823.              /K
  824.              File opened with Browse, please specify a Keep file name
  825.  
  826.           You  can  still force a Keep by specifying an explicit filename as
  827.           in:
  828.  
  829.              /Text txtfile,browse
  830.              /Keep txtfile
  831.              TXTFILE.DATA.ACCT,OLD 80B FA  of records=16
  832.              Purge existing file [no]? y
  833.  
  834.  
  835.    Support Files Location [5.0.10]
  836.  
  837.           Qedit can determine the location of its program file.  It can then
  838.           adjust  the location of its support files such as the online help.
  839.           It assumes the program file is at  the  same  level  in  the  file
  840.           system's  directory  tree  as  the  help  files.  For example, the
  841.           default installation puts the program file in the
  842.           /opt/robelle/bin/  directory   and   the   help   files   in   the
  843.           /opt/robelle/help/.
  844.  
  845.           If  you  install  Qedit  at  a  different location, it will make a
  846.           similar  assumption.   For  example,  if   you   install   it   in
  847.           /home/apps/robelle/bin/, the help files should be in
  848.           /home/apps/robelle/help/.
  849.  
  850.           The  same  logic  applies to server log files.  In this situation,
  851.           the logfiles would be in /home/apps/robelle/log/qedit/.
  852.  
  853.           If you want to override the default  location,  you  can  set  the
  854.           ROBELLE  variable  with  the  correct  location.  For example, you
  855.           could accomplish the same thing with:
  856.  
  857.              $ export ROBELLE=/home/apps/robelle
  858.              $ qedit
  859.  
  860.           The automatic  detection  simplifies  the  installation  procedure
  861.           because  you  do not have to remember to set the ROBELLE variable.
  862.           To determine where Qedit looks for the support files, do a  Verify
  863.           Filename.   Similarly, if you wish to know where Qedit resides, do
  864.           Verify Program.
  865.  
  866.           The total length of the fully-qualified  support  filename  (e.g.,
  867.           /opt/robelle/help/qedit) has been increased to 240 characters from
  868.           36 characters.
  869.  
  870.           So, in order to determine the location  of  support  files,  Qedit
  871.           goes through the following:
  872.  
  873.  
  874.           1. Uses the ROBELLE variable, if it exists.
  875.  
  876.           2. If the ROBELLE variable does not exist, Qedit tries to identify
  877.              the location it is running from and, if successful,  determines
  878.              the location based on that information.
  879.  
  880.           3. If  the  information  from the previous steps is not available,
  881.              Qedit assumes the files are in the /opt/robelle directory.
  882.  
  883.           Location of support files can be checked using the Verify Filename
  884.           command.   The  current program file location can be checked using
  885.           the Verify Program command.
  886.  
  887.  
  888.    ChangeT Edits Cobol Tags [5.0.10]
  889.  
  890.           Cobol tags are short strings stored in columns 73 to  80  of  CobX
  891.           source  files.   The  Cobol  tag  value is defined using the Set X
  892.           command.   Once  enabled,  updated  lines  and  added  lines   are
  893.           automatically  updated  with  the  tag.  They can also be modified
  894.           manually with custom tag values.
  895.  
  896.           In the past the Change command also affected the CobX tag  in  the
  897.           file.   This  was not desirable, as typically only the actual text
  898.           should have changed.  Some Change commands even caused the tag  to
  899.           shift into the text area, causing compiler errors.
  900.  
  901.           To  work  around these problems, the Change command now uses the T
  902.           suffix.  You can think of it as the Tag option.  A regular  Change
  903.           command  makes changes in the text area only, that is columns 7 to
  904.           72.  The Tag option only operates on the tag area itself,  columns
  905.           73 to 80.
  906.  
  907.                /change "CUST" "SUPP" all
  908.                            {change cust to supp in all lines.   }
  909.                            { cust must be between columns 7 and 72.  }
  910.                /changeT "CUST" "SUPP" all
  911.                            {change cust to supp in all lines.        }
  912.                            { cust must be between columns 73 and 80.  }
  913.  
  914.           To  do  this,  the  Tag  option temporarily changes the margins to
  915.           (73/80).  Qedit displays a warning every time this option is used.
  916.           Because the margin values have changed, explicit column range in a
  917.           Window can only be between 73 and 80.
  918.  
  919.                /changeT "CUST" (50/60) "SUPP" all
  920.  
  921.                Warning:  ChangeT: editing the Cobol tag area only (73-80).
  922.                Error: Window
  923.                /changeT "CUST" (73/80) "SUPP" all
  924.                Warning:  ChangeT: editing the Cobol tag area only (73-80).
  925.                   10      SUPP0102
  926.                1  line changed
  927.  
  928.  
  929.    Multiple Search Strings [5.0.10]
  930.  
  931.           A rangelist can be specified on most commands  to  identify  which
  932.           lines  to  operate  on.  Until now, a rangelist could only contain
  933.           one search string.  In Qedit 5.0.10 and higher,  a  rangelist  can
  934.           now  have up to 10 strings.  Strings are separated from each other
  935.           by an OR keyword.  Each string can have its own search set such as
  936.           column range and options.  For example,
  937.  
  938.                /List "abc" or "xyz"
  939.                  { search for abc or xyz }
  940.                /C 1/2 "ME" "abc" (u 30/35) or "xyz" (50/60 s)
  941.                  { search for caseless "abc" in columns 30/35 or }
  942.                  {            smart "xyz" in columns 50/60       }
  943.  
  944.           Each  string  is  compared in turn against the text.  As soon as a
  945.           match is found, the line is selected.   Thus,  the  most  commonly
  946.           found  strings  should  be  placed at the beginning of the list to
  947.           increase speed.
  948.  
  949.           The complete rangelist  is  saved  and  used  when  the  "previous
  950.           string"  syntax  (i.e.,  a  null string) is entered.  For example,
  951.           /List "".
  952.  
  953.  
  954.    Enhancements Since Version 4.8
  955.  
  956.           The following sections describe the new enhancements  to  Qedit/UX
  957.           since the last reprint of the user manual.
  958.  
  959.                *  The  server  can  execute  host  commands  such  as
  960.                   compiling on behalf of the client.
  961.                *  the  redo  stack  can  be  saved  and  re-used   in
  962.                   subsequent Qedit sessions.
  963.                *  The $columns option of the List command can display
  964.                   only specified columns (up to 4 ranges).
  965.                *  The $rightby option of the List command allows  you
  966.                   to  shift  an  output  listing  to  the  right by a
  967.                   specified number of columns.
  968.                *  New RR/Rn cut-and-paste codes in  full-screen  mode
  969.                   can  be  used  to replicate a block of text up to 9
  970.                   times.
  971.                *  In  full-screen  mode,  HJ  in  the   cut-and-paste
  972.                   columns  marks  a  block to be appended to the Hold
  973.                   file.
  974.                *  In  full-screen  mode,  JJ  in  the   cut-and-paste
  975.                   columns marks a block of text to Justify.
  976.                *  Escaped   characters   can   now  be  used  in  the
  977.                   replacement string of a Change command with regular
  978.                   expressions.
  979.  
  980.  
  981.    Host Commands from the Client
  982.  
  983.           Until now, the Qedit for Windows client could be used only to edit
  984.           files.  If you had to pass your changes to host applications, such
  985.           as compilers, you had to have a terminal session on the same host.
  986.           The client can now send host commands to the server on which  they
  987.           are  going to be executed.  The server then returns the output, if
  988.           any, back to the client for  viewing.   No  more  switching  to  a
  989.           terminal emulator for these tasks.
  990.  
  991.           This  feature  adds  considerable  ease-of-use,  productivity  and
  992.           integration to the client.
  993.  
  994.           To prevent some users from accessing host commands, insert
  995.  
  996.                Set Limits Sys Off
  997.  
  998.           in one of their Qeditmgr files.
  999.  
  1000.  
  1001.    Persistent Redo Stack
  1002.  
  1003.           Commands entered at the Qedit prompt are saved in something called
  1004.           the  redo stack.  You can recall commands from this stack by using
  1005.           other commands such as Before, Do and Redo.  By default, the  redo
  1006.           stack  is  stored in a temporary file and discarded as soon as you
  1007.           exit Qedit.  This temporary stack is not  preserved  across  Qedit
  1008.           invocations.
  1009.  
  1010.           The  new  Set  Redo  command  assigns a permanent file as the redo
  1011.           stack, allowing the stack to become  available  for  future  Qedit
  1012.           invocations.   For  example,  to  assign  the  Myredo  file  as  a
  1013.           persistent redo stack, enter
  1014.  
  1015.                /Set Redo Myredo
  1016.  
  1017.           If the file does not exist, Qedit creates  it.   Otherwise,  Qedit
  1018.           uses  the existing file.  All your subsequent commands are written
  1019.           to the persistent redo  stack.   The  setting  is  valid  for  the
  1020.           duration  of  the  Qedit  session.  As soon as you exit Qedit, the
  1021.           setting is discarded.  Next time you run Qedit, you will  get  the
  1022.           temporary  stack.   If  you prefer to use a persistent stack every
  1023.           time you run Qedit, insert the Set Redo  command  in  any  of  the
  1024.           Qeditmgr files.
  1025.  
  1026.           If  the  file  name is not qualified, the redo stack is created in
  1027.           the logon group and account.  This may be desirable if you want to
  1028.           have  separate  stacks.   If  you  want  to  always  use  the same
  1029.           persistent stacks, you should qualify the name.
  1030.  
  1031.           The Verify command shows which stack is currently in use.   If  it
  1032.           shows   <temporary>,  then  Qedit  is  using  the  default  stack.
  1033.           Anything else is the name  of  the  file  used  on  the  Set  Redo
  1034.           command.
  1035.  
  1036.           When   Qedit  uses  the  default,  the  temporary  stack  is  only
  1037.           accessible to that particular instance of Qedit.  You can  run  as
  1038.           many  Qedit  instances as you need, and each one gets its own redo
  1039.           stack.  You will never have concurrency problems.
  1040.  
  1041.           If you start using a persistent redo  stack,  however,  you  might
  1042.           start  running into concurrency problems.  A persistent redo stack
  1043.           can be used only by one Qedit instance at a time.  If you  try  to
  1044.           use  a  persistent redo stack that is already in use, you will get
  1045.           the following message:
  1046.  
  1047.                /Set Redo Myredo
  1048.                EXCLUSIVE VIOLATION: FILE BEING ACCESSED  (FSERR 90)
  1049.                Unable to open file for REDO stack
  1050.  
  1051.           In this situation, Qedit continues to use the redo stack active at
  1052.           the time and lets you continue working as normal.
  1053.  
  1054.  
  1055.    Listing Column Ranges
  1056.  
  1057.           The  List  command  now  has  an  option  to  display only certain
  1058.           columns.  With the $columns option, you can  specify  up  to  four
  1059.           column  ranges.  The ranges have to be enclosed in parentheses and
  1060.           can be separated by commas or spaces.
  1061.  
  1062.           A range must have a start column and, optionally, an  end  column.
  1063.           If  only a start column is specified, the end column is assumed to
  1064.           be the same.  In this case, Qedit  lists  only  one  column.   For
  1065.           example,
  1066.  
  1067.                /List  $columns  (5)           {lists  only  the  contents of
  1068.           column 5}
  1069.                /List $columns (5/10)       {lists the contents of columns  5
  1070.           to 10}
  1071.                /List  $columns  (5 20/30)    {lists column 5, and columns 20
  1072.           to 30}
  1073.  
  1074.           Column numbers must be valid for the Language of  the  file.   For
  1075.           most  files,  the  first  column  is 1.  For COBOL-type files, the
  1076.           first column is 7.  Column numbers must also be within the current
  1077.           left  and  right  margins.   The  column numbers do not have to be
  1078.           entered in a particular order.  For example, the column numbers in
  1079.           the  first  range  can  be  greater than the column numbers in the
  1080.           second range.  The text appears  in  range  order  (i.e.,  range1,
  1081.           range2,  range3  and  range4).  The same column can be included in
  1082.           multiple column ranges.  The total number of columns listed cannot
  1083.           exceed the absolute line length maximum (8,172 characters).
  1084.  
  1085.           Although  a  template Listing is allowed with $columns, the output
  1086.           might not be very helpful.  For example,
  1087.  
  1088.                /LT $column (15/20)
  1089.                      +....2
  1090.                1     O
  1091.                2     pp
  1092.                3     QQQ
  1093.                4     rrrr
  1094.  
  1095.           List $include is supported with $columns, but  Include  files  are
  1096.           treated  as  if  they  are of the same type as the main file.  For
  1097.           example, if you include a COBOL file within a Data file, the COBOL
  1098.           file will start at column 1.
  1099.  
  1100.           You  can  also  specify  a  rangelist  (e.g., a search string with
  1101.           $columns).  Qedit first searches for the string, which can  appear
  1102.           anywhere on the line, then applies the $columns specification.
  1103.  
  1104.  
  1105.    Shifting Output Lines
  1106.  
  1107.           The  $rightby  option  of  the  List command works like the $shift
  1108.           option.  It allows you to shift the printed output to  the  right.
  1109.           The  $shift option shifts the output by four spaces.  The $rightby
  1110.           option allows you to specify the number of  spaces  by  which  the
  1111.           output is shifted.  This number can be between 1 and 30.
  1112.  
  1113.                /List $shift   LP           {shifts output by four spaces}
  1114.                /List  $rightby  4     LP        {also  shifts output by four
  1115.           spaces}
  1116.                /List $rightby 20   LP      {shifts output by 20 spaces}
  1117.  
  1118.  
  1119.    Replicating a Block of Text
  1120.  
  1121.           In full-screen mode, it is now possible to replicate  a  block  of
  1122.           text  up  to  9  times  in  a single operation.  This feature uses
  1123.           similar syntax to marking a block of text  for  deleting  (DD)  or
  1124.           copying  (CC)  and  combines  it  with the cut-and-paste codes for
  1125.           replicating single lines (e.g., R5).
  1126.  
  1127.           To use this new feature, mark the beginning of the block  with  RR
  1128.           and  the  last  line  of the block with Rn, where n represents the
  1129.           number of times you want the block replicated.   For  example,  to
  1130.           replicate the same block five times, you would enter R5.
  1131.  
  1132.           The new blocks are inserted immediately after the last line of the
  1133.           copied block, where Rn has been entered.  Because Rn has room  for
  1134.           only one digit, the maximum number of replications is nine (9).
  1135.  
  1136.  
  1137.    Justifying a Block of Text
  1138.  
  1139.           Justification  in  text  alignment is now available in full-screen
  1140.           mode.  To justify a block of text, simply mark the first and  last
  1141.           lines  in  the  block  with  the  JJ indicator.  If Qedit uses any
  1142.           justify default settings, they are  defined  by  the  Set  Justify
  1143.           command.  If there are no default settings, Qedit assumes the text
  1144.           should be justified within the current display width.
  1145.  
  1146.           The justified lines are written to the Hold0  file.   A  single  J
  1147.           indicator is not valid.
  1148.  
  1149.  
  1150.    Appending to the Hold File
  1151.  
  1152.           The HoldJ Line-mode command allows you to append one or more lines
  1153.           to the Hold file.  A similar feature is available  in  full-screen
  1154.           mode.   Mark  the first line of the block with HH or HJ.  The last
  1155.           line of the block must be marked with HJ.  HJ  by  itself  is  not
  1156.           allowed, which means you can append only two or more lines.
  1157.  
  1158.  
  1159.    Escaped Characters in Replacement String
  1160.  
  1161.           Escaped  characters  in  regular  expressions  are used to specify
  1162.           nonprinting characters.  For example, \n represents  a  line  feed
  1163.           character.   Until  now,  these characters were only recognized in
  1164.           regular expression search operations.  Now they can also  be  used
  1165.           in the replacement string of a Change command, making it easier to
  1166.           insert these special characters.
  1167.  
  1168.           All escaped characters allowed in regular expression searches  are
  1169.           valid in the replacement, except for octal values (these are coded
  1170.           using octal digits).  For example, \007 can be used  to  represent
  1171.           the  Bell  character.   However, backreferences in the replacement
  1172.           string are represented by \n, where n is a  digit  from  0  to  9.
  1173.           Because  of  that,  \007  might be interpreted as backreference \0
  1174.           followed by the literal 07 (Bell character).
  1175.  
  1176.           To work around this limitation, a backslash followed by a digit is
  1177.           always   assumed  to  be  a  backreference.   To  specify  special
  1178.           characters  using  numeric  values,  you  should  use  hexadecimal
  1179.           notation (e.g., \x007).
  1180.  
  1181.  
  1182.    Qedit for Windows
  1183.  
  1184.  
  1185.           Qedit  for Windows lets you edit local MPE/iX and HP-UX files from
  1186.           a single MS Windows program.  It consists  of  a  Windows  editing
  1187.           client  and  either  an  MPE/iX  or HP-UX editing server that work
  1188.           together to edit your host files.  To take advantage of Qedit  for
  1189.           Windows, you need both the Qedit client and the Qedit server.
  1190.  
  1191.           Qedit   for   Windows   uses   the  popular  TCP/IP  protocol  for
  1192.           communicating between the client and the server (this is the  same
  1193.           protocol  that  you use to access the Web).  Configuring the Qedit
  1194.           server software requires creating the correct  TCP/IP  environment
  1195.           for Qedit for Windows.
  1196.  
  1197.  
  1198.    Server Process
  1199.  
  1200.           Qedit  clients can connect to Qedit/UX only if the Qedit/UX daemon
  1201.           process is running (the Qedit/UX daemon process cannot be  started
  1202.           from inetd).  This process listens for connections on a registered
  1203.           port number (described below).  To allow users to connect  to  the
  1204.           Qedit/UX  daemon  process,  you must log on as root and issue this
  1205.           command:
  1206.  
  1207.                qedit -d
  1208.  
  1209.           The Qedit/UX daemon process should always be running, so it  is  a
  1210.           good  idea to automatically start the daemon as part of the system
  1211.           startup process.  On  HP-UX  9.0,  this  is  done  by  adding  the
  1212.           following command to the file /etc/rc:
  1213.  
  1214.                /opt/robelle/bin/qedit -d
  1215.  
  1216.  
  1217.    HP-UX 10.20/11.0
  1218.  
  1219.           On HP-UX 10.20 and up, you do not modify the startup shell script.
  1220.           Instead, you  need  to  create  a  number  of  files.   The  HP-UX
  1221.           documentation  states that the following characters cannot be used
  1222.           as part of the file names: [.,~#].  Otherwise, you can choose  any
  1223.           name  for  these  files,  as  long  as  the  names  are consistent
  1224.           throughout the process.  In our example, we use qedit_server.
  1225.  
  1226.           You first need to create a control file in /etc/rc.config.d.  This
  1227.           file  sets  a control variable that will be checked by the startup
  1228.           script.  If the control variable is set  to  1,  the  server  will
  1229.           start;  if  it  is  not equal to 1, the server will not start.  We
  1230.           will use QEDIT_SERVER as our variable name.  The /etc/rc.config.d/
  1231.           qedit_server control file will now contain the following:
  1232.  
  1233.                # ****** File:  /etc/rc.config.d/qedit_server ******
  1234.                # Qedit for Windows server configuration.
  1235.                #
  1236.                # QEDIT_SERVER:    Set to 1 to start
  1237.                #                  Qedit for Windows server
  1238.  
  1239.                QEDIT_SERVER=1
  1240.  
  1241.           Next, you need a shell script that will actually start the server.
  1242.           You   can   copy   a   template   of   the   shell   script   from
  1243.           /sbin/init.d/template.
  1244.  
  1245.                cd /sbin/init.d
  1246.                cp template qedit_server
  1247.  
  1248.           Modify  the  file  so  that  it contains the necessary commands to
  1249.           start  the  server.   You  have  to  change  all  occurrences   of
  1250.           CONTROL_VARIABLE to the variable name you used in the control file
  1251.           (i.e., QEDIT_SERVER).
  1252.  
  1253.           You also need the execute command for the server program.   Insert
  1254.           this  command (underlined below) in the section after the 'start')
  1255.           string.  The section looks like this:
  1256.  
  1257.                'start')
  1258.  
  1259.                      # source the system configuration variables
  1260.                      if [ -f /etc/rc.config ] ; then
  1261.                              .  /etc/rc.config
  1262.                      else
  1263.                         echo "ERROR: /etc/rc.config defaults file MISSING"
  1264.                      fi
  1265.  
  1266.                      # Check to see if this script is allowed to run...
  1267.                      if [ "$QEDIT_SERVER" != 1 ]; then
  1268.                         rval=2
  1269.                      else
  1270.  
  1271.                      # Execute the commands to start your subsystem
  1272.                         /opt/robelle/bin/qedit -d
  1273.                      fi
  1274.                      ;;
  1275.  
  1276.           Finally, you need a symbolic link to specify when  the  script  in
  1277.           /sbin/init.d  will be executed at boot time.  Typically, you would
  1278.           start the server as the last step at run level 3.  Get a  list  of
  1279.           all the startup files in /sbin/rc3.d with
  1280.  
  1281.                ls /sbin/rc3.d/S*
  1282.  
  1283.           Link  names  in  this  directory follow a set of conventions.  The
  1284.           names start with the letter S or K.  S links are startup  scripts;
  1285.           K links are shutdown or "kill" scripts.  The next three characters
  1286.           in the name represent an execution sequence number.   This  number
  1287.           must  be  3  digits, and its value should be a number greater than
  1288.           the highest value on the ls listing.  For  example,  if  the  last
  1289.           link  is  called  S100nfs.server,  you could use S111qedit_server.
  1290.           Create the symbolic link with
  1291.  
  1292.                ln -s /sbin/init.d/qedit_server /sbin/rc3.d/S111qedit_server
  1293.  
  1294.           For the time being, you do not need a "kill" link.
  1295.  
  1296.  
  1297.    Port Number
  1298.  
  1299.           By default, Qedit/UX listens  on  port  number  7395.   This  port
  1300.           number  has been registered with the Internet Naming Authority, so
  1301.           you should not have any conflicts with other HP-UX tools  for  the
  1302.           same port number.  If there is a conflict, you can start the Qedit
  1303.           server process with a different port number.  For example,
  1304.  
  1305.                qedit -d5678
  1306.  
  1307.           tells Qedit to listen to port number 5678 instead of  the  default
  1308.           number  (7395).   If  you  change  the port number on the Qedit/UX
  1309.           server, you must also change the port number on every Qedit client
  1310.           to the same value (5678 in this example).  Client port numbers can
  1311.           be changed in the Server Settings dialog box of the Options menu.
  1312.  
  1313.           If you want listings from netstat and other  networking  tools  to
  1314.           identify  the  port  number  as "qwin" instead of just "7395," you
  1315.           have to change the /etc/services file  so  that  it  includes  the
  1316.           Qedit port number.
  1317.  
  1318.                qwin    7395/tcp     #Robelle Qedit for Windows
  1319.  
  1320.  
  1321.    Log Files
  1322.  
  1323.           The Qedit server can communicate only with Qedit clients.  To help
  1324.           system managers track Qedit processes, Qedit for Windows writes to
  1325.           three log files: the access log, the error log, and the trace log.
  1326.  
  1327.  
  1328.    Console Messages
  1329.  
  1330.           If Qedit cannot access any of its log files,  it  writes  the  log
  1331.           message  to  the  system  console.   You  can  also enable console
  1332.           logging with the Debug command in the Option  menu  of  the  Qedit
  1333.           client.   If  someone  is having trouble establishing a connection
  1334.           and the Qedit log files on the host do not include a  message  for
  1335.           this connection, check the system console.  If Qedit was unable to
  1336.           open the log files, it probably reported the message on the system
  1337.           console.
  1338.  
  1339.  
  1340.    Access Log
  1341.  
  1342.           Every  time  a  Qedit  client  makes  a  connection  to the server
  1343.           process, an entry is written to the  access  log  file,  which  is
  1344.           where  the  IP address of the client is logged.  Qedit attempts to
  1345.           find the symbolic name of the client IP address  by  reverse  name
  1346.           DNS  lookup.   If  this  lookup  is  not enabled, Qedit writes the
  1347.           numeric form of the IP address to the log file.
  1348.  
  1349.  
  1350.    Error Log
  1351.  
  1352.           Any error conditions encountered by the Qedit server  process  are
  1353.           written  to  the error log file.  If you suspect a problem between
  1354.           the client and the server, start your diagnosis by looking at  the
  1355.           end of this log file.
  1356.  
  1357.  
  1358.    Trace Log
  1359.  
  1360.           By  default,  Qedit  does  not log messages to the trace log file.
  1361.           However, you can enable trace file  logging  by  using  the  Debug
  1362.           command  in  the  Options menu of the Qedit client.  The trace log
  1363.           file can grow and become very large  because  Qedit  messages  are
  1364.           constantly   being   added   to  it.   These  messages  assist  in
  1365.           understanding the communication between the Qedit  server  process
  1366.           and  the Qedit client.  In many cases, the detailed information in
  1367.           these messages is the only way to diagnose a problem.
  1368.  
  1369.  
  1370.    Log File Names
  1371.  
  1372.           By default, the Qedit  server  assumes  that  the  log  files  are
  1373.           located in this directory:
  1374.  
  1375.                /opt/robelle/log/qedit/
  1376.  
  1377.           If you have installed Qedit in a different directory, Qedit should
  1378.           be able to detect its new location automatically  and  adjust  the
  1379.           log files location accordingly.  If you prefer, you can explicitly
  1380.           change the default directory of the log files by using the ROBELLE
  1381.           environment variable.  The three log files are called:
  1382.  
  1383.                access.log
  1384.                error.log
  1385.                trace.log
  1386.  
  1387.           Like  most UNIX log files, these files will continue to grow until
  1388.           you run out of disc space.  We recommend archiving the  log  files
  1389.           in  a  separate  directory  and  saving  them  each  week.   After
  1390.           archiving, you can remove everything from the log files with these
  1391.           commands:
  1392.  
  1393.                cp /dev/null  access.log
  1394.                cp /dev/null  error.log
  1395.                cp /dev/null  trace.log
  1396.  
  1397.  
  1398.  
  1399.    Bugs Fixed Since Version 5.1
  1400.  
  1401.  
  1402.    Host File  Losing  Synchronization  The server and client views of a host
  1403.           file were different after pasting text overtop the last line of  a
  1404.           file.    This  could  lead  to  problems  as  lines  were  updated
  1405.           incorrectly on the host while the client looked correct.  [5.1.11]
  1406.  
  1407.  
  1408.    Control-Y  In  Redo  Stack  Operations The Delete command does not remove
  1409.           lines immediately.  The  lines  are  flagged  for  deletion.   The
  1410.           operation  can  be  cancelled by hitting Control-Y before entering
  1411.           another command.
  1412.  
  1413.           However, if you hit Control-Y to interrupt  an  operation  against
  1414.           the Redo stack such as Listredo or to cancel a Redo, the Control-Y
  1415.           also cancelled the pending Delete operation.  This has been fixed.
  1416.           In  other  words,  the  Control-Y  interrupt only affects the Redo
  1417.           operation and not the pending Delete.
  1418.  
  1419.           [5.1.10]
  1420.  
  1421.  
  1422.    Tab Stops in Qedit for Windows When editing files with Qedit for Windows,
  1423.           the server has to keep track of many file attributes including tab
  1424.           stops.  The server has to save these attributes and switch between
  1425.           them  as needed.  In earlier versions, tab stops were not switched
  1426.           correctly so some files temporarily ended up  with  incorrect  tab
  1427.           stops.
  1428.  
  1429.           The  server  has been fixed to correctly keep track of each file's
  1430.           tab stops.
  1431.  
  1432.           [5.1.10]
  1433.  
  1434.  
  1435.    Bugs Fixed Since Version 5.0
  1436.  
  1437.  
  1438.    Invalid Line Numbers in Cobol Files Qedit expects valid line  numbers  in
  1439.           most  Cobol  source files.  If it encounters invalid line numbers,
  1440.           it tries to recover as gracefully as  possible.   In  some  cases,
  1441.           however, the numbering recovery procedure was not working properly
  1442.           which caused some lines to be lost.
  1443.  
  1444.           [5.0.12]
  1445.  
  1446.  
  1447.    Empty Line After Glue Operation A Glue command left an empty line  behind
  1448.           if you were working on a CobolX file with no Cobol tag defined but
  1449.           the List option enabled as done with:
  1450.  
  1451.               Set X "" List ON Tab OFF
  1452.  
  1453.           For example, suppose the file contains
  1454.  
  1455.                 4     Author.  Francois Desrochers.
  1456.                 5     Remarks.
  1457.                 6     Environment division.
  1458.  
  1459.           If you did Glue 4, the result would have been
  1460.  
  1461.                 4     Author.  Francois Desrochers.  Remarks.
  1462.                 5
  1463.                 6     Environment division.
  1464.  
  1465.           The correct result is now
  1466.  
  1467.                 4     Author.  Francois Desrochers.  Remarks.
  1468.                 5     Environment division.
  1469.  
  1470.           [5.0.12]
  1471.  
  1472.  
  1473.    Display Width
  1474.  
  1475.           When going in full-screen mode, Qedit adjusts the display width to
  1476.           match  the  file attributes as closely as possible.  It resets the
  1477.           display width to its original value  upon  exit  from  full-screen
  1478.           mode.
  1479.  
  1480.           The  reset  function  was not working properly on some versions of
  1481.           Reflection for Macintosh and Windows.  [5.0.12]
  1482.  
  1483.  
  1484.    Replicating Block of Text
  1485.  
  1486.           If you marked a block of text to replicate in 2  steps  using  the
  1487.           RR/Rn  construct  of  full-screen mode, the lines were highlighted
  1488.           but they would not  be  replicated.   This  would  happen  if  you
  1489.           entered  RR  on  a line, hit ENTER, moved the cursor to some other
  1490.           line and entered Rn.  [5.0.11]
  1491.  
  1492.  
  1493.    Incorrect Replace With Regular Expression
  1494.  
  1495.           In  certain  situations,  a  Replace  operation  using  a  regular
  1496.           expression  caused  incorrect  text  to  be inserted.  The problem
  1497.           could occur if you specified  a  backreference  e.g.   \1  in  the
  1498.           replacement  string while the regular expression to search for did
  1499.           not have any subpattern (enclosed in parentheses).  In such  case,
  1500.           the  replacement string should be used as a literal.  This problem
  1501.           has also been fixed in the Qedit for Windows server.  [5.0.10]
  1502.  
  1503.  
  1504.    Resetting COBX Tag
  1505.  
  1506.           The following commands  can  be  used  again  to  reset  COBX  tag
  1507.           settings:
  1508.  
  1509.                Set X
  1510.                Set X ""
  1511.                Set X Null
  1512.  
  1513.           [5.0.10]
  1514.  
  1515.  
  1516.    Bugs Fixed Since Version 4.8
  1517.  
  1518.  
  1519.    Losing Track of Line Positions
  1520.  
  1521.           The  Qedit  for  Windows  server  no  longer  loses  track of line
  1522.           positions in a file after using the  List  $include  script  under
  1523.           certain  conditions  (e.g.,  locating  text  when  searching for a
  1524.           string).
  1525.  
  1526.  
  1527.    Infinite Loop On Replace
  1528.  
  1529.           If you use a regular expression to perform  a  replace  operation,
  1530.           and  the  replacement  string contains an escaped character (e.g.,
  1531.           \t), Qedit no longer goes into an infinite loop.  For example, the
  1532.           following command would not run into this problem:
  1533.  
  1534.                /Change "#" (r) "\t" @
  1535.  
  1536.  
  1537.    File Corruption During Paste Operations
  1538.  
  1539.           Pasting  text  in Qedit for Windows no longer causes the host file
  1540.           to be updated incorrectly in some circumstances.  For example, one
  1541.           line  may be missing and one or more lines may appear in the wrong
  1542.           place during a paste operation.  This did not happen  immediately;
  1543.           it  occurred  only  if  you  continued to make changes in the same
  1544.           general area.
  1545.  
  1546.           Even though the host file was incorrect, the incorrect data  would
  1547.           not appear in the Qedit for Windows document window.  The problems
  1548.           would, however, become evident if you tried to use the file on the
  1549.           host  (e.g.,  compiling  a COBOL source or next time the Qedit for
  1550.           Windows cache was refreshed).
  1551.  
  1552.           This problem has now been corrected.
  1553.  
  1554.  
  1555.    COBOL Tags
  1556.  
  1557.           The tag value can now be set to blanks.  This  is  different  than
  1558.           setting it to Null or empty string.
  1559.  
  1560.                Set X "   "       {tag set to blanks}
  1561.                Set X Null        {tag set to Null}
  1562.                Set  X  ""           {tag  set to empty string, equivalent to
  1563.           Null}
  1564.  
  1565.           If set to Null, tags on modified  lines  are  not  changed.   They
  1566.           retain  whatever  value  they  had.   If  set  to  blanks, tags on
  1567.           modified lines are cleared.
  1568.  
  1569.           Because Set X " " was equivalent to Null, this  caused  some  edit
  1570.           commands,  such as Change and Modify, to report a line overflow on
  1571.           existing tagged lines.
  1572.  
  1573.           Using the Glue command with a COBX file no longer causes  the  tag
  1574.           value  to  shift  in  the text area.  This used to happen with the
  1575.           column list option in Line mode
  1576.  
  1577.                /Glue (4 10) 2.3
  1578.  
  1579.           or field separators (~) in full-screen mode.
  1580.  
  1581.           Set X Date now returns the system date in  DDMMMYY  format,  where
  1582.           MMM is the month in uppercase.  The month is no longer returned in
  1583.           mixed case (e.g., Dec).
  1584.  
  1585.           Set X "" and Set X Null are now resetting the COBOL tag value.
  1586.  
  1587.           The Qedit for Windows server no longer updates the COBX tag  value
  1588.           on one extra line when pasting a block of text in certain cases.
  1589.  
  1590.  
  1591.    Switching to a COBOL Language
  1592.  
  1593.           Changing the Language of a file from any non-COBOL type to a COBOL
  1594.           variant no longer causes  the  loss  of  data.   If  the  file  in
  1595.           question  contains more than 1,000 lines, changing the Language to
  1596.           COBX, for example, and saving the file back now keeps not only the
  1597.           first 1,000 lines, but all lines greater than 1,000.
  1598.  
  1599.  
  1600.    Shifting Text
  1601.  
  1602.           Shifting  text  to  the  right  from  the Qedit for Windows client
  1603.           ultimately results in right-justified lines.  The  server  problem
  1604.           with the shift operation causing data corruption has been fixed.
  1605.  
  1606.  
  1607.    Full-screen Mode
  1608.  
  1609.           Qedit  now  reports  a  workfile overflow immediately after adding
  1610.           lines in full-screen mode.  The latest changes are no longer  lost
  1611.           without  the  user knowing about it.  The problem only happened if
  1612.           the added lines forced Qedit to renumber existing  lines  and  the
  1613.           workfile got full during this operation.
  1614.  
  1615.           There  is  also  the possibility that this problem caused workfile
  1616.           corruption later on in the editing session.
  1617.  
  1618.  
  1619.    Pasting a Partial Line
  1620.  
  1621.           If the Clipboard ends with  only  part  of  a  line,  pasting  the
  1622.           Clipboard  at  the  beginning of another line no longer causes the
  1623.           server to create a separate line for the partial text.
  1624.  
  1625.  
  1626.    Multiple Paste Operations.
  1627.  
  1628.           The server no longer removes  the  wrong  line  when  pasting  the
  1629.           Clipboard  in  an  area  where numerous line insertions and pastes
  1630.           have been done.
  1631.  
  1632.  
  1633.    Problems with Regular Expressions
  1634.  
  1635.           A number of problems have been fixed in regular expressions.
  1636.  
  1637.           Character Range.   A range  in  a  character  class  is  generally
  1638.           specified  by  entering  the  smallest  value  (based on the ASCII
  1639.           character set) as the start character and the largest value as the
  1640.           end  character  (e.g.,  [a-z]).  However, Qedit allowed a range to
  1641.           have the largest value first followed by the smallest value (e.g.,
  1642.           [z-a]).   In  this situation, Qedit internally reversed the order.
  1643.           However, in doing so, the range was "truncated" at  the  beginning
  1644.           of  the  range.   In  the  previous  example,  Qedit  would select
  1645.           characters b through z.  The letter a would not be included in the
  1646.           range.
  1647.  
  1648.           Qedit  allowed extending a character range using the end character
  1649.           of a range as the start of the next one.  For example, [a-m-z] was
  1650.           internally  equivalent to [a-mm-z].  Although it might seem like a
  1651.           feature, we see this as of limited use and more  likely  to  cause
  1652.           confusion   when   interpreting   the  regular  expression.   This
  1653.           expression now resolves to a character range [a-m],  a  hyphen  or
  1654.           the letter z.
  1655.  
  1656.           Closing  Bracket.   The regular expression [a-] was interpreted as
  1657.           a range from the lowercase a through to the closing  bracket  (]).
  1658.           This is incorrect.  It is now correctly interpreted as a lowercase
  1659.           a or a hyphen.  To search for a closing  bracket  character  in  a
  1660.           character  class,  the character must be escaped with a backslash,
  1661.           as in [a-\]].
  1662.  
  1663.           Qedit used to accept a character class without a closing  bracket,
  1664.           as  in  [a-.   The  regular  expression  was  not rejected.  Qedit
  1665.           assumed the next character in memory, typically a Null  character,
  1666.           as  the end character.  This returned unexpected results as a Null
  1667.           character is the smallest possible value.  The expression would be
  1668.           interpreted as a range from Null character through to lowercase a.
  1669.           Qedit now assumes the closing  bracket  is  always  present.   The
  1670.           previous  expression is then equivalent to [a-] (i.e., a lowercase
  1671.           a or a hyphen).
  1672.  
  1673.           Octal Values.   Valid octal values are 1 to 3 octal digits.   When
  1674.           octal  values  are used, the Bell character could be coded \7, \07
  1675.           or \007.  The problem  that  caused  the  first  character  to  be
  1676.           skipped and produced unpredictable results has been fixed.
  1677.  
  1678.           Escaped   Characters.     You   should  be  able  to  use  escaped
  1679.           characters, including octal values in a  character  class.   Qedit
  1680.           had  a  couple  of problems with this format.  Qedit used the last
  1681.           character of  the  start  escaped  sequence  as  the  start  of  a
  1682.           different  range.   For  example,  the  [\t-z]  should  search for
  1683.           characters from a horizontal tab character through to a  lowercase
  1684.           z.  Qedit, however, ended searching for a horizontal tab character
  1685.           or any character from lowercase t through to lowercase z.
  1686.  
  1687.           Escaped sequences can also be used in a character class to  define
  1688.           a  range,  as  in  [\007-\027].   Qedit  did  not  expect  the end
  1689.           character to be an escaped sequence.  Combining this problem  with
  1690.           the  problem  described in the previous paragraph, this expression
  1691.           would evaluate to the Bell character, a range of  characters  from
  1692.           the  digit 7 (from \007) through to the backslash character or the
  1693.           0, 2 or 7 digits.
  1694.  
  1695.  
  1696.    Wildcard in the Directory Window
  1697.  
  1698.           If the wildcard in the Directory window contains a dot-slash  (./)
  1699.           or  a dot-dot-slash (../) prefix, the server no longer removes the
  1700.           first two files from the list.
  1701.