home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
wcat21.zip
/
serial.cnf
< prev
next >
Wrap
Text File
|
1995-05-16
|
17KB
|
507 lines
; Configuration file for WatchCat 2.1
;
; To control WatchCat over a serial line from a terminal or another
; PC running a terminal emulation program, edit this file. Many settings
; are probably not needed to be changed, but look through the whole file
; to check if all settings suit your needs.
;
; Recommendations to get a good remote control of WatchCat:
;
; - Your serial cable should feature DSR/DTR and RTS/CTS lines to get
; a full hardware handshake and nearly error-free communicatios
;
; - 8 databits, no parity, 1 stop bit is always a good thing
;
; - starting with 9600 baud, speed is high enough to make the screen
; updates good enough. With a cable featuring the hardware handshake
; lines, you can normally safely go up to 57600 baud.
;
;
; In case of problems:
;
; Check your cable, use a terminal program to check the connection. If there
; is something displayed but the display is corrupt, lower the baud rate.
; There are zillions of different terminal emulations, all with other
; characteristics. If you suspect your emulation to make problems, try
; setting the control sequence strings below to "", where possible. This
; makes WatchCat use only the most common sequences supported by ALL terminals.
; It will be slower, though. So try to reenable some of the strings to get
; some performance back.
; Note:
;
; The freely available version of WatchCat only demonstrates this remote
; control feature. The registered version has no limits. The version
; accompanying the 1st Aid Package in addition has the feature to pop up
; WatchCat on the remote side when activated.
;
; Problems? Send eMail to watchcat@fmi.uni-passau.de
;----------------------------------------------------------------------------
; SERIAL DEVICE.
; Default: COM2
; Values : COM1, COM2, COM3, COM4, etc.
; Note : You can use any serial device compatible with COM ports.
SerialDevice=COM2
; BAUD RATE.
; Default: system default (often only 1200 or 2400 baud, depends on driver)
; Values : DEFAULT, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
; Note : 115200 baud can't be used with standard AT UARTS using OS/2's
; COM drivers. If setting a baud rate fails, setting the baud rate
; for an enhanced serial port is tried.
BaudRate=9600
; PARITY.
; Default: system default (often even parity, sometimes no parity)
; Values : DEFAULT, NONE, ODD, EVEN, MARK, SPACE
; Note : Using no parity (NONE) is common and recommended.
Parity=NONE
; DATA BITS.
; Default: system default (often 7 data bits, depends on driver used)
; Values : DEFAULT, 7, 8
; Note : Using 8 data bits is recommended.
DataBits=8
; STOP BITS.
; Default: system default (often 1 stop bit)
; Values : DEFAULT, 1, 1.5, 2
; Note : Using one stop bit is recommended.
StopBits=1
; XON/XOFF FLOW CONTROL FOR RECEIVING.
; Default: system default (often enabled)
; Values : DEFAULT, ON, OFF
; Note : Enable Xon/Xoff handshaking only if you don't use a cable
; with hardware handshake lines (RTS/CTS, DSR/DTR) or if the
; receiving side doesn't use hardware handshaking.
XonXoffReceiveFlowControl=OFF
; XON/OFF FLOW CONTROL FOR TRANSMITTING.
; Default: system default (often enabled)
; Values : DEFAULT, ON, OFF
; Note : Enable Xon/Xoff handshaking only if you don't use a cable
; with hardware handshake lines (RTS/CTS, DSR/DTR) or if the
; receiving side doesn't use hardware handshaking.
; Xon/Xoff handshaking should normally be set to the same value
; for receiving and transmitting.
XonXoffTransmitFlowControl=OFF
; 16550 HARDWARE BUFFER.
; Default: system default (often disabled)
; Values : DEFAULT, ON, OFF
; Note : Enable the hardware buffer if your serial card features one.
; If you are not sure, it is better to use OFF.
Fifo16550=OFF
; 16550 HARDWARE BUFFER RECEIVE TRIGGER.
; Default: system default (often 1)
; Values : DEFAULT, 1, 4, 8, 14
; Note : This setting controls how many received characters are to
; be buffered before they are transferred to the application.
; Using 1 character is highly recommended.
Fifo16550ReceiveTrigger=1
; 16550 HARDWARE BUFFER LOAD COUNT.
; Default: system default (often 1)
; Values : DEFAULT, 1, 16
; Note : This setting controls how many outgoing characters are to be
; buffered before they are transmitted to the receiving side.
; Using a load count of one is recommended.
Fifo16550TransmitBufferLoadCount=1
; DSR INPUT SENSITIVITY.
; Default: system default (often disabled)
; Values : DEFAULT, DISABLE, ENABLE
; Note : If your cable features the DSR (Data Set Ready) line and the
; other side controls this signal, enable this setting. This way,
; the remote terminal indicates its presence.
DSRInputSensitivity=ENABLE
; DSR OUPUT HANDSHAKING.
; Default: system default (often disabled)
; Values : DEFAULT, DISABLE, ENABLE
; Note : If your cable features the DSR (Data Set Ready) line and the
; other side controls this signal, enable this setting. This way,
; the remote terminal and your computer indicates their presence.
DSROutputHandshaking=ENABLE
; DTR CONTROL MODE.
; Default: system default (often disabled)
; Values : DEFAULT, DISABLE, ENABLE, INPUT_HANDSHAKING
; Note : If your cable features the DTR (Data Terminal Ready) line and
; the remote terminal makes use of this signal, enable this setting.
; This way, your computer starts shaking hands with the other side.
DTRControlMode=ENABLE
; RTS CONTROL MODE.
; Default: system default (often disabled)
; values : DEFAULT, DISABLE, ENABLE, INPUT_HANDSHAKING
; Note : If your cable features the RTS (Request To Send) line and the
; remote terminal supports this signal, enable this setting. It
; is used to control the data flow by hardware.
RTSControlMode=ENABLE
; CTS OUTPUT HANDSHAKING.
; Default: system default (often disabled)
; Values : DEFAULT, DISABLE, ENABLE
; Note : If your cable features the CTS (Clear To Send) line and the
; remote terminal supports this signal, enable this setting. It
; is used to control the data flow by hardware.
CTSOutputHandshaking=ENABLE
; DCD OUTPUT HANDSHAKING.
; Default: system default (often disabled)
; Values : DEFAULT, DISABLE, ENABLE
; Note : If your cable features the the DCD (Data Carrier Detect) line
; and your remote terminal outputs this signal (which is rarely
; used by other devices than modems), enable this setting.
; Disabling is recommended in any case.
DCDOutputHandshaking=DISABLE
; RECEIVE FLOW CONTROL.
; Default: system default (often normal)
; Values : DEFAULT, NORMAL, FULLDUPLEX
; Note : Using full duplex control isn't supported, so use normal.
ReceiveFlowControl=NORMAL
; TERMINAL EMULATION.
; Default: ANSI
; Values : ANSI, VT52, VT100, VT102, VT110, VT220, VT320
; Note : Try ANSI if you're not sure. If your terminal emulation
; isn't supported, edit the control strings below to suit your
; requirements.
Emulation=ANSI
; COLOR EMULATION.
; DEFAULT: NONE
; Values : NONE, BW, COLOR
; Note : Use NONE to get a black/white transmission (fastest).
; Use BW if your terminal supports inverse video.
; Use COLOR if your terminal supports ANSI colors.
Colors=COLOR
; NUMER OF SCREEN LINES.
; Default: 25
; Values : 24, 25
; Note : If your terminal only supports 24 lines, set to 24.
; PC terminal programs often have a status line, so the software
; might only use 24 of the PC screen's 25 lines. If you are used
; to 43 or 50 lines, please setup your software for 24 or 25 lines.
ScreenLines=25
; NUMBER OF SCREEN COLUMNS
; Default: 80
; Values : 80
; Note : Does anyone use a display with <> 80 chars/line?
; Don't expect good results with values other than 80.
ScreenColumns=80
; CHARACTER SET FILTER.
; Default: IBMPC
; Values : IBMPC, ASCII
; Note : If your remote terminal can display the 256 IBM PC characters,
; use IBMPC. If you specify ASCII, all non-ASCII chars are replaced
; with blanks. If you want a pure ASCII display, is recommended to
; set this setting to IBMPC but use the IBMPC2ASCII filter below.
; If there is a PC on the remote side, try IBMPC. If it is a terminal,
; chances are that you have to use ASCII.
CharsetFilter=IBMPC
; CHARACTER SET TRANSLATION.
; Default: NONE
; Values : NONE, IBMPC2ASCII
; Note : Using the IBMPC2ASCII translation replaces every non-ASCII
; character that is sent to the remote side with an ASCII character
; that is supposed to look like the replaced one. This is a kludge,
; but often, results are good enough.
CharsetTranslation=NONE
; CONTROL SEQUENCE TO ERASE AN ENTIRE SCREEN LINE
; Default: "\e[%iH\e[K"
; Note : %i is replaced with the screen row to be erased (1-25)
; If your terminal doesn't know the ESC [ K control sequence, you
; can set this setting to "" - in this case it is likely that you
; also have to set ANSIEraseStartBlanks to "".
;ANSIEraseLine=""
ANSIEraseLine="\e[%iH\e[K"
; CONTROL SEQUENCE TO FILL THE BEGINNING OF A LINE WITH BLANKS
; Default: "\e[%i;%iH\e[1K"
; Note : The first %i is replaced with the screen row;
; the second %i corresponds to the number of spaces.
; If your terminal doesn't know the ESC [ 1 K control sequence,
; set this item to "". Expect certain performance penalties.
;ANSIEraseStartBlanks=""
ANSIEraseStartBlanks="\e[%i;%iH\e[1K"
; CONTROL SEQUENCE TO SET THE CURSOR POSITION
; Default: "\e[%i;%iH"
; Note : The first %i is replaced with the screen row;
; the second %i corresponds to the column.
ANSISetCurPos="\e[%i;%iH"
; CONTROL SEQUENCE TO POSITION CURSOR AT THE START OF A LINE
; Default: "\e[%iH"
; Note : %i is replaced with the row.
; If your terminal emulation isn't 100% ANSI and you have
; display errors, try "\e[%i;1H".
ANSIStartOfLine="\e[%iH"
; CONTROL SEQUENCE TO MOVE THE CURSOR RIGHT
; Default: "\e[%iC"
; Note : %i is replaced with the number of character positions;
; if your terminal doesn't support this control sequence, set it
; to "". In this case, there will be a certain performance penalty.
;ANSICursorRight=""
ANSICursorRight="\e[%iC"
; CONTROL SEQUENCE TO ERASE TO END OF LINE
; Default: "\e[K"
; Note : If your terminal doesn't support the ESC [ K sequence, set this
; item to "". Expect a certain performance penalty.
;ANSIEraseToEOL=""
ANSIEraseToEOL="\e[K"
; CONTROL SEQUENCE TO CLEAR THE SCREEN
; Default: "\e[2J"
; Note : If your terminal doesn't support this control sequence, set
; it to "". Then, clearing the screen is a little slower...
;ANSIClearScreen=""
ANSIClearScreen="\e[2J"
; CONTROL SEQUENCE TO SCROLL THE SCREEN ONE LINE UP
; Default: "\e[S"
; Note : Not all ANSI terminals are 100% ANSI compatible and might
; miss this feature. I.e. OS/2's screen ANSI support doesn't
; know this sequence. In this case, set this item to "" and
; don't forget to set the TerminalLines setting correctly.
;ANSIScrollUp=""
ANSIScrollUp="\e[S"
; CONTROL SEQUENCE TO ERASE ONE LINE OF THE SCREEN, USING COLOR
; Default: "\e[%iH%s\e[K"
; Note : %i is replaced with the row number,
; %s is replaced with a color control sequence
; If your terminal doesn't know the ESC [ K control sequence, you
; can set this setting to "" - in this case it is likely that you
; also have to set ANSIEraseStartBlanksColor to "".
;ANSIEraseLineColor=""
ANSIEraseLineColor="\e[%iH%s\e[K"
; CONTROL SEQUENCE TO ERASE THE START OF A LINE, USING COLOR
; Default: "\e[%i;%iH%s\e[1K"
; Note : the first %i is replaced with the line number;
; the second %i is replaced with the next column;
; %s is replaced with a color control sequence
;ANSIEraseStartBlanksColor=""
ANSIEraseStartBlanksColor="\e[%i;%iH%s\e[1K"
; CONTROL SEQUENCE TO ERASE TO END OF LINE, USING COLOR
; Default: "%s\e[K"
; Note : %s is replaced with a color control sequence
;ANSIEraseToEOLColor=""
ANSIEraseToEOLColor="%s\e[K"
; CONTROL SEQUENCE TO SCROLL ONE LINE UP, FILL NEW LINE WITH DEFAULT COLOR
; Default: "\e[0m\e[S"
; Note : Not all ANSI terminals are 100% ANSI compatible and might
; miss this feature. I.e. OS/2's screen ANSI support doesn't
; know this sequence. In this case, set this item to "" and
; don't forget to set the TerminalLines setting correctly.
;ANSIScrollUpColor=""
ANSIScrollUpColor="\e[0m\e[S"
; CONTROL SEQUENCE TO SET INTENSITY, FOREGROUND AND BACKGROUND COLOR
; Default: "\e[%i;%i;%im"
; Note : the first %i is replaced with the intensity flag (1=on, 0=off),
; the second %i is replaced with the foreground color code,
; the third %i is replaced with the background color code.
ANSIInFgBg="\e[%i;%i;%im"
; CONTROL SEQUENCE TO SET FOREGROUND AND BACKGROUND COLOR
; Default: "\e[%i;%im"
; Note : the first %i is replaced with the foreground color code,
; the second %i is replaced with the background color code.
ANSIFgBg="\e[%i;%im"
; CONTROL SEQUENCE TO SET FOREGROUND COLOR
; Default: "\e[%im"
; Note : %i is replaced with the foreground color code.
ANSIFg="\e[%im"
; CONTROL SEQUENCE TO SET BACKGROUND COLOR
; Default: "\e[%im"
; Note : %i is replaced with the background color code.
ANSIBg="\e[%im"
; SCREEN UPDATE FREQUENCY.
; Default: 1000
; Values : any number of the range 0 ... n
; Note : This is the number of milli-seconds to sleep after a screen
; update was sent to the remote terminal. Use 0 for fast updates
; that use lots of CPU time on your local machine. Any value
; starting with 500 is acceptable.
UpdateFrequency=1000
; SCREEN UPDATE PRIORITY.
; Default: REGULAR
; Values : IDLE, REGULAR, TIMECRITICAL
; Note : Specify which priority the screen updates should have.
; IDLE is only active if no other processes are active,
; REGULAR is the standard priority, TIMECRITICAL processes
; get CPU time with highest priority.
UpdatePriority=REGULAR
; SCREEN UPDATE PRIORITY DELTA.
; Default: DEFAULT
; Values : MINIMUM, DEFAULT, MAXIMUM
; Note : Specify if screen updates are to be run with minimum, default
; or maximum priority within their priority class. Beware of
; using MAXIMUM together with TIMECRITICAL priority. Don't
; wonder about nothing happening - the screen update routine will
; pull all CPU power off WatchCat...
UpdatePriorityDelta=MAXIMUM
; TERMINAL INITIALISATION STRING
; Default: "\e[?2l\e<\e[0m\e[2J"
; Note : It is a good idea to reset your terminal to default settings...
; The default string jumps in and out of VT52 mode, clears all
; attributes and clears the screen.
InitString="\e[?2l\e<\e[0m\e[2J"
; CURSOR UPDATE.
; Default: CHANGE
; Values : NEVER, CHANGE, ALWAYS
; Note : Specify if the cursor position on your terminal shall NEVER
; reflect the cursor position on the local machine, if it shall
; be updated if something changed on the local screen or if the
; cursor position is to be updated every screen update.
CursorUpdate=CHANGE
; LAST CHARACTER MODE.
; Default: OFF
; Values : ON, OFF, INSERT
; Note : Most terminals can't print the last character of the last line
; on their screen without scrolling up one line thereafter,
; destroying the screen contents. If this is the case, either turn
; off the update of this character by using OFF, or try INSERT and
; see if this trick works on your terminal.
LastChar=INSERT
; NUMER OF LINES YOUR TERMINAL CAN USE TO DISPLAY CHARACTERS
; Default: 25
; Values : 25-50
TerminalLines=25
; HOTKEY FOR SCREEN REFRESH
; Default: ESC R
; Values : any string representing a hotkey code sequence your terminal sends.
; Note : To refresh the screen in case of data corruption or start of the
; remote terminal (program) after WatchCat, use this hotkey sequence
; on the remote terminal to force a screen refresh.
RefreshSequence="\er"
; HOTKEY FOR COLOR TOGGLE
; Default: ESC c
; Values : any string representing a hotkey code sequence your terminal sends.
; Note : To toggle color/mono display at runtime, use this hotkey.
ColorToggleSequence="\ec"