home *** CD-ROM | disk | FTP | other *** search
-
- GTMORE 3.2
- 03-14-93
- ──────────────────────────────────────────────────────────────
- What is It?
- ──────────────────────────────────────────────────────────────
- A simple little program that will paginate the output of an
- ASCII or ANSI text file, depending on the selection in the
- GTUSER.BBS file located in the "GTPATH". GTMORE will display
- 24 lines of the selected appropriate text file and then display
- "Pg. 1 of 5 [Q]uit [P]revious [T]op [ENTER] Next:". The user
- will then have the option of Quitting the display, Viewing the
- Previous Page, starting over from the Top of the file, or
- continuing on to the next screen of text. Version 2.1+ uses
- more of a "browsing" style than the previous versions. Version
- 2.4 and above provides the com routines itself. There is no
- more need to use GateWay or Doorway. If you would like to
- force a pause at any time simply place a ^E () in the text to
- be displayed. GTMORE will not display this character, but will
- count it as a page break.
-
- ──────────────────────────────────────────────────────────────
- Options
- ──────────────────────────────────────────────────────────────
-
- Command Line Format:
-
- GTMORE [/COMx] [/DC] [/DL] [/NC] [/NP] <ASCII DOCFILE> [ANSI DOCFILE]
-
-
- /? or /HELP Display a 'Quick Help' listing.
-
- /COMx where 'x' may be either 1 or 2. If /COM1 is specified
- *AND* 'LOCAL' is not detected in the GTUSER.BBS file,
- GTMORE will send the text out the COM Port and monitor
- Carrier Detect on COM1:. Likewise if /COM2 is specified,
- GTMORE will use COM2.
- If Carrier is lost GTMORE will exit with an ErrorLevel
- 5. If 'LOCAL' is detected the text will not be sent
- out the Port and the carrier signal will not be monitored.
- The /COMx parameter is optional.
-
- /DC if this option is specified GTMORE will NOT open up
- the GT.CNF and look for your configured colors. Instead
- the default GTMORE colors will be used for ANSI users.
- Try both way's, if you don't like either way, blame
- me for one set of colors, but remember the second set
- was your doing. This is a completely optional parameter.
- It was basically provided for users of slower systems
- that did not want to take the time of opening another
- file before GTMORE took off.
-
- /DL if this option is specified GTMORE will NOT open up
- the USER.CTL file and look for the users Screen Length.
- Instead, GTMORE will display 24 lines of text and then
- pause with the GTMORE prompt. If the user has selected
- NO PAUSE from GT, ie. 0 in USER.CTL, GTMORE will display
- 24 lines of text and then pause. This parameter was
- basically provided for users of slower systems that did
- not want to take the time of opening another file before
- GTMORE took off.
-
- /NC if this option is specified GTMORE will NOT clear the
- screen prior to displaying the selected file. The
- default of GTMORE is to clear the screen. The /NC
- parameter is optional and a matter of preference.
-
- /NP if this option is specified GTMORE will NOT pause at
- the end of the file. The default of GTMORE is to
- display the following at the end of the displayed file.
-
- Pg. 5 of 5 [P]revious [T]op [ENTER] Quit:
-
- With /NP the above prompt will NOT be displayed and
- the final part of your display may not be viewable
- to the remote user. This depends entirely on your
- application, and what runs after GTMORE is finished.
- /NP is also an optional parameter.
-
-
- <ASCII DOCFILE> This is the file that will be displayed if 'NOANSI' is
- detected in the GTUSER.BBS file. This is the ONLY
- parameter that is NOT OPTIONAL. This parameter must
- follow ALL command line options. Without a DOCFILE
- parameter GTMORE will abort....
-
- [ANSI DOCFILE] This is the file that will be displayed if 'NOANSI' is
- NOT detected in the GTUSER.BBS file. This is an optional
- parameter and MUST follow the ASCII DOCFILE if it is
- used. This parameter should ALWAYS be the LAST option
- placed on the command line. If only one DOCFILE parameter
- is on the command line, that one will be used by default.
-
-
-
- ──────────────────────────────────────────────────────────────
- Execution..
- ──────────────────────────────────────────────────────────────
- There are seven command line parameters to worry about.
- Six of these parameters are optional depending on your usage.
- The only mandatory command line option is the name of the ASCII
- text file you wish to display. If you would like GTMORE to
- display ANSI to callers that have 'ANSI' selected in the
- GTUSER.BBS file, the name of this file should follow the ASCII
- text file. See the above discussion of command line options
- for a listing of optional and mandatory parameters that can be
- placed on the command line. If no command line parameters are
- given GTMORE will give a small alert signal and exit with an
- errorlevel 2.
- GTMORE fully expects to find a valid GTPATH environment
- variable and a valid GTUSER.BBS file contained in it. Without
- these two items, GTMORE will croak, I promise..... If you
- do not wish to display an ANSI file with GTMORE simply leave
- off that command line parameter. GTMORE will default to the
- first file argument.
-
- Example Command Line:
-
- 1. GTMORE GTMSGHLP.BBS GTMSGHLP.CBS
-
- The above example will NOT send the prompt out the com port.
- However is will display the appropriate text file depending
- on the users ANSI selection in the GTUSER.BBS file....
-
- 2. GTMORE /COM2 GTMSGHLP.BBS GTMSGHLP.CBS
-
- This example WILL send the text out the com port unless 'LOCAL'
- is detected in the GTUSER.BBS file. Carrier will also be
- monitored.
-
- 3. GTMORE /COM2 /NC GTMSGHLP.BBS GTMSGHLP.CBS
-
- This example will NOT clear the screen before the appropriate
- file is displayed but WILL send text out the com port unless
- 'LOCAL' is detected in the GTUSER.BBS file.
-
- 3. GTMORE /COM2 /NP GTMSGHLP.BBS GTMSGHLP.CBS
-
- This example WILL clear the screen before the appropriate
- file is displayed, WILL send text out the com port unless
- 'LOCAL' is detected in the GTUSER.BBS file, but will NOT
- give the final pause at the end of the displayed file.
-
-
- GTMORE will automatically find the GTPATH environment and
- the GTUSER.BBS file therein.
-
- ──────────────────────────────────────────────────────────────
- Errorlevels
- ──────────────────────────────────────────────────────────────
- There are six possible errorlevels to worry about. They are
- as follows......
-
-
- ERRORLEVEL 0 Entire file was displayed.
- ERRORLEVEL 1 Partial file displayed (N Selected)
- ERRORLEVEL 2 Insufficient Parameters
- ERRORLEVEL 3 GTPATH Environment not set.
- ERRORLEVEL 4 Cannot Open GTUSER.BBS, GT.CNF, or USER.CTL
- ERRORLEVEL 5 Requested Display File Not Found
- ERRORLEVEL 6 Carrier Loss Detected
-
-
- ──────────────────────────────────────────────────────────────
- Some Possible Uses
- ──────────────────────────────────────────────────────────────
- Following are some of the bacth file uses that you may find
- handy to your application.......
-
-
- Following are two Batch Files uses that I recieved from Jerry
- Hook (The Engage BBS). These can be used in DOS, while the BBS
- is not running, do view various files your BBS may be using.
- Just run either "BBS" or "CBS" depending on your need....
-
- You type:
- CBS <--display the files.cbs in the current directory
- BBS <--display the files.bbs in the current directory
- CBS GTMENU <--display the GTMENU.CBS in the current dir
- BBS GTMDIR <--display the GTMDIR.BBS in the current dir
-
- ┌──────────┐
- │ CBS.BAT │
- └──────────┘
- @echo off
- if %1""=="" goto FILES
- gtmore /NC %1.cbs
- goto END
- :FILES
- gtmore /NC files.cbs
- echo
- goto END
- :END
-
- ┌──────────┐
- │ BBS.BAT │
- └──────────┘
- @echo off
- if %1""=="" goto FILES
- gtmore /NC %1.bbs
- goto END
- :FILES
- gtmore /NC files.bbs
- echo:
- :END
-
-
- For a more versatile Batch File that will take input from the
- command line and display any file for you, you might try.....
-
- SHOW.BAT
- @echo off
- gtmore %1
-
-
- The major application that I wrote the program for however, and
- which is still my primary use is for a Batch File called MH.BAT.
- MH.BAT is set up on the MMENU= line in my SYSOP.BBS. MH stands
- for Message Help. Users of my BBS can select MH from the message
- read menu and display a help file. Here is the batch file that
- does the work...... Note that I am NOT using GATEWAY.
-
- MH.BAT
- @echo off
- gtmore /com2 c:\gt\gtmsghlp.bbs c:\gt\gtmsghlp.cbs
-
-
- ──────────────────────────────────────────────────────────────
- Who Is Responsible for This?
- ──────────────────────────────────────────────────────────────
- Rob Roesch
- The HOTware BBS
- GT Power Net-Node 064/003
- Rt 7 Box 566
- Mocksville, NC 27028
- 704-492-2081
-
- If you start using this utility, and get a chance, let me know
- what you think of it. If you don't have any use for it, delete
- it for your total refund of all the disk space that it was
- occupying. This program comes with no warranty, no guarantee,
- and no promises. If it works GREAT, if not let me know and I
- will gladly take a look at it in my spare time <g>.
-
-