home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
OS2
/
DATACOM
/
PM2UB12
/
TERM2.DOC
< prev
next >
Wrap
Text File
|
1993-05-05
|
15KB
|
363 lines
Terminal/2 2.3 beta release (c) 1993 Mikael Wahlgren
==============================================================================
Keyboard shortcuts in non OS2You-mode:
ALT-B Break ALT-C Clear Screen
ALT-D Dial ALT-G Print screen
ALT-H HangUp ALT-J Initialize modem
ALT-S Set parameters ALT-X Exit
ALT-Z Help
PgUp Send file PgDn Receive file
Introduction
============
Terminal/2 is a terminal program for OS/2 Presentation Manager. This program
is a working demonstration program, which you may re-distribute without any
restrictions, as long as you don't modify it.
If you plan to use this program on regular basis, you must register the
program (see instructions in the included ORDER.DOC form).
The program is developed with Os2You (a remote access program for OS/2) in
mind and is included without any additional charge, when registering Os2You.
Some of the features:
* Terminal/2 can work with asynchronous devices, but also with Named
Pipes, accross a network.
* Terminal/2 supports baudrates between 300 and 115200 baud.
* Terminal/2 supports screen sizes between 1 and 255 rows.
* Terminal/2 emulates an ANSI/VT100/VT52 color terminal.
* Terminal/2 has a simple scripting capability.
* Terminal/2 is designed for Hayes compatible modems, but can work with any
modem, with some limitations.
* Terminal/2 has built in Xmodem, Xmodem/1K, YModem-Batch and Ymodem-G Batch
file transfer protocols. In addition to this, an external Zmodem and
Kermit protocol can be used with auto Zmodem up/download capability
(M2Zmodem, another program from the same source).
* Terminal/2 can be used with USA, Swedish, Finnish and Norwegian character
sets.
All normal accelerator keys (shortcuts instead of selecting in the menues),
are intentionally disabled, as they intervene with Os2You emulation.
Installation
============
Just copy all files into a subdirectory. Note that the file ZIP.DLL should
be copied to a directory that is specified in your LIBPATH (or the current
directory if you have a "." in your LIBPATH).
Phonebook
=========
The phonebook is a list of different connections types you define. The
following entries are available in the phonebook:
Name Name of the entry
Phone number Phone number to dial. This entry is optional, and if
no phone number is specified, the program will just
open the communication device, but not dial.
If a phone number is specified, the program will dial
the phone number (using Hayes command set), and if
the number is busy, redial the number until the
connection is established (or cancelled).
User id This entry is only valid for Os2You users or if you
use EMSI/IEMSI, and specifies the login name. This
entry is optional, and if you don't specify user id,
you will be prompted for it when connection is made.
Password This entry is only valid for Os2You users or if you
use EMSI/IEMSI, and specifies the login password. This
entry is optional, and if you don't specify password,
you will be promted for it when connection is made.
Device This entry specifies which device (port) to use for
communication. By clicking on the down-array to the
right, you will get a list of some devices. You can
also type in any other device name directly. Regarding
support for devices like COM3/COM4, that is not an
issue of the application program in OS/2. If you have
a COM-port that is supported by an OS/2 device driver,
you may use it with the terminal program (try do a
MODE COMx and to see if it is supported).
Scriptfile This entry specifies a script file to be loaded, when
a call is successfully completed.
Baudrate Selects a communication speed between 300 and 115200.
Some high speeds may require special attention. See
the installation instructions.
Databits/Parity/ Specifies how may Databits and stopbits to use, and
Stopbits what parity. A common configuration is 8 databits
no parity and 1 stopbit.
Handshaking Specifies what handshaking signals to use. Cts/Rts
is recommended in most cases.
Rows Specifies how many screen rows to use for the terminal
session. This may vary between 1 and 255.
Emulation This entry specifies what type of terminal emulation
to use. For connection with Os2You, you should select
Os2You emulation, for anything else, you should select
ANSI.
File Transfer
=============
Terminal/2 includes the Xmodem, Xmodem/1K, Ymodem-Batch and Ymodem-G Batch
file transfer protocols. Xmodem is the least efficient, Ymodem-G Batch the
most efficient protocol, but requires error free connections.
To initiate a file transfer, you should select "Receive using..." or
"Send using...". The "Send to host" and "Receive from host" are used for
use with Os2You only.
The file transfer menu has a settings option. The following settings are
available:
Download path Specifies in which directory downloaded (received)
files should be placed. This entry may be left
empty, in which case the file will be placed in the
default working directory.
Existing files Specifies what to do if a file to be received already
exists in the download directory. Files may either
be Renamed (by altering the last character in the
file name), Resumed (overwritten by the received file
using Xmodem/Ymodem or appended using Zmodem) or
Rejected (file transfer cancelled with Xmodem/Ymodem).
Carrier detect Specifies if file transfers should be aborted if
carrier isn't present.
Autodetect Terminal/2 can autodetect X/Ymodem transfers initiated
by some implementations. Terminal/2 also autodetects
Zmodem and Kermit transfers. You can select to turn
off this autodetection.
To get Kermit to work, you will have to get CKermit version 5A188 or later
(this program is tested with 5a188 dated 25 January 1993). Note that there
seems to be a bug in the 32-bit version of CKermit, so you should use the
CKOKER16.EXE file included in the CKermit package instead of CKOKER32.EXE
until this is fixed. Note that Terminal/2 will first try to load CKOKER32.EXE
and thus CKOKER32.EXE must _NOT_ be available in the PATH, but ONLY
CKOKER16.EXE.
Special
=======
Print Screen, copies the current terminal screen to the printer device (or
file, specified in the settings dialog).
The settings dialog has the following entries:
Printer device Specifies to which device printer output should
be directed. This may also be a file name, in
which case the printer output will be put into the
file. The printer output device is used for the
"Print Screen" choice and Os2You remote printing.
Character set This entry specifies which character set to use.
Most countries should use the USA setting, but in
some cases you may want to select another character
set. Currently there are support for Sweden, Finland,
Norway and USA. To use the Norwegian character set,
you should first change code page to 850 (CHCP 850)
if this is not the default code page.
Alarm time This setting specifies for how long the internal
speaker should produce noise, when a connection is
successful. By setting this to 0, you will avoid
the noise altogether.
HW buffering This box should almost always be marked (on). If
set to on, extended hardware buffering available
on some computers, is used if available. Deselecting
this check box. You may consider to deselect this
check box, if you are using low speed modems (2400
baud and below), and you find it irritating that
characters are displayed unregulary.
Use EMSI This box selects EMSI/IEMSI. Some BBS's (like RA)
supports a logon procedure called IEMSI, which will
automate the logon process. You will automaticly
be logged into the BBS with the user name and password
you have selected in the phonebook. By selecting
the EMSI checkbox, you will get a dialog box, asking
for some special IEMSI features.
Macro keys F1-F12 are programmable to any character sequence.
See "Scripting" for more details of special
characters in Macro strings.
Other Settings
==============
Maximize PM2You This selection is only valid for PM2You sessions.
hides menues If marked Terminal/2 will maximize to a size to
let the active graphics area cover the whole screen.
Default editor Terminal/2 loads an external editor in some cases
(to display help or History log). You should enter
a name of an editor or file viewer. It may be both
a PM or OS/2 text application.
Exit
====
In this menu, you can select to hangup the line (using Hayes commands), or
quit the program.
Scripting
=========
Script files are simple text files you create with a text editor. The
following commands are available:
RESPOND "xxxxx" "yyyyy"
DELAYED RESPOND "xxxxx" "yyyyy" "zzz"
QUIT "xxxxx"
INITIAL "xxxxx"
EXIT
RESPOND Each time the string "xxxxx" is received "yyyyy"
is sent as response
RESPOND ONCE As above but if the string "xxxxx" is received
repeatedly the string "yyyyy" is sent only
the first time.
DELAYED RESPOND Each time the string "xxxxx" is received "yyyyy"
is sent after "zzz" seconds delay (zzz is a decimal
value)
DELAYED RESPOND ONCE As above, but if the string "xxxxx" is received
repeatedly the string "yyyyy" is sent only the
first time.
QUIT When "xxxxx" is received the script file is termina-
ted.
INITIAL When scripting begins the "xxxxx" string is sent.
The following character sequences are treated specially:
^ Prefixes control characters
^^ Sends a "^" sign
^M Sends a CR
^[ Sends an Esc
~ One seconds delay
Release Log
===========
1.2 Now supports EMSI/IEMSI automatic logon facility
Now supports Control character escaping working with Os2You 2.7.
1.3 Now Zmodem is enabled, for unregistered users
1.4 NetBIOS support added (for coming Os2You version 2.8).
Using IEMSI logon for Os2You now (you will need Os2You 2.8 or
later for this to work).
All limitations for unregistered users removed.
2.0 PM2You graphics capabilities added
2.1 Kermit support added
History buffer added
Queue dialling added
Software PAD added
2.2 History buffer enhanced
Paste to Terminal/2 (ASCII upload) fixed/added
Selections in queue dialling are marked when
bringing up the phonebook after a successful
connection.
Scripting enhanced with RESPOND ONCE and DELAYED RESPOND ONCE
PM2You capabilities improved
2.3 VT100 emulation improved
Macro keys added
SET TERM2_TRACE=ON
License
=======
It is illegal (or at least unethical) to patch the program in any way.
Any reverse engineering (disassembling or monitoring) is not an approved
use of the application.
If you register the software with at least 300 SEK (about $40), you will
get a license file and a copy of the most recent version of the program.
By registering you will get the following benefits:
You will get a diskette with the most recent version of Terminal/2.
You will get Zmodem file transfer, and all Os2You functions working.
You will be able to run Terminal/2 with 38400, 57600 and 115200 bauds.
You will be treated as registered user for all future release.
You can sleep at the night without having your conscience haunt you.
If you use the program on a regular basis, or in commercial use, you must
register with minimum the above mentioned sum for each machine running the
Terminal/2 program.
If you want to register, send Swedish banknotes, bank check (payable in
Swedish bank) or pay with VISA or MasterCard by completing the order form
printable from the file ORDER.DOC.
My address is:
Mikael Wahlgren
Kransen 4E
S-416 72 GOTHENBURG
Sweden
Fax: +46 31 196417
Fidonet: Mikael Wahlgren 2:203/302.5
Internet: d9mikael@dtek.chalmers.se