



                                    Notepad
                       Free Format Information Organizer
                                  Version 1.10


      Notepad is an application for entering, organizing, and viewing
      free-format and semi-structured information on the HP95LX palmtop
      computer.  It has the look and feel of the built-in applications and
      uses some of the same file formats.


      Overview

      Notepad deals primarily with text files, such as those produced by
      MEMO.  Notepad considers a text file to be composed of "pages,"
      which are separate by "pagebreaks."  A pagebreak can be inserted in
      a text file by the Pgbrk (F10) command in MEMO.

      Notepad has two ways to display a file: "Browse" and "Edit."  In
      Browse mode you get a brief overview of the file: the first line of
      each page is displayed in a scrolling list, similar to FILER or
      PHONE.  In this mode, you may cut, copy, or paste whole pages. In
      Edit mode, Notepad displays one page at a time.   You may scroll
      through and edit the page, similar to the capabilities of MEMO.

      Text files can be freely interchanged between Notepad and MEMO,
      subject to Notepad's page size limitations. Notepad adds several
      capabilities to MEMO: it provides the ability to view a file as
      pages, it adds other organizing operations such as the ability to
      hide pages selectively, it provides powerful searching commands, and
      it supports hypertext navigation.  In addition, Notepad can read and
      write files used by APPOINTMENT and PHONE, and can prepare files for
      input to 1-2-3.


      Basics

      Notepad initially enters Browse mode, which displays the first line
      of each page in a scrolling list. One line (called the "current
      line") is always highlighted. Commands such as Copy (F2) and Cut
      (F3) ordinarily operate on the current line. The Tag (F9) command
      allows you to tag one or more lines (as in FILER).  If there are any
      tagged lines, Copy (F2) and Cut (F3) operate on these lines, instead
      of on the current line. The Only (F6) command restricts the display
      to those pages matching a given pattern. The Goto (F5) command does
      an incremental search among the lines displayed in Browse mode.  The
      Find (F7) command searches for occurrences of patterns in the pages
      themselves.  Insert (F8) and Append (F10) commands allow you to add
      new pages.  Finally, you may edit one of the existing pages using
      ENTER.  By default, if you type in Browse mode, the system assumes
      you want to do the Goto (F5) command, and begins a search.

      In Edit mode, you can scroll within and edit one page at a time.
      The normal cursor movement characters are all supported.  Typing
      ordinary characters inserts them at the current cursor position.
      Fkeys can be used to search within the page, to move to the previous
      or following page, to make selections for Copy (F2) or Cut (F3), and
      to follow hypertext links to other pages.

      The collection of pages that is open in Notepad is referred to as
      the current "document."  If it had been read from a file, it is
      associated with a filename.  Any editing changes you make in the
      document are not written to the file until you give a command to do
      so.

      Menus, which are available in both Browse and Edit modes, are used
      to read and write files, to change option settings, and to do
      miscellaneous commands.

      The help system, which is always available as Help (F1), works
      similarly to the help commands in the built-in applications (see
      "Help").


      The Display

      The top three lines of the display are called the header.  They
      normally show the program name (Notepad), the time and date, the
      name of the file that was last read, the page number of the current
      page (in Browse mode) or the page number being edited (in Edit
      mode), and the number of pages in the document.  The third line
      separates the header from the rest of the document, and gives the
      mode (Browse or Edit).  Arrows indicate the presence of information
      above or below what is displayed.

      If the document has been changed since it was read from a file, a
      star (*) is displayed after the filename.  This indicates that the
      document needs to be saved to avoid loss of the changed information.
      In Edit mode, if the page has been changed a star (*) is displayed
      after the page number in the header.  When you return to Browse
      mode, the changes in the page are transferred to the document, and
      so the star moves over to the filename.

      The last two lines of the display are used for Fkey labels, as in
      other applications.


      Searching

      In Browse mode, there are several searching command. Only (F6) and
      Find (F7) accept patterns describing the information that is the
      target for the search, which may be anywhere in the page  (see
      "Search Patterns").  Goto (F5) accepts strings, which are matched
      against the page summary line.

      Only (F6): only those pages matching the pattern are made visible.
          The match may occur anywhere in the page.
      Find (F7): moves the current page (the highlight) to the next page
          containing a match.
      Goto (F5): moves the current page to the first one whose page
          summary matches the string entered.  The search is performed
          after each character typed.  The Goto (F5) command requires that
          strings match from the beginning, and is insensitive to upper
          and lower case differences.

      When a pattern is being entered for the Only (F6) command, two
      modifier commands are available.  Normally, each time the Only (F6)
      command is given, all pages are searched.

      And (F3): restricts the search to those currently visible.  In
          effect, it "and"s the pattern with the last one used.
      Or (F5): retains all pages currently visible, and adds any pages
          matching the pattern that are currently hidden.  This "or"s the
          pattern with the last pattern.
      Clear (F6): clears the pattern.  This can be used to make all pages
          visible.

      When a pattern is being entered for the Find (F7) command, two
      modifier commands are available.

      Next (F7): causes the search to start at the page after the current
          page, rather than at the current page itself.  This allows you
          to find successive matches quickly, since you do not have to
          retype the pattern each time.
      Prev (F5): searches backwards, so you can find preceding instances
          of the pattern.


      Search Patterns

      Search patterns for Only (F6) and Find (F7) are constructed
      according to the following rules.  Searching is affected by the
      setting of the exact-match flag, described later.  By default,
      letters must match exactly.

      1.  Any character matches itself, except for the special characters
           ()[ . and sometimes ^ * and $.  If the exact-match flag is not
          set, upper case letters match corresponding lower case letters.
      2.  The dot . is a "wild card" and matches any (one) character.
      3.  The backslash \ can be used to quote special characters: \
          followed by any character matches that character.
      4.  Character classes: a string enclosed in brackets [str] matches
          any character in str.  The match may be negated: [^str] matches
          any character not in str.  A string of the form a-b, when used
          in brackets and where b is "above" a in ASCII, stands for all
          characters between a and b inclusive.
      5.  Any of the preceding patterns followed by star * matches zero or
          more repetitions of the pattern.
      6.  Patterns of the above form may be concatenated.
      7.  If a pattern begins with ^, the match must begin at the start of
          the line.  If the pattern ends with $, it must match at the end
          of the line.


      Tags

      A tagged page is displayed as a diamond at the beginning of the page
      summary line.  The Copy (F2) and Cut (F3) commands operate on the
      tagged pages, if there are any, otherwise they apply to the current
      (highlighted) page.  Several Fkey commands are used to manipulate
      tags.  Most of them are available by holding ALT while typing the
      function key.

      Tag (F9): toggles the tag on the current page.
      Vis (Alt F2): tags all visible pages.
      Down (ALT F3): tags the current page and all following pages.
      Up (ALT F4): tags the current page and all preceding pages.
      All (ALT F5): tags all pages.
      None (ALT F6): removes tags from all pages.
      Hide (ALT F7): hides all tagged pages; in other words it shows only
          untagged pages.  The hiding uses the same mechanism as the Only
          (F6) command, and overrides any previous pattern.
      Show (ALT F9): Shows only tagged pages; it hides the rest.  To see
          both tagged and untagged pages again, you can use the command
          sequence All (ALT F5) Show (ALT F9) or None (ALT F6) Hide (ALT
          F7).
      Chng (ALT F10): toggles all tags.
      Back (ALT F8): hypertext command (see "Hypertext").


      Edit Commands

      In Edit mode, a single page is available at a time. Any blank lines
      that might be at the end of a page are discarded, and the cursor is
      permitted to travel only within the actual text of the page.  You
      can insert text anywhere in the page. The usual set of editing and
      navigation commands are provided. Standard navigation commands are
      available through the arrow keys, the shifted arrow keys, and the
      control-arrow keys. Mark (F9), Copy (F2), Cut (F3), and Paste (F4)
      are consistent with similar commands in MEMO. Typing CTRL-D inserts
      the current date, CTRL-T inserts the current time, and CTRL-B
      inserts both date and time into the document at the current point.

      As mentioned before, when you are editing a page, the changes are
      not incorporated into the document until you leave the page. You can
      return to Browse mode without saving the changes by typing ESC. Done
      (F10) returns to Browse mode and incorporates the changes in the
      document.

      There are several Fkey commands for moving between pages and
      changing the page structure in Edit mode.  When moving out of a
      page, except when using ESC, the page is saved.

      Down (F5): moves to the next page without returning to Browse mode.
      Up (F6): moves to the previous page without returning to Browse
          mode.
      Join (ALT F2):  joins the current page and the next page by
          appending the contents of the next page to the end of the
          current page, and then deleting the next page.
      Down-Split (ALT F3):  splits the current page into two pages. The
          part of the page before the cursor becomes the first page, and
          the part after the cursor becomes the second. After the
          operation, the you are at the beginning of the second page.
      Up-Split (ALT F4):  splits the current page like Down-Split (ALT F3)
          except that afterwards you are at the end of the first page.
      Down-New (ALT F5): creates a new page after the page being edited,
          and moves to Edit mode on it.
      Up-New (ALT F6): create a new page before the page being edited, and
          moves to Edit mode on it.
      Jump (F8): hypertext command (see "Hypertext").
      Back (ALT F8): hypertext command (see "Hypertext").



      Outlining

      The pages of a document can be thought of as being at different
      levels in an outline.  The page summary line is used as the outline
      topic heading.  The heading "level" is determined from the
      indentation of this heading.  A heading that starts in the first
      column is a top-level heading.  A heading that starts in the second
      column is a second-level heading, and so forth.

      There are several ways you can manipulate pages in Browse mode based
      on their outline level. The outline commands are only available if
      you enable them through a Notepad setting (see "Outline Settings
      Menu").  Note: outlining is currently available to registered users
      only.

      Levl (ALT F2): Hide headings "below" the given level.  If you enter
          anything but a number, all levels will be shown.
      Promote (ALT F3): Promotes the current page (or all tagged pages) by
          deleting one leading space.  If you are using  your own page
          summary, this may not be the first thing in the page.
      Demote (ALT F4):  Demotes the current page (or all tagged pages) by
          adding a leading space.  Again, if you are using a page summary,
          the space that is added may not be at the beginning of the page.
      Tag-Sub (ALT F5): Tags the current page and all pages following it
          that are at a level below it.  To demote a whole subtopic, you
          can use this command followed by the Demote (ALT-F4) command.

      When you print the document (see next section) you may have section
      numbers added to the printed output.  This is controlled by a a
      Notepad setting.  If section number are printed, they are added to
      the beginning of the first line of the section, which may not be the
      same as the page summary.



      Printing

      You may print all or part of the current document using the Print
      menu. If any of the pages are tagged, only those pages are printed.
      Otherwise the whole document is printed.  Each page of the document
      is separated by a separator string.  You may print to a file or to
      the printer. If you print to the printer, you can interrupt printing
      by typing ESC.  If you print to a file, you will be asked for a file
      name. Exactly the same information is generated whether you print to
      a file or to the printer.  Margins and the page separator are given
      by Print Settings (see "Print Settings Menu").

      Note: printing is currently available to registered users only.


      Help

      You can get information on the commands in the current context by
      using the function key F1.  Once you are in the help system, you can
      obtain information on various topics.  The highlighted areas of the
      display are links to other topics.  You may move the cursor to one
      of these areas (using the arrow keys, TAB or SHIFT-TAB) and press
      ENTER to move to the corresponding topic.  The BACKSPACE key will
      return to the previously-displayed topic.  Finally, ESC will leave
      the help system.


      Phone and Appointment Book Conversion

      Notepad normally reads and writes text files. It also understands
      the phone and appointment book file format used by PHONE and APPT.
      This allows you direct access to your phonebook and appointments
      without having to do manual file conversions. Notebook's powerful
      searching, subsetting and hypertext capabilities might enhance some
      uses of the phone book or appointment book.

      Notepad determines if a file is a phone or appointment book by
      examining its contents and its extension (PBK and ABK).  These files
      are converted to text for editing, and are converted back to
      internal form if the PBK or ABK extension is used.  If one of these
      files is stored with a different extension, it is stored as a text
      file.


      PCX Images

      Notepad can read images in PCX format.  Each image must be stored in
      a separate file, images must be in one-bit format, and the images
      may only be viewed, not edited.  Notepad determines that a file
      contains an image from the file's contents and its extension (PCX).
      When an image is being displayed, the following keyboard commands
      are active.

      Arrow keys:  scrolls the image around the screen, if it is too large
          to display fully.
      Help (F10): displays help.
      Invert (F10): Inverts the bits (exchanges white and black) in the
          display.
      Back (ALT F8): hypertext command (see "Hypertext").
      Menu: removes the displayed image from the screen and displays a
          command menu.
      ESC: removes the displayed image from the screen and prompts the
          user to enter another file to edit.


      Delimited File Conversion

      Notepad can read databases stored as delimited files.  In such a
      file, each page (record) is stored as a single line.  Each line is
      made up of fields, which are separated by delimiters (default TAB).
      The first line consists of field labels, again separated by
      delimiters.  The field labels are used to make up the template,
      which is supplied for each of the following pages (records). Textual
      fields may optionally be enclosed in quotes (see "Notepad Data
      Settings Menu").  This makes it possible to use 1-2-3's
      File/Import/Numbers command to read the file into a spreadsheet.
      The file flags "Fields" and "Omit-Labels" are set automatically (see
      "File Data Settings Menu").

      A file is read or written in delimited form if the filename ends in
      the extension ".DB", or if it is read or written with the commands
      File/Open-Data or "File/Save-Data" (see "File Menu").  Be careful if
      you are not using the default extension for delimited files, because
      if you read a delimited file with the ordinary File/Open command or
      write an ordinary text file using File/Save-Data, you will probably
      not achieve the desired result.


      File Settings

      File settings are settings that are saved with text files. File
      settings are saved in the first page, which must begin with the line
      "Notepad settings".  If the first page does not start with this
      line, then no file settings are written (or read).  You may use the
      command Other/Add-File-Settings to add such a page to the document.
      This page is automatically hidden when the file is read.



      File Encryption

      You may encrypt a file using a password that you assign, or by using
      the HP95 power-on password. Passwords work as follows: when a file
      is written, the password is used to encrypt the file contents, so
      that it is unintelligible; when the file is read into Notepad the
      same password will decrypt it.  The encryption scheme is a variant
      of the DES (Data Encryption Standard), so if you forget the
      password, you will not be able to recover the file contents.

      You may choose between two styles of protection. The best protection
      is to assign each file a (different) password. Before an encrypted
      file is read into Notepad, you will be asked to supply this
      password. If you supply the wrong password, the file will read in,
      but will be gibberish.  Another choice is to use the HP95 power-on
      password (see page 1-14 of the HP95LX Users Guide). If you choose
      this option, you will never have to enter a password: the file will
      be encrypted and decrypted automatically.  This option will not
      protect your information if someone has your machine and can get
      past the power-on password, but it will prevent anyone without your
      machine from reading files on your RAM cards.  If you disable the
      power-on password, you will have to enter it when you read the file.
      If you change the power-on password, your files will not decrypt
      properly.

      You enable password protection on a file using the File Settings
      menu.  You must supply the password twice, to make sure you entered
      it correctly.  As long as the setting remains in force, the file
      will be protected with that password.

      The fact that the file is protected by a password is noted in the
      file settings section. Thus when you write a password protected file
      you should always include a settings page. If you neglect to do so,
      you will not be asked to supply a password when the file is read,
      and the file will be unintelligible. Here is how you can recover the
      file contents:

      1.  Open the file.  You will see gibberish.  Add a settings page
          (Other/Add-File-Settings) to the file.  Do set the password
          flag.  Save the file.
      2.  Using MEMO or some other text editor, add the line "Password: Y"
          as the second line of the file.  the first line should read
          "Notepad settings".  Save the file.  Make sure you type this
          exactly as shown.
      3.  When you read the file into Notepad, it should ask for the
          password.

      Note: file passwords can only be set by registered users, but anyone
      can read password protected files.


      Templates

      You may create a new page by Insert (F8) or Append (F10) in Browse
      mode, or by Up-New (ALT F5) or Down-New(ALT F6) in Edit mode.
      Ordinarily, this creates a blank page. You may specify a template
      that will be used to form each new page.  The template is composed
      in a separate file and read into Notepad through a command in the
      settings menu.  It is then stored in the file settings (see "File
      Data Settings Menu").  The information in the template becomes part
      of the page, but you can use the Omit flag to control whether
      protected fields (see "Protected Field Labels") are written to the
      file.

      Use caution when using template in conjunction with omitted labels
      (see "File Data Settings Menu").  Templates can be any text at all,
      but field labels must have a particular form.  When field labels are
      removed as the file is written, only valid field labels are omitted.
      But when the file is read in, whatever is in the template is added
      back in. If the template contains text other than the field label,
      this extra text will accumulate each time the file is saved and read
      back in.


      Read Only Files and Documents

      In DOS, a file may have the attribute "read only."  Any attempts to
      change the file will result in an error.  If Notepad reads such a
      file, it disables all commands that could change the file: Cut (F3),
      Paste (F4), all page editing commands, etc.  While Notepad is
      operating on a read-only file, the at sign @ is displayed after the
      filename.  This capability may be used to set up a file designed for
      information retrieval, so that it is not inadvertently changed. If
      you want to change a read-only document, you may use the
      Settings/File/Misc/Read-Only command, or you may save the document
      under a different name and then edit it.


      Protected Field Labels

      Protected field labels may be used to structure information within a
      page.  A protected field label consists of a string of alphabetic or
      numeric characters (including the underscore character and the
      hypertext brackets), followed by a colon (no spaces).  You cannot
      move the cursor into a protected field label, or delete part of it
      (although you can delete the whole field using Mark mode).
      Protection of field labels is enabled by a file setting (see "File
      Data Settings Menu").  Unless this is enabled, field labels are
      treated like ordinary text.

      When protected field labels are in effect, the TAB key is redefined.
      Instead of inserting enough spaces to move to the next tab stop, it
      moves to the next field.  Similarly SHIFT-TAB moves to the previous
      field.

      Templates can be used together with protected field labels to manage
      structured information.  You can store the field labels in a
      template, so that each page would automatically contain the labels.
      When phonebook and appointment files are read, they make use of
      protected field labels.

      You can avoid storing field labels when you save the document to a
      file, using a file setting.  As the file is written, all field
      labels are removed.  As the file is read in, the field labels are
      restored from the template.  Be careful with this option, because
      unless every page of the document has the same labels as the
      template, you will not be able to restore the document as it was
      when it was written.



      Mail Merge

      You may use the text following a protected field label to fill in
      fields in another file.  This is often referred to as "mail merge"
      because it can be used to fill in form letters with data in a
      structured file.  In this discussion, I will refer to three files:
      the data file, which contains fields and values such as names and
      addresses; the form file, which contains the form letter; and the
      output file, which will contain as many filled-out copies of the
      form as there are pages in the data file.

      The data file should be the current document when you give the
      Other/Merge command.  You are asked for the names of the form file
      and the output file.  Neither the current document nor the form file
      is modified.

      The form file should be the form letter you want filled out. The
      parts to be supplied from the data file consist of field labels
      enclosed by angle-quotes, which will be represented here by << and
      >>. (Angle-quotes can be produced by typing CHAR-1 and CHAR-2.)  The
      field label in angle-quotes is replaced by the corresponding field
      value from the data file.  The field value starts from the end of
      the field label and goes to the beginning of the next field label,
      so you may substitute several lines.  For example, if the data file
      contained:
          Name: John Smith
          Address: 123 Winding Way
          Hometown, NY
       and the form file had the line:
          <<Address>>

          Dear <<Name>>,
      the output file would have the line:
          123 Winding Way
          Hometown, NY

          Dear John Smith,

      Some checking is done to the form file before any substitutions are
      made: if there are over 40 fields, or if any field label is over 40
      characters, or if a field label goes over multiple lines or has no
      closing angle-quote, no output file is generated. If the resulting
      form (with replacements) is over 1000 characters, no output is
      written (for that record). If a field label in the form file does
      not match a field of some particular record in the data file, then
      the replacement is not made.  Since each record may have different
      field labels, this may happen for some records and not others.  You
      will be warned if some records are skipped or if some fields were
      not replaced.

      Note: mail merge is available to registered users only.


      Page Summary

      The page summary is normally the first 39 characters of the first
      line of a page.  You can optionally make the page summary out of
      pieces taken from several lines in the page.  The resulting page
      summary determines what you see in Browse mode, and what the Goto
      (F5) command matches.

      Using the Settings/File/Summary/Page-Summary command, you may enter
      a list of line numbers and separators to be used to generate the
      page summary.  Each line number may optionally be followed by the
      starting column number or the starting and ending column numbers, in
      parentheses.  If column numbers are supplied, only the given portion
      of the line is used to make up the page summary. A single character
      separator, enclosed in single quotes ('), may be specified.  It may
      be followed by a count, in parentheses, indicating the number of
      columns of separation requested.

      For example, say you enter "1 (6-26) ' ' 2 (9-28)" at the Page
      Summary prompt.  This would mean that the page summary would be made
      up of character positions 6 through 26 of the first line, followed
      by one space, followed by positions 9 through 28 of the second line
      in each page.


      Sorting

      The Other/Sort command sorts the pages within the current document.
      The relative order of pages is determined by a sort summary, which
      is similar to the page summary.  You may store up to five sort
      summary specifications with a file, so that you can easily reorder
      the file different ways. You must specify which sort summary to use
      when you give the sort command.  If you specify sort summary zero,
      the page summary is used instead.  The file settings page, if any,
      is never sorted.

      In a sort summary, the field separator character is used to modify
      the sorting method, rather than to separate fields. When a field
      separator character is given, it applies to the following field and
      all subsequent fields.  The following characters can be used  to
      control the sorting of a field:

      c   Character -- characters are ordered using the native ASCII
          encoding.
      a   Alphabetic -- characters are sorted in alphabetic order, with
          upper, lower, and internation equivalents being mapped together.
          Numbers sort above alphabetic characters, and other characters
          above that.  The space character sorts before anything else.
      n   Numeric -- the field is converted to a number and then compared
          numerically.
      d   Date -- the field is converted to a date and compared.  The date
          is parsed according to the current settings given by SETUP.
      Use an upper case letter to reverse the sense of the sort order.
      Thus "N" corresponds to reverse numeric sorting. For example the
      sort summary of "'d' 1 (1-10) 'N' 2 (1-3) 'c' 4 3" would correspond
      to sorting by date on the first 10 characters of line 1, then (if
      two items are equal) by reverse numeric sort on the first three
      characters of line 2, then by the ASCII order in lines 4 and 3
      respectively.


      Hypertext

      Hypertext is a way of quickly moving from one place to another
      within a document or in another document.  Notepad incorporates a
      simple form of hypertext.  In addition, it can interpret hypertext
      files created for Hyper X, a shareware hypertext system for the
      HP95LX.

      A hypertext "token" is a word or phrase enclosed in angle-quotes,
      which will be represented here by << and >>. Angle-quotes can be
      produced by typing CHAR-1 and CHAR-2. The token may occur anywhere
      in a page, and represents a linkage to a page somewhere else.  In
      Edit mode, you can move the cursor to the next token by typing ALT-
      TAB.  You can also move the cursor to a token by using the arrow
      keys.  If a token contains a colon (:), the part before the colon is
      called the "file token" and the part after the colon is called the
      "page token."  If the token does not contain a colon, the token is
      used as a page token, and there is no file token.

      When you place the cursor within a token and give the Jump (F8)
      command, Notepad moves to a page in the same file, or in a different
      file, determined by that token. If the cursor is not within a token,
      you will be prompted to type one.

      You can also make a jump by typing one of the Fkeys CTRL-FKEY1
      through CTRL-FKEY10. The token assigned to each Fkey can be assigned
      through Notepad settings (see "Notepad Hypertext Settings Menu") and
      file settings (see "File Hypertext Settings Menu").  Fkeys assigned
      as Notepad settings are independent of the file being edited, and
      remain in effect through multiple sessions.  Fkeys assigned as
      hypertext settings are associated with a particular file.  If an
      Fkey is assigned both a Notepad setting and a hypertext setting, the
      hypertext setting is used.  Since external links are associated with
      files, it is best not to use them in Fkeys assigned as Notepad
      settings (use a path name instead).

      Several rules govern how Notepad finds the destination page given
      the token.

      1.  If there is an external link corresponding to the file token,
          the file named by this link is opened.  The file's external link
          is preferred to the Notepad external link if there is a
          duplicate.
      2.  If there is no external link corresponding to the file token,
          the token itself if used as a filename, and the file is opened.
      3.  If there is a file token, but steps (1) and (2) fail to open a
          file, then the jump fails and Notepad remains where it was..
      4.  If there is no file token, the jump takes place within the same
          file.
      5.  The hypertext summary, if any, or the page summary is used to
          generate a summary line for each page.
      6.  The page token is used as a search pattern (see "Search
          Patterns"), and is matched against these summary lines.  The
          first page in which the page token matches is the destination of
          the jump.
      7.  If a destination is found, Notepad remains in Edit mode on the
          destination page.  If no match is found and Notepad has not
          changed files, it remains where it was.  But if it has changed
          files, Notepad returns to Browse mode in the new file.

      As a jump is made, the file, starting page, and position within the
      page is recorded.  Back (ALT F8) returns to this file, page, and
      position. These return pointers can be stacked up to 15 levels.  Be
      careful if you edit the document and change the page numbers or
      positions: you may not return to where you started.


      Hypertext Settings

      A group of settings allows you to control additional aspects of
      hypertext.  These settings may be saved with the file (if you have a
      file settings page) or with Notepad (see "File Hypertext Settings
      Menu") and "Notepad Hypertext Settings Menu").

      Hypertext-Summary: similar to the page summary, the hypertext
      summary consists of line numbers and option column ranges.  It is
      used to form a summary line for matching against page tokens.  If
      you do not specify a hypertext summary, the page summary will be
      used.  This is provided separately so you can control hypertext
      jumps separately from the information shown in Browse mode.

      Token:  Tokens are normally surrounded by angle-quotes.  If set,
      this flag allows single words (surrounded by spaces) to be
      recognized as tokens, even if they are not surrounded by angle-
      quotes.

      Start:  If a start token is defined, then whenever the file is read
      (when Notepad starts, or when a file is opened) the page
      corresponding to the start token is displayed in edit mode.  If no
      start token is defined, then the file is displayed in browse mode,
      as usual.

      Fkey: You may assign tokens to the Fkeys.  When you type CTRL-F1
      through CTRL-F10, the result is the same as doing a Jump (F8) to the
      label associated with the given Fkey.  This is available as both a
      Notepad setting and as a file setting.

      Extern-link:  This provides a way to link to other files.  An
      external link defines a token and a pathname.  When you jump to a
      token that is defined as an external link, the current file is
      closed and the file specified by the pathname is opened.  External
      links allow a Jump to take you to a different file.  These are
      available both as Notepad settings and as file setting.



      Hyper X

      The Hyper X application provides similar hypertext navigation
      functions as Notepad.  In addition, it uses the same page, token,
      and label structures.  Hyper X stores its start token, its Fkey
      tokens, and external links in the first page, although they are in a
      different format than the Notepad settings.  Because of these
      similarities, Notepad accepts Hyper X files, and provides its full
      hypertext capabilities for them. Hyper X files are recognized by the
      extension "HYP".

      When Notepad reads a Hyper X file, it reads the settings from the
      first page, and hides the page.  You may use the Only (F6) command
      to show the page.  If you edit this page, the changes you make will
      not be recognized.  Furthermore, changes you make using the menu
      commands will not be used to update the settings on the first page.
      If you want to edit these settings you may (1) edit the Hyper X
      first page, write the file, and re-read it; or (2) save it with an
      extension other than "HYP", delete the first page, add a settings
      page, and edit the hypertext settings using the menus.


      File Menu

      The File menu is similar to that in MEMO.  However, if you type
      Control-L when prompted for a file, Notepad supplies the name of the
      last file you used.  This can be used to quickly switch between two
      files.

      Open: opens an existing file and reads it.  The document you are
          currently using is not saved.  If you have unsaved changes, you
          will be asked if you want to proceed without saving them.
      Save: saves the current document into a file.  You may use the
          existing filename (if there is one) or save to a different file.
          When you select a filename that already exists, you are giving
          the option of replacing the file or appending to it.  Use
          caution when appending to a file, because the settings page
          could wind up in the middle of a file, where it would not be
          effective.
      New: starts on a blank document.  The document you are currently
          using is not saved.  If you have unsaved changes, you will be
          asked if you want to proceed without saving them.  Since a new
          document has no pages, you will probably want to start out using
          the Insert (F8) or Append (F10) command.
      Insert: merges information in the current document with that in the
          file given as part of the command.  Pages from the file are put
          at the end of the document, but may be moved around later.
      Refresh: rereads the existing file.  You would use this command when
          the file changes while you are using Notepad, and you wish to
          update the document to reflect the file.
      Update: saves the current document into the existing file, without
          prompting.
      More: allows access to additional file commands.
      Visible-Save: saves only the pages that are currently "visible."
          The Only (F6) command is used to show only pages matching a
          specified pattern.  Normally the Save command saves all pages,
          whether they are visible or not.  The Visible-Save command only
          writes the pages that are selected by the pattern.  This
          provides a way to select and save subsets of a document.
      Tagged-Save: like Visible-Save,  saves a subset of the pages.  This
          command saves only those pages that are tagged.
      Open-Data: opens an existing file and reads it in delimited form.
      Save-Data: saves the document in delimited form.


      Settings Menu

      The settings menu is used to set or reset options.  The settings are
      divided into Notepad (global) settings and file settings.

      Notepad settings  apply to the program as a whole and are preserved
      across program invocations.  File settings apply to a single file.
      They are saved and restored with the file if it has a settings page.


      Notepad Hypertext Settings Menu

      Fkey: specifies tokens for each Fkey.  When CTRL-1 through CTRL-10
          is pressed, an implicit Jump to the corresponding Fkey token is
          made.
      Extern-link: specifies a token and a pathname.  When the given token
          is used as a Jump destination, the current file is closed and
          the file at the given pathname is opened and displayed.  There
          may be several token/pathname pairs.  If you enter the name of
          an existing link, and an empty pathname, the extern link record
          is deleted.


      Notepad Data Settings Menu

      Delimiter: sets the delimiter that is used to separate fields when
          reading or writing a delimited file (see "Delimited File
          Conversion").
      Quote: requests quoting textual items when writing delimited files.
          Numeric fields are not quoted.  Use this flag with a delimiter
          such as semicolon and the File/More/Save-Data command to write
          data that can be read into 1-2-3 using its File/Import/Numbers
          command.


      Outline Settings Menu

      Keys: turns on or off outlining.  This mode determines whether the
          ALT Fkeys give the tag commands or the outline commands in
          Browse mode.
      Char: sets the outline character.  Lines that start with this
          character are at lower outline levels.  The default character is
          a space.
      Print-Number: turns on or off printing of outline section numbers.


      Print Settings Menu

      Left: specifies the number of characters to leave for the left
          margin.
      Right: specifies the last character position to print into.
      Top: specifies the number of lines to skip at the top of the page.
      Bottom: specifies the number of characters to skip at the bottom of
          the page.
      Page-Length: specifies the page length.  This should match the paper
          you are using.  The number of lines printed on each page is the
          page length minus the top and bottom margins.
      None: specifies no margins.  This is useful for printing to files,
          where no additional formatting is desired.  Note that lines are
          still limited to 240 characters.
      Default: specifies default settings for the margins, suitable for
          the printer.
      Separator: specifies the string used to separate pages.  If you want
          each page of the document to appear on a separate page, enter
          the page break character by typing CTRL-L. If you enter an empty
          string, the pages will be printed without separation. You may
          enter any string (up to 40 characters).


      Notepad Misc Settings Menu

      Break-Paragraphs: allows page boundaries to be defined by paragraphs
          in addition to pagebreak characters.  A new paragraph starts
          with text following two or more newline characters, or with a
          space or tab following a single newline.  When this flag is set,
          Notepad can generally deal sensibly with text documents that
          have not been prepared with pagebreaks.  When writing a
          document, Notepad uses the same conventions for delimiting a
          page as it had when it was read.
      Show-Pathname: causes the full pathname of the file to be shown in
          the heading, rather than just the filename.  If the pathname is
          too long to fit, it is abbreviated by replacing part of it with
          ellipses ("...").  This flag remains in effect until changed,
          and is not stored with the file.
      Exact-Match: affects matches in search patterns.  If the flag is
          set, then upper and lower case letters are distinct, and must
          match exactly.  If it is not set, upper and lower case letters
          match each other.
      Default-Filename: the filename used when opening or saving files.
          This should normally be "*.TXT", but you can change it to be
          another value that you use frequently.


      File Hypertext Settings Menu

      Token: controls whether hypertext tokens must be surrounded by
          angle-brackets.
      Start: specifies a token used to identify the page to display when
          the file is opened.
      Fkey: specifies tokens for each Fkey.  When CTRL-1 through CTRL-10
          is pressed, an implicit Jump to the corresponding Fkey token is
          made.
      Extern-link: specifies a token and a pathname.  When the given token
          is used as a Jump destination, the current file is closed and
          the file at the given pathname is opened and displayed.  There
          may be several token/pathname pairs.  If you enter the name of
          an existing link, and an empty pathname, the extern link record
          is deleted.


      File Data Settings Menu

      Template: allows you to specify a file, whose contents will be used
          as the template for newly-created pages.  Templates may be used
          to facilitate creating structured information (see "Templates").
      Field-Protect: allows you to turn on and off field protection (see
          "Protected Field Labels").
      Omit-Labels: allows you to save a file with or without the field
          labels.  If you save the file without the labels, they are
          restored from the template when the file is read in.  Omitting
          the labels makes the file smaller, but it means that every page
          must have the same labels.


      Summary Settings Menu

      Page-Summary: allows you to select the lines used to make up the
          page summary shown in Browse mode.  By default, the first line
          of the page is used (see "Page Summary" for information on how
          to enter this information).  The page summary affects the
          display shown in Browse mode as well as the Goto (F5) command.
      Sort-Summary: similar to the page summary, this governs how the
          lines that are compared when sorting are formed.  If no sort
          summary is given, the page summary is used instead.


      File Misc Settings Menu

      Password: allows you to enter a password for a file.  You may choose
          to enter a password, or use the power-on password.
      Break-Paragraphs: similar to the corresponding Notepad setting,
          governs whether paragraphs can be used to break pages.
          Paragraph breaks are used if either the Notepad setting or the
          file setting is enabled.
      Read-Only: prevents the document from being changed.  Set
          automatically from the DOS "read only" attribute, but may be set
          or reset with this command (see "Read Only Files and
          Documents").


      Other Menu

      The Other menu contains miscellaneous commands.

      Add-File-Settings: adds a file settings (see "File Settings") page
          at the beginning of the document, if one is not already present.
          You could enter the page manually: this command just makes the
          process easier and less error-prone.
      Merge: performs a mail merge with the current document supplying the
          fields.  The command prompts for a form file and an output file.
      Sort: sorts the pages, using the collating order specified in the
          international sort setting in SETUP, applied to the sort summary
          lines.
      Register: allows you to enter your registration string, which you
          obtain when you register your copy of Notepad.  After you have
          entered a valid registration string, Notepad starts up more
          quickly, displays the date and time in the headers, and allows
          advanced features.
      Version: shows the version number of Notepad.
      Info: shows internal information.



      Menu Summary

          File Settings Print Other Quit
           |    |        |       |
           |    |        |    Add-File-Settings Sort Merge Register
           |    |        |    Version Info
           |    |        |
           |    |       File Print
           |    |
           |   Notepad File Show
           |    |       |
           |    |      Hypertext Data Page-Summary Sort Misc
           |    |       |         |                      |
           |    |       |         |           Password Break-Paragraphs Read-Only
           |    |       |         |
           |    |       |        Template Field-Protect Omit-Labels
           |    |       |
           |    |      Hypertext-Summary Token Start Fkey Extern-Link
           |    |
           |   Hypertext Data Outline Print Misc
           |    |         |    |       |     |
           |    |         |    |       |   Break-Paragraph Show-Pathname Exact-Match
           |    |         |    |       |   Default-Filename
           |    |         |    |       |
           |    |         |    |       |
           |    |         |    |      Left Right Top Bottom Page-Length
           |    |         |    |      None Default Page-Separator
           |    |         |    |
           |    |         |   Keys Char Print-Number
           |    |         |
           |    |        Delimiter Quote
           |    |
           |   Fkey Extern-Link
           |
           |
          Open Save New Insert Refresh Update More
                                              |
                    Visible-Save Tagged-Save Open-Data Save-Data



      Installation

      The distribution consists of:
      NOTEPAD.EXM         the application,
      NOTEPAD.HLP         the help file,
      NOTEPAD.TXT         documentation, can be printed,
      NOTEPAD.NP          documentation in Notepad format,
      APNAME.LST          sample hot-key definition.
      READ.ME             table of contents and instructions
      CHANGES.TXT         summary of changes since last version

      The application NOTEPAD.EXM may be installed anywhere, but its
      pathname must be given in APNAME.LST.  The help file NOTEPAD.HLP
      should be installed in the C:_DAT directory.  If it is installed
      elsewhere, Notepad will ask you to locate it and will remember where
      you put it.

      The following steps can be used to install Notepad.  It assumes you
      have the Notepad distribution disk on a desktop PC, which can
      communicate with your HP95LX.

      1.  Transfer the files NOTEPAD.EXM and NOTEPAD.HLP to the HP95LX.
          You may use the connectivity pack and FILER, or you may use
          Kermit and COMM.  If you use Kermit, make sure that you use
          binary mode transfers.  I assume you have put the files in the
          root directory C:\.
      2.  Using FILER, move NOTEPAD.HLP into C:\_DAT.
      3.  If you already have a file APNAME.LST in C:\_DAT, then add the
          line in the supplied APNAME.LST to the one you already have,
          using MEMO.  If you do not have APNAME.LST, then copy the one
          supplied in the distribution to C:\_DAT.  The supplied
          APNAME.LST associates Notepad with ALT-MEMO.
      4.  Close all applications.  Reboot your machine by holding down
          CTRL and ALT and typing DEL.
      5.  Test Notepad by holding down ALT and typing MEMO (the blue key).
      6.  Type the Fkey F1 for brief instructions.  Print the file
          NOTEPAD.TXT for complete instructions on Notepad.

      You may install NOTEPAD.EXM elsewhere, but if you do so you must
      adjust the pathname in APNAME.LST.  If you install NOTEPAD.HLP in
      another location, Notepad will ask you where it is the first time
      you use help, and will remember the location after that.
      Experienced users may install two or more copies of Notepad using
      different names of the EXM file, and link them to different keys
      using APNAME.LST.  These different copies will remain separate from
      one invocation to another and will retain separate settings.


      Limits

      Notepad imposes limits on documents beyond those restrictions
      enforced by MEMO.
      Maximum size of document:               limited by available memory;
                                              approximately 35K characters.
      Maximum number of pages:                500 pages.
      Maximum size of a page:                 4000 characters;
                                              200 lines.
      Maximum size of a template:             500 characters.
                                              50 lines.
      Maximum size of find, only, or goto:    35 characters.
      Maximum size of token:                  20 characters;
      Maximum size of pathname:               60 characters.
      Maximum size of summary:                20 fields;
                                              70 characters.
      Number of external links:               10 per file, and 10 global.
      Maximum size of merge form:             2000 characters.
      Maximum size of merge field:            200 characters.


      Registration

      Notepad is shareware.  This means that you get to try the program
      for free, but that if you like it and continue to use it, you are
      honor bound to register it by sending a fee of $30.00 (US) to the
      author, whose address is given below. You may also register through
      Compuserve on-line registration (GO SWREG).  If you choose this
      method of registration, I would appreciate it if you would still
      send in the registration form with your comments.  Registration
      entitles you to continue to use Notepad on your HP95LX only.  When
      you register, you will receive a registration number.  Entry of this
      number will enable the display of the date and time, will speed the
      startup of the program, and will enable advanced features.


      Copyright and Limitations

      Notepad is Copyright (c), 1992, 1993, by Charles Hayden.

      Notepad is offered AS IS and absolutely NO guarantees are given or
      implied as to its suitability for any task. The author assumes no
      responsibility for any damage to your machine or loss of data
      incurred while using this program.

      You may distribute copies of Notepad, as long as you include the
      files NOTEPAD.EXM, NOTEPAD.HLP, and NOTEPAD.TXT, and as long as you
      do not change any of them.  You may not distribute Notepad as part
      of any commercial product without permission.


      Request for Suggestions

      Notepad was written by

      Charles Hayden
      3 Cypress Court
      Fair Haven, NJ 07704
      USA
      voice (908) 747-8560
      email cch@mtgzfs3.att.com
      Compuserve: 71224,245.

      I would like to hear from you.  I am interested in how you use
      Notepad, and about how it could be made more useful.  Naturally, I
      would like you to tell me any bugs or surprises you encounter using
      it, although I cannot promise to fix any problems you find. Several
      early users have contributed numerous valuable suggestions, which
      have been incorporated into the current version.













      Notepad Shareware Registration


      Mail to:            Charles Hayden
                          3 Cypress Court
                          Fair Haven, NJ 07704 USA


      Date:               __________________

      Name:               __________________________________________

      Address:            __________________________________________

                          __________________________________________

                          __________________________________________

      Telephone:          (________)  ______________________________

      Version:            __________________


      Please enclose $30.00 US for each copy to be registered.  Add $5.00
      US to receive (  ) the current version or (  ) the next version (if
      any) on 3.5-inch diskette (USA addresses only).


      Amount enclosed:                    _________________


      I heard about Notepad from:         _____________________________

      I obtained my copy of Notepad from: _____________________________

      The most useful Notepad feature:    _____________________________

      I would like to see Notepad include:_____________________________

      Comments:


























