home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / faq / qx46inst.txt < prev    next >
Text File  |  1998-01-19  |  32KB  |  849 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                              QEDIT/UX Version 4.6
  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.5 User Manual
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                               Qedit/UX       4.6
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                             Robelle Consulting Ltd.
  37.                            Unit 201, 15399-102A Ave.
  38.                          Surrey, B.C. Canada  V3R 7K1
  39.  
  40.                            Toll-free:  1-888-ROBELLE
  41.                                       (1-888-762-3553)
  42.                             Phone:  (604) 582-1700
  43.                              Fax:  (604) 582-1799
  44.  
  45.                          E-mail:  support@robelle.com
  46.                              Web:  www.robelle.com
  47.  
  48.                                 September 1997
  49.           Program and Manual Copyright Robelle Consulting Ltd.  1977-1997
  50.  
  51.  
  52.           Permission  is  granted  to  reprint  this  document  (but not for
  53.           profit), provided that copyright notice is given.
  54.  
  55.  
  56.           QEDIT and SUPRTOOL are trademarks of Robelle Consulting Ltd.
  57.  
  58.  
  59.  
  60.  
  61.           The following names and marks  are  companies  and  trademarks  of
  62.           their  respective  owners,  designating companies and products not
  63.           provided by or associated with Robelle or  its  QEDIT  editor  and
  64.           SUPRTOOL database handyman products.
  65.           ASK  is  a  trademark  of  COGELOG.   Allbase, HP 3000, HP, HP-UX,
  66.           HPDesk,  IMAGE,  KSAM,  LaserJet,  MM3000,  MPE,  TDP,   TRANSACT,
  67.           TurboIMAGE,  and  VPLUS are trademarks of Hewlett-Packard Company.
  68.           Cognos,  PDL,  PowerHouse,  QDESIGN,  QUICK,  QUIZ,  and  QTP  are
  69.           trademarks  of  Cognos  Incorporated.  Excel, MS-DOS, Windows, and
  70.           Windows NT are trademarks of  Microsoft  Corporation.   IBM  is  a
  71.           registered  trademark  of  International  Business  Machines Corp.
  72.           Klondike is a  trademark  of  Software  Research  Northwest,  Inc.
  73.           Lotus  is a registered trademark of Lotus Development Corporation.
  74.           MANMAN is  a  trademark  of  ASK  Computer  Systems,  Inc.   MPEX,
  75.           SECURITY/3000, and STREAMX are trademarks of VESOFT, Inc.  Mac and
  76.           Macintosh are trademarks of Apple  Computer  Inc.   Netbase  is  a
  77.           trademark  of  Quest  Software.   Nuggets  is  a trademark of Lund
  78.           Performance  Solutions.   Omnidex  is  a  trademark   of   Dynamic
  79.           Information  Systems Corporation.  Oracle is a trademark of Oracle
  80.           Corporation.  Paradox and Quattro Pro are  trademarks  of  Borland
  81.           International.   Reflection  is  a  registered trademark of Walker
  82.           Richer & Quinn,  Inc.   SPEEDWARE  is  a  trademark  of  Speedware
  83.           Corporation.   SPLash!  is  a  trademark  of  Allegro Consultants.
  84.           Superdex is a trademark of Bradmark Technologies, Inc.  Type Ahead
  85.           Engine is a trademark of Telamon, Inc.
  86.  
  87.  
  88.  
  89.    Introducing Qedit/UX Version 4.6
  90.  
  91.  
  92.                ⁿ  Qedit for Windows
  93.                ⁿ  Highlights
  94.                ⁿ  Compatibility
  95.                ⁿ  Known Problems
  96.                ⁿ  CPU Serial Number (uname)
  97.                ⁿ  Documentation
  98.                ⁿ  Documentation in WinHelp Format
  99.  
  100.  
  101.           Qedit is a full-screen editor for programmers of the HP-UX systems
  102.           (workstations and minicomputers).  It is a development  home  base
  103.           that is both fast and efficient.
  104.  
  105.           Every year we update Qedit with a number of new features and fixes
  106.           requested by users.  It is our goal is to provide  PowerHouse  and
  107.           COBOL  developers  with  all  the  necessary facilities to stay in
  108.           Qedit all day.
  109.  
  110.           This change notice includes detailed  steps  for  installation,  a
  111.           description  of  Qedit's  new  features and how to use them, and a
  112.           list of other changes.  Qedit is  also  available  for  MPE,  with
  113.           virtually  identical  features.  Contact us if you would like more
  114.           information.
  115.  
  116.  
  117.    Announcing Qedit for Windows
  118.  
  119.           In the last year we have been busy developing the next  generation
  120.           of  our  popular  editor, Qedit for Windows (QWIN).  QWIN lets you
  121.           edit local MPE/iX  and  HP-UX  files  from  a  single  MS  Windows
  122.           program.   Our new editor consists of a Windows editing client and
  123.           an MPE/iX or HP-UX editing server that work together to edit  your
  124.           host  files  for you.  To take advantage of Qedit for Windows, you
  125.           need both the client and the server.
  126.  
  127.           This change notice includes a description of the server portion of
  128.           Qedit  for  Windows.   If  you  would like to upgrade to Qedit for
  129.           Windows, please contact Robelle Consulting Ltd.
  130.  
  131.  
  132.    Highlights in Version 4.6
  133.  
  134.  
  135.           ⁿ  The new Undo option in the  Redo  command  can  now  cancel  an
  136.              immediately  preceding Undo operation.  If you have consecutive
  137.              Undo operations, you can cancel them with consecutive Undo Redo
  138.              commands.
  139.  
  140.           ⁿ  If you use a Text command on a file, the modification timestamp
  141.              is now stored in the workfile.  Knowing when the file was  last
  142.              modified  lets  you  make  sure you are not overwriting someone
  143.              else's revisions.
  144.  
  145.           ⁿ  The :Reflect command is now available.  This  feature  provides
  146.              an  easy  way  to  pass  commands  to WRQ's Reflection terminal
  147.              emulator.
  148.  
  149.           ⁿ  Hard and symbolic links are now preserved on a Keep operation.
  150.  
  151.           ⁿ  In Visual mode, the plus (+) and minus (-) signs  in  the  home
  152.              line can now move ahead or back up to 10,000 lines.
  153.  
  154.           ⁿ  The  ROBELLE  variable  can  now  provide  redirection  to  the
  155.              /robelle directory when the directory is  not  in  the  default
  156.              path.
  157.  
  158.           ⁿ  New  Set  Lang  settings  have  been  added  for  C,  C++,  and
  159.              PowerHouse.
  160.  
  161.  
  162.    Screen Mode Improvements
  163.  
  164.           The following functionality has been added to Screen mode:
  165.  
  166.           ⁿ  Search and Replace strings with Ctrl-R.
  167.  
  168.           ⁿ  Move the cursor to the previous or next word with keypad-5.
  169.  
  170.           ⁿ  Mark partial lines with Ctrl-L.
  171.  
  172.           ⁿ  PF1-PF4 keys now work correctly on VT terminals and Reflection.
  173.  
  174.  
  175.    List Command
  176.  
  177.           ⁿ  List  with  the $pcl option now closes the printer when running
  178.              under Windows.
  179.  
  180.           ⁿ  List $page will also do a page break on #pragma page.
  181.  
  182.  
  183.    New Qedit for Windows
  184.  
  185.           ⁿ  Robelle has been putting its resources into the development  of
  186.              a  new  product,  Qedit  for  Windows.   For  more details, see
  187.              "Announcing Qedit for Windows" above.
  188.  
  189.  
  190.    Compatibility
  191.  
  192.           Qedit/UX is compatible with HP-UX 9.0.
  193.  
  194.           Qedit/UX now follows and preserves hard and symbolic  links  on  a
  195.           Keep operation.
  196.  
  197.  
  198.    HP-UX 10.0 Compatibility and Installation
  199.  
  200.           Qedit/UX  is  compatible  with all versions of HP-UX 10.X.  If you
  201.           want to use the new HP-UX 10.X naming  conventions  for  Qedit/UX,
  202.           you need to do the following (this should all be done while logged
  203.           on as root):
  204.  
  205.           1. Get the files off the tape:
  206.  
  207.                   tar xv
  208.  
  209.           2. Move the files to /opt/robelle:
  210.  
  211.                   mv /usr/robelle /opt
  212.  
  213.           3. Set up a link for Qedit files:
  214.  
  215.                   ln -s /opt/robelle /usr/robelle
  216.  
  217.           4. Set the ROBELLE environment variable to the new directory
  218.  
  219.                   ROBELLE=/opt/robelle
  220.                   export ROBELLE
  221.  
  222.  
  223.    CPU Serial Number (uname)
  224.  
  225.           Qedit/UX runs only on CPUs whose serial numbers have been  encoded
  226.           (the  "uname"  on  HP-UX).   If  it  fails  to  run and you see an
  227.           "invalid HPSUSAN" error message, call Robelle for assistance.
  228.  
  229.  
  230.    Known Problems
  231.  
  232.  
  233.    Qedit/UX
  234.  
  235.           There are currently no known problems with Qedit/UX.
  236.  
  237.  
  238.    Qedit for Windows (QWIN)
  239.  
  240.           The following are known problems in the either the Qedit client or
  241.           the server:
  242.  
  243.           Access Log File
  244.  
  245.           New client connections are not logged to the access log file.
  246.  
  247.           Client Problems
  248.  
  249.           The following problems appear in the Qedit for Windows client:
  250.  
  251.           a. Changing the right margin in the Options dialog box (File menu)
  252.              has no effect on server documents.
  253.  
  254.           b. A  pattern-matching  Find  command  does  not  work  on   local
  255.              documents.
  256.  
  257.  
  258.    Documentation
  259.  
  260.           Extra  printed  copies  of  the  Qedit  User Manual can be ordered
  261.           directly from Robelle or one of its  distributors.   The  complete
  262.           user manual is also available in on-line Help.
  263.  
  264.  
  265.    Documentation in WinHelp Format
  266.  
  267.           Both  the  MPE and HP-UX editions of the Qedit User Manual are now
  268.           available in the popular WinHelp file format of Microsoft Windows.
  269.           Your  tape  includes  a  WinHelp  file, which is a self-extracting
  270.           compressed file that contains all five  Help  files  and  a  Setup
  271.           program.   Use the installation instructions in this change notice
  272.           to install the files on your PC.
  273.  
  274.  
  275.    Installation
  276.  
  277.  
  278.           If you are a new Qedit/UX user,  please  follow  the  installation
  279.           instructions  in  the  Qedit User Manual.  These notes assume that
  280.           you are an existing Qedit/UX user who is upgrading to version 4.6.
  281.  
  282.           The installation should take about half an hour, during which time
  283.           no one can use Qedit.
  284.  
  285.  
  286.    Installation Assistance
  287.  
  288.           If you have any questions  about  the  upgrade  or  run  into  any
  289.           problems,  please  call  us.   Technical  support  is available on
  290.           weekdays from 7 a.m. to  4  p.m.,  Pacific  time.   You  can  also
  291.           receive  emergency  support  outside of these hours by calling our
  292.           regular phone number and asking the operator  to  page  a  support
  293.           person for you.
  294.  
  295.  
  296.    Replace Any Pre-Release
  297.  
  298.           If  you  are currently running a pre-release version of Qedit, you
  299.           should replace it with this  new  official  release.   Pre-release
  300.           versions  expire  within two years of their creation date, whereas
  301.           this new release has no expiry date.  You can easily  recognize  a
  302.           pre-release  by  its  three-part version number (e.g., 4.5.24) and
  303.           the words "Pre-Release" next to the version number.
  304.  
  305.  
  306.    Summary of Installation Steps
  307.  
  308.           To install Qedit, follow these steps:
  309.  
  310.           1. You must log on as root.
  311.  
  312.           2. You must create the correct directory structure.
  313.  
  314.           3. You must restore Qedit/UX and its  associated  files  from  the
  315.              distribution tape.
  316.  
  317.           4. You  can  set  up a PATH for Qedit/UX or copy it to an existing
  318.              directory in your PATH.  (optional step)
  319.  
  320.           5. If you have the Qedit for Windows server, you need to start the
  321.              daemon process.  (optional step)
  322.  
  323.           6. You can install WinHelp documentation files.  (optional step)
  324.  
  325.  
  326.    Step 1:  Log On as Root
  327.  
  328.           There are two ways you can log on as root:
  329.  
  330.           a. Exit from HP-UX and log on with root as the user name.
  331.  
  332.           b. If you are already logged on, you can execute this command:
  333.  
  334.                   su -
  335.  
  336.           In  either case, you have to know and supply the user password for
  337.           root.
  338.  
  339.  
  340.    Step 2:  Create Robelle Directory
  341.  
  342.           Qedit/UX is  installed  in  the  /usr/robelle  directory.   Before
  343.           restoring  the  Qedit/UX  files, you must first create the Robelle
  344.           directory:
  345.  
  346.                mkdir /usr/robelle
  347.  
  348.  
  349.    Step 3:  Restore Files
  350.  
  351.           Use the following command to restore the Qedit/UX files  from  the
  352.           distribution tape:
  353.  
  354.                tar xv /usr/robelle
  355.  
  356.           Once  the files have been restored, you can run the new version of
  357.           Qedit/UX:
  358.  
  359.                /usr/robelle/bin/qedit
  360.  
  361.  
  362.    Step 4:  Setup PATH (optional)
  363.  
  364.           You can invoke Qedit with the following command:
  365.  
  366.                /usr/robelle/bin/qedit
  367.  
  368.           If you just type
  369.  
  370.                qedit
  371.  
  372.           to invoke Qedit/UX, you must either add /usr/robelle/bin  to  your
  373.           PATH  or  copy  /usr/robelle/bin/qedit  to  a  directory  that  is
  374.           currently on your PATH.  Similarly, the man pages  for  Qedit  are
  375.           found  in  /usr/robelle/man/man1/qedit.1.   To  make the man pages
  376.           available to everyone, you can either add /usr/robelle/man to your
  377.           MANPATH  or  you  can  copy  the  man pages to a directory that is
  378.           currently on your MANPATH.
  379.  
  380.  
  381.    Step 5:  Start the Qedit for Windows Server (optional)
  382.  
  383.           If you have the Qedit for Windows server software, you must  start
  384.           the  Qedit/UX  daemon process before any Qedit clients can connect
  385.           to your HP-UX machine.  To allow users to connect to the  Qedit/UX
  386.           daemon process, you must log on as root and issue this command:
  387.  
  388.                qedit -d
  389.  
  390.           The  Qedit  server  process requires three log files.  By default,
  391.           these files are located in the following directory:
  392.  
  393.                /usr/robelle/log/qedit/
  394.  
  395.           If you have moved Qedit to a different directory, you will have to
  396.           perform the following steps:
  397.  
  398.           1. Set  the  ROBELLE  environment  variable with the new directory
  399.              name before you start the Qedit server process.
  400.  
  401.           2. Make sure the new directory has exactly the same  structure  as
  402.              the /usr/robelle directory.
  403.  
  404.  
  405.    Step 6:  Install WinHelp Documentation Files (optional)
  406.  
  407.           The Qedit documentation for both MPE and HP-UX is now available in
  408.           the WinHelp format of Microsoft Windows.  You can only  use  these
  409.           files  if  you  have Windows 3.1 or later.  To install the WinHelp
  410.           files on a PC, follow these instructions.
  411.  
  412.  
  413.    Make a Temporary Directory for the Setup Program
  414.  
  415.           From either DOS or the File Manager, make a directory to which you
  416.           can  copy  the  installation files.  You can remove this directory
  417.           after installing the files.
  418.  
  419.                mkdir \robtemp
  420.  
  421.  
  422.    Download the Compressed File
  423.  
  424.           In the next step, download the self-extracting Zip  file  to  your
  425.           PC.   If you are using Reflection to download the Zip file, follow
  426.           these instructions.  The file on the HP 9000 is
  427.  
  428.                /usr/robelle/winhelp/qedhelp.exe
  429.  
  430.           From the /usr/robelle/winhelp directory, press Alt-Y to go to  the
  431.           Reflection  Command  Line  window.   Then download the file with a
  432.           binary transfer.
  433.  
  434.                receive c:\robtemp\qedhelp.exe
  435.                       from /usr/robelle/winhelp/qedhelp.exe binary
  436.  
  437.  
  438.    Expand the Compressed Files
  439.  
  440.           You only need the following commands to extract the files  because
  441.           we  provide  both  the  Setup  program  and  the Help files in one
  442.           self-extracting Zip file.  From the DOS prompt, type the following
  443.           commands:
  444.  
  445.                cd \robtemp          {go to the new Robtemp directory}
  446.                qedhelp.exe          {extract the Help files}
  447.  
  448.  
  449.    Run the Setup Program
  450.  
  451.           From  the  Program  Manager, run the Setup program by choosing the
  452.           Run option from the File menu.  Then enter c:\robtemp\setup in the
  453.           Command Line box and follow the instructions in the Setup program.
  454.  
  455.           You can now access all of the Qedit documentation by selecting any
  456.           of the icons in the "Robelle Help" Program Manager Group.
  457.  
  458.  
  459.    Remove the Robtemp Directory
  460.  
  461.           Before  you  remove  the  WinHelp  files,  you  can copy them to a
  462.           diskette and distribute them to other Qedit users.
  463.  
  464.           To delete all the WinHelp files and remove the Robtemp  directory,
  465.           use either the File Manager or the following DOS commands:
  466.  
  467.                cd \robtemp
  468.                del *.*          {delete all the files in Robtemp}
  469.                cd ..
  470.                rmdir robtemp    {remove the Robtemp directory}
  471.  
  472.  
  473.    Enhancements
  474.  
  475.  
  476.           Every  year  we  provide Qedit users with new features.  The major
  477.           enhancements  this  year  include  new   language   settings   for
  478.           PowerHouse,  C  and  C++, longer record length, and multi-rollback
  479.           Undo.
  480.  
  481.  
  482.    Modification Timestamp Stored in Workfile
  483.  
  484.           If you use the Text  command  to  copy  a  file  or  to  create  a
  485.           permanent  workfile, Qedit saves a modification timestamp.  If the
  486.           original file is then modified before you put your revisions  back
  487.           into  it  with the Keep command, Qedit displays two (2) additional
  488.           lines.  For example,
  489.  
  490.                Saved modification timestamp : 1997/03/26  12:29:11
  491.                File modification timestamp  : 1997/03/31  05:40:57
  492.  
  493.           The first timestamp shows you when you used the  Text  command  on
  494.           the  original  file.  The second timestamp shows you the time of a
  495.           subsequent modification to the original file by another  party  or
  496.           process.  Based on this information, you can make sure you are not
  497.           overwriting someone else's changes.
  498.  
  499.           Once you use the Text command on a file,  a  Verify  Keep  command
  500.           will show you the saved timestamp.
  501.  
  502.  
  503.    :Reflect Command
  504.  
  505.           WRQ's  Reflection  terminal emulator provides a powerful scripting
  506.           language known as Reflection Command Language (RCL).  You normally
  507.           use this language by switching to Reflection's Command Line window
  508.           (Alt-Y).  Reflection  also  supports  specific  escape  sequences,
  509.           allowing host applications to execute RCL commands.
  510.  
  511.           If  Qedit/UX determines that you are using Reflection, you will be
  512.           able to use the Reflect command.  You just prefix the RCL  command
  513.           with  the  Reflect  keyword.   Qedit/UX  will  pass the command to
  514.           Reflection.  If the command fails, Qedit will display Reflection's
  515.           error  code.   Among  other  things,  you  can  verify  Reflection
  516.           settings, change them, and even download or upload files.
  517.  
  518.               qux/reflect Verify Changed
  519.               qux/reflect Set Type-ahead Yes
  520.               qux/reflect Send myfile.txt to /users/mydir/myfile
  521.  
  522.  
  523.    ROBELLE Environment Variable
  524.  
  525.           Qedit looks for the files  it  needs  in  the  /robelle  directory
  526.           (normally  /usr/robelle).   For example, Qedit expects to find its
  527.           log files in a subdirectory called log/qedit.  It would expect  to
  528.           find the error log file in
  529.  
  530.                /usr/robelle/log/qedit/error.log
  531.  
  532.           which  is  the  default  full  path name of the error log.  If you
  533.           install Qedit in a directory other than /usr/robelle, you need  to
  534.           set  the  ROBELLE  environment variable to the new directory.  For
  535.           example,
  536.  
  537.                ROBELLE=/usr/robhome
  538.                export ROBELLE
  539.  
  540.           There are two limitations to the path name: the full path name  of
  541.           the  file must be no more than 36 characters, and the path name to
  542.           the /robelle directory must be no  more  than  20  characters.   A
  543.           slash  mark (/) is optional at the end of your ROBELLE environment
  544.           variable.  To set up the log files in the new directory, you  have
  545.           to  manually create the "log" subdirectory in the alternate search
  546.           path.
  547.  
  548.  
  549.    Screen Mode
  550.  
  551.           The following new features were added to Screen mode.
  552.  
  553.  
  554.    Ctrl-L to Mark Partial Lines
  555.  
  556.           When you press Ctrl-L  to  begin  marking,  Qedit  highlights  the
  557.           entire  line.  This means the whole line will be inside the marked
  558.           block, regardless of the horizontal location of your  cursor.   If
  559.           you  press  Ctrl-L  again, Qedit highlights only part of the line,
  560.           from the position of your cursor when you first pressed Ctrl-L  to
  561.           your current cursor position.  Press Ctrl-L a third time to cancel
  562.           your marked block.
  563.  
  564.  
  565.    Keypad-5 to Toggle Move-by-Words
  566.  
  567.           The toggle WordMove feature selects whether  the  left  and  right
  568.           cursor  keys will move by characters or by words.  This feature is
  569.           useful if you have a slow connection to your host machine.
  570.  
  571.           Press keypad-5 to switch to moving by word.  Qedit defines a  word
  572.           as  a  sequence  of  alphanumeric  characters  or  a  sequence  of
  573.           punctuation  characters.   For  example,  the  line  "if   (a==b)"
  574.           contains  six words: if, (, a, ==, b, and ).  Press keypad-5 again
  575.           to move by full words.  Qedit defines a full word as a sequence of
  576.           non-blank characters.  For example, "if (a==b)" contains these two
  577.           full words: if and (a==b).  Press keypad-5 once again to return to
  578.           move by single character.
  579.  
  580.  
  581.    Ctrl-R to Search and Replace Strings
  582.  
  583.           In Search and Replace, Qedit asks you three pieces of information:
  584.           the string to search for, the string  to  replace  with,  and  the
  585.           search  options.   The  search options are the same as the ones in
  586.           the Find String function, which is documented in  the  Qedit  User
  587.           Manual.
  588.  
  589.  
  590.    Undo Command Now Has Redo Option
  591.  
  592.           The  Undo  command  has  a  new  Redo  option.   If  there  is  an
  593.           immediately preceding Undo operation, the Redo option cancels  it.
  594.           To  check  for  a  pending Undo, use the Listundo command (it will
  595.           warn you).
  596.  
  597.           If you have done consecutive Undo operations, you can cancel  them
  598.           with  consecutive  Undo  Redo  commands.   Once  you do a non-Undo
  599.           command, you will no longer  be  able  to  cancel  preceding  Undo
  600.           operations.
  601.  
  602.  
  603.  
  604.    Qedit for Windows
  605.  
  606.  
  607.           Qedit  for  Windows  (QWIN)  lets  you edit local MPE/iX and HP-UX
  608.           files from a single MS Windows program.  It consists of a  Windows
  609.           editing  client  and  an  MPE/iX or HP-UX editing server that work
  610.           together to edit your host files for you.  To  take  advantage  of
  611.           Qedit  for  Windows,  you need both the Qedit client and the Qedit
  612.           server.
  613.  
  614.           Qedit  for  Windows  uses  the   popular   TCP/IP   protocol   for
  615.           communicating  between the client and the server (this is the same
  616.           protocol that you use to access the Web).  Configuring  the  Qedit
  617.           server  software  requires creating the correct TCP/IP environment
  618.           for Qedit for Windows.
  619.  
  620.  
  621.    Server Process
  622.  
  623.           Qedit clients can connect to Qedit/UX only if the Qedit/UX  daemon
  624.           process  is running (the Qedit/UX daemon process cannot be started
  625.           from inetd).  This process listens for connections on a registered
  626.           port  number  (described below).  To allow users to connect to the
  627.           Qedit/UX daemon process, you must log on as root  and  issue  this
  628.           command:
  629.  
  630.                qedit -d
  631.  
  632.           The  Qedit/UX  daemon process should always be running, so it is a
  633.           good idea to automatically start the daemon as part of the  system
  634.           startup  process.   On  HP-UX  9.0,  this  is  done  by adding the
  635.           following command to the file /etc/rc:
  636.  
  637.                /usr/robelle/bin/qedit -d
  638.  
  639.  
  640.    HP-UX 10.0
  641.  
  642.           On HP-UX 10.0,  you  do  not  modify  the  startup  shell  script.
  643.           Instead, you need to create a number of files.  You can choose any
  644.           name for these  files,  as  along  as  the  names  are  consistent
  645.           throughout the process.  In our example, we use qedit_server.
  646.  
  647.           You first need to create a control file in /etc/rc.config.d.  This
  648.           file sets a control variable that will be checked by  the  startup
  649.           script.   If  the  control  variable  is set to 1, the server will
  650.           start; if it is not equal to 1, the server  will  not  start.   We
  651.           will use QEDIT_SERVER as our variable name.  The /etc/rc.config.d/
  652.           qedit_server control file will now contain the following:
  653.  
  654.                # ****** File:  /etc/rc.config.d/qedit_server ******
  655.                # Qedit for Windows server configuration.
  656.                #
  657.                # QEDIT_SERVER:    Set to 1 to start
  658.                #                  Qedit for Windows server
  659.  
  660.                QEDIT_SERVER=1
  661.  
  662.           Next, you need a shell script that will actually start the server.
  663.           You should make a copy of a file called /sbin/init.d/template.
  664.  
  665.                cd /sbin/init.d
  666.                cp template qedit_server
  667.  
  668.           Modify  the  file  so  that  it contains the necessary commands to
  669.           start  the  server.   You  have  to  change  all  occurrences   of
  670.           CONTROL_VARIABLE to the variable name you used in the control file
  671.           (i.e., QEDIT_SERVER).
  672.  
  673.           You also need the execute command for the server program.   Insert
  674.           this  command  in  the  section  after  the  'start') string.  The
  675.           section looks like this:
  676.  
  677.                'start')
  678.  
  679.                      # source the system configuration variables
  680.                      if [ -f /etc/rc.config ] ; then
  681.                              .  /etc/rc.config
  682.                      else
  683.                         echo "ERROR: /etc/rc.config defaults file MISSING"
  684.                      fi
  685.  
  686.                      # Check to see if this script is allowed to run...
  687.                      if [ "$QEDIT_SERVER" != 1 ]; then
  688.                         rval=2
  689.                      else
  690.  
  691.                      # Execute the commands to start your subsystem
  692.                         /usr/robelle/bin/qedit -d
  693.                      fi
  694.                      ;;
  695.  
  696.           Finally, you need a symbolic link to specify when  the  script  in
  697.           /sbin/init.d  will be executed at boot time.  Typically, you would
  698.           start the server as the last step at run level 3.  Get a  list  of
  699.           all the startup files in /sbin/rc3.d with
  700.  
  701.                ls /sbin/rc3.d/S*
  702.  
  703.           Link  names  in  this  directory follow a set of conventions.  The
  704.           names start with the letter S or K.  S links are startup  scripts;
  705.           K links are shutdown or "kill" scripts.  The next three characters
  706.           in the name represent an execution sequence number.   This  number
  707.           must be 3 digits, and its value should be a number higher than the
  708.           highest value on the ls listing.  For example, if the last link is
  709.           called s100nfs.server, you could use s111qedit_server.  Create the
  710.           symbolic link with
  711.  
  712.                ln -s /sbin/init.d/qedit_server /sbin/rc3.d/S111qedit_server
  713.  
  714.           For the time being, you do not need a "kill" link.
  715.  
  716.  
  717.    Port Number
  718.  
  719.           By default, Qedit/UX listens  on  port  number  7395.   This  port
  720.           number  has been registered with the Internet Naming Authority, so
  721.           you should not have any conflicts with other HP-UX tools  for  the
  722.           same port number.  If there is a conflict, you can start the Qedit
  723.           server process with a different port number.  For example,
  724.  
  725.                qedit -d5678
  726.  
  727.           tells Qedit to listen to port number 5678 instead of  the  default
  728.           number  (7395).   If  you  change  the port number on the Qedit/UX
  729.           server, you must also change the port number on every Qedit client
  730.           to the same value (5678 in this example).  Client port numbers can
  731.           be changed in the Server dialog box of the Option menu.
  732.  
  733.           If you want listings from netstat and other  networking  tools  to
  734.           identify  the  port  number  as "qwin" instead of just "7395", you
  735.           have to change the /etc/services file  so  that  it  includes  the
  736.           Qedit port number.
  737.  
  738.                qwin    7395/tcp     #Robelle Qedit for Windows
  739.  
  740.  
  741.    Log Files
  742.  
  743.           The Qedit server can only communicate with Qedit clients.  To help
  744.           system managers see what is  happening  with  the  Qedit  process,
  745.           Qedit  for  Windows writes to three log files: the access log, the
  746.           error log, and the trace log.
  747.  
  748.  
  749.    Console Messages
  750.  
  751.           If Qedit cannot access any of its log files,  it  writes  the  log
  752.           message  to  the  system  console.   You  can  also enable console
  753.           logging with the Debug command in the Option  menu  of  the  Qedit
  754.           client.    If  someone  is  having  trouble  establishing  a  QWIN
  755.           connection and the Qedit log files on the host do  not  include  a
  756.           message  for  this connection, check the system console.  If Qedit
  757.           was unable to open the log files, it probably reported the message
  758.           on the system console.
  759.  
  760.  
  761.    Access Log
  762.  
  763.           Every  time  a  Qedit  client  makes  a  connection  to the server
  764.           process, an entry is written to the  access  log  file,  which  is
  765.           where  the  IP address of the client is logged.  Qedit attempts to
  766.           find the symbolic name of the client IP address  by  reverse  name
  767.           DNS  lookup.   If  this  lookup  is  not enabled, Qedit writes the
  768.           numeric form of the IP address to the log file.
  769.  
  770.  
  771.    Error Log
  772.  
  773.           Any error conditions encountered by the Qedit server  process  are
  774.           written  to  the error log file.  If you suspect a problem between
  775.           the client and the server, start your diagnosis by looking at  the
  776.           end of this log file.
  777.  
  778.  
  779.    Trace Log
  780.  
  781.           By  default,  Qedit  does  not log messages to the trace log file.
  782.           However, you can enable trace file  logging  by  using  the  Debug
  783.           command  in  the  Option  menu of the Qedit client.  The trace log
  784.           file can grow to become very  large  because  Qedit  messages  are
  785.           constantly   being   added   to  it.   These  messages  assist  in
  786.           understanding the communication between the Qedit  server  process
  787.           and  the  Qedit client.  In many cases, their detailed information
  788.           is the only way to diagnose a problem.
  789.  
  790.  
  791.    Log Filenames
  792.  
  793.           By default, the Qedit  server  assumes  that  the  log  files  are
  794.           located in this directory:
  795.  
  796.                /usr/robelle/log/qedit/
  797.  
  798.           You can change the default directory of the log files by using the
  799.           ROBELLE environment variable.  The three log files are called:
  800.  
  801.               access.log
  802.               error.log
  803.               trace.log
  804.  
  805.           Like most UNIX log files, these files will continue to grow  until
  806.           you  run  out of disc space.  We recommend archiving the log files
  807.           in  a  separate  directory  and  saving  them  each  week.   After
  808.           archiving, you can remove everything from the log files with these
  809.           commands:
  810.  
  811.                cp /dev/null  access.log
  812.                cp /dev/null  error.log
  813.                cp /dev/null  trace.log
  814.  
  815.  
  816.  
  817.    Bugs Fixed
  818.  
  819.           List Command.   A List command with the $pcl option now closes the
  820.           printer when running under Windows.
  821.  
  822.           List $pcl 10 correctly fills both columns on a page when used with
  823.           an attached printer ($record).
  824.  
  825.           The List command now properly parses the  $device  option  if  the
  826.           name of the specified device contains special characters.
  827.  
  828.           Qedit  no longer returns an error if the file path name contains a
  829.           directory called "lp."   For example,
  830.  
  831.                List /users/john/lp/myfile
  832.  
  833.           Screen Mode.   Clear to end of line  now  correctly  computes  the
  834.           line length.
  835.  
  836.           The Visual Last command now works in Screen mode.
  837.  
  838.           Keep  Command.    Hard  and  symbolic links are now preserved on a
  839.           Keep command.
  840.  
  841.           Keep and Shut Commands.   Qedit no  longer  replaces  an  existing
  842.           workfile that requires crash recovery.
  843.  
  844.           Undo  Command.   Canceling an Undo operation no longer removes the
  845.           entry from the Undo log.
  846.  
  847.           If you Shut the current workfile and then re-open  it  immediately
  848.           with Open *, you can now Undo your changes.
  849.