| |
2E1FXN > TSTH 23.07.99 03:23l 185 Lines 5760 Bytes #999 (0) @ WW
BID : 2364-2E1FXN
Read: GUEST
Subj: CVTSTLOG V1.02 Info
Path: DB0AAB<DB0SL<DB0RGB<DB0MAK<DB0ERF<DB0HSK<PI8DRS<PI8DAZ<PI8GCB<PI8HGL<
PI8VNW<PE0MAR<GB7MBB<GB7CRV<GB7FYL<GB7BOB<GB7WRC<GB7HVU<GB7KLY<GB7JEM<
GB7SYP
Sent: 990722/2018Z @:GB7SYP.#19.GBR.EU #:61445 [Barnsley] FBB7.00g23
From: 2E1FXN@GB7SYP.#19.GBR.EU
To : TSTH@WW
[¯¯¯ TST HOST 1.43c, UTC diff:-1, Local time: Thu Jul 22 20:13:39 1999 ®®®]
CVTSTLOG.DOC v1.02 (c)1999 2E1FXN
=================================
This program came about because TSTHOST generates a Logfile that gets
bigger as time passes, its not long before a 200kb Logfile is created
I decided to write a little routine to automatically save the LOGFILE
to a SUB-DIRECTORY called LOGS in the Main TSTHOST directory.
Converted Logfile : 19990707.LOG
CallSign Date Start End
-------------------------------------
- GB7SYP : 16/07/1999 10:11 > 10:12
- SWITCH : 16/07/1999 10:16 > 10:43
The new filename is automatically created, from YEAR, MONTH, and LOG no.
YYYYMMLL.LOG LL which is derived from the CVTSTLOG.CFG File
Counting the List of Days - in the above example 07 was Saved on the 19th
Day of the Month.
INSTALLATION
============
1) If you have CVTSTLOG v1.00 please Delete both the EXE & CFG files
2) Extract CVTSTLOG.EXE to your Main TSTHOST Directory.
3) At the DOS Prompt Type CVTSTLOG, you will be informed the following
** CVTSTLOG.CFG - using Default Settings **
Config file Saved
4) Edit the CVTSTLOG.CFG to your own preferences
- Leave KILL=NO until you are sure the CFG settings are correct.
- Change EVERY 7 to ALL - for TESTING
5) Run CVTSTLOG - you will have a new logfile YYYYMMLL.LOG in your
selected Save Directory.
YYYY = 1999 - YEAR
MM = 07 - MONTH
LL = 07 - LOG NUMBER
A message on screen should state that
"..\TSTHOST.LOG Converted To ..\YYYYMMLL.LOG
6) Run CVTSTLOG again should produce
** Process Cancelled - File Previously Converted **
7) Select Days to Convert & Save the Log
ALL = Every Day
EVERY n = 1 to 7 or 10
if n=2 - 02,04,06,08,10,12,14,16,18,20,22,24,26,28,30
if n=3 - 01,04,07,10,13,16,19,22,25,28
if n=4 - 01,05,09,13,17,21,25,29
if n=5 - 01,06,11,16,21,26,30
if n=6 - 01,07,13,19,25,31
if n=7 - 01,08,15,22,29
if n=10 - 01,11,21,31
If the Day Selection is not present if you only want every 14 days
use the DAYS=Optional Days
DAYS=01,15,31
8) When all seems to be working as you like, Edit CVTSTLOG.CFG and set the
KILL=YES
A Logfile that has been converted will NOT be overwritten or reprocessed,
the original TSTHOST.LOG will be automatically deleted ( only after the
succesfull conversion and the KILL=YES is set in the CVTSTLOG.CFG File)
Updated 22/07/1999
- No Parameters required for CVTSTLOG.EXE
- CVTSTLOG ? ; Will Display current Parameters used
- CVTSTLOG.CFG ; will be automatically created using default settings
- Multiple Options available,
- XCALLS=COL,LEN
- XSTART=COL,LEN
- XCLEAR=COL,LEN
- XDATES=COL,LEN
- XOTHER=COL,LEN
- LOG=INPUT LOGNAME
- KILL=YES\NO\TRUE\FALSE
- PATH=DRIVE:\PATH\
- ALL
- EVERY n
- DAYS=LIST OF DAYS
Default CVTSTLOG.GFG - Paths are Automatically determined
Description of Options:
=======================
The order in which the OPTIONS are Entered are irrelevant, All Options
are optional, if the option is not provided, Default parameters will be
used.
LOG=LOGNAME (without path)
Default: LOG=TSTHOST.LOG
It is not normally required to alter this unless CLEANLOG.EXE is
being used which RENAMES the Finished LOG
XCALLS=COL,LEN
Default: XCALLS=01,11 - Set for TSTHOST.LOG Callsign Data
XSTART=COL,LEN
Default: XSTART=34,06 - Set for TSTHOST.LOG Time Logged On
XCLEAR=COL,LEN
Default: XCLEAR=56,06 - Set for TSTHOST.LOG Time Logged Off
XDATES=COL,LEN
Default: XDATES=23,11 - Set for TSTHOST.LOG Date Logged On
XOTHER=COL,LEN
Default: XOTHER=00,00 - For user functions
KILL=(YES\TRUE\NO\FALSE)
Default: KILL=NO - To prevent accidental loss of LOG Data
If KILL=FALSE or
If KILL=NO The File will be converted and placed in your selected
directory, the TSTHOST.LOG will Remain in your Main TSTHOST dir
and will continue to be appended to by the PMS
If KILL=TRUE or
If KILL=YES The File will be converted and placed in your selected
directory, The TSTHOST.LOG file will be Deleted, TSTHOST will create
a new TSTHOST.LOG File as Needed.
PATH=DRIVE:\PATH
Default: MAIN TSTHOST Directory..\LOGS\
You can now redirect CVTSTLOG to send your converted LOGS to any Drive
or Path you require, Please Ensure that if you are using Removable
Disks, that the correct Disk is inserted in the Drive.
- Only 1 of the following should be used, Last Entry will take priority
ALL | EVERY n | DAYS=List of Days
ALL
No parameters create a converted log everyday
EVERY n
Default 7
(n) may be a value from 1 to 7 or 10
Convert & Save the LOG every n Days
DAYS=01,03,07,15,22,31
Selected days for Convert & Save Log
Known BUGS
----------
- Maximum Source TSTHOST.LOG Size about 75K Larger files cause an Error
Cannot obtain more stack space without disabling other programs & TSR's
This program is FREE for use by all Licenced Radio Amateurs
These files may be Distributed freely
Send your reports to Dave, 2E1FXN @ GB7SYP.#19.GBR.EU
or via Email 2e1fxn@bigfoot.com
Further Updates will be posted on my website at :-
HTTP://www.bigfoot.com/~2e1fxn
73 de Dave, 2E1FXN @ GB7SYP.#19.GBR.EU - Enjoying the Hobby!
Tagline: the problems of the world are due to lack of communication!
solve them by sending me a message...
QTH : Shirecliffe, Sheffield IO93GJ TSTHOST 1.43c & BPQ-DED
Email : 2e1fxn@bigfoot.com Website: www.bigfoot.com/~2e1fxn
70cms Icom IC-4SE - 432.675mhz 6Mtrs Palstar KH-6 - 50.650mhz
Read previous mail | Read next mail
| |