home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / TSFCOM23.ZIP / TSFCOM.INF < prev    next >
Encoding:
Text File  |  1990-07-09  |  17.9 KB  |  338 lines

  1.                            - 1 -
  2. 8th July, 1990
  3.  
  4. About TSFCOM in General
  5. =======================
  6.  
  7. Apply question mark ? with the program call for a brief description of a
  8. program. Most of the programs also include more detailed (optional)
  9. information within the program.
  10.  
  11. This package may be used and distributed freely for NON-COMMERCIAL,
  12. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in any way.
  13. For ANY other usage contact the author. No part of this package may be
  14. distributed separately. Uploading to bulletin boards in encouraged.
  15.  
  16. The programs are under development. Comments and contacts are solicited. If
  17. you have any questions, please do not hesitate to use electronic mail for
  18. communication.
  19. InterNet address: ts@chyde.uwasa.fi         (preferred)
  20. Funet address:    GADO::SALMI
  21. Bitnet address:   SALMI@FINFUN
  22. FidoNet address:  2:515/1 (Micro Maniacs Opus, To: Timo Salmi)
  23.  
  24. The author shall not be liable to the user for any direct, indirect or
  25. consequential loss arising from the use of, or inability to use, any program
  26. or file howsoever caused. No warranty is given that the programs will work
  27. under all circumstances.
  28.  
  29. Timo Salmi
  30. Professor of Accounting and Business Finance
  31. School of Business Studies, University of Vaasa
  32. P.O. BOX 297, SF-65101 Vaasa, Finland
  33.  
  34.  
  35. ABSTRACT:
  36.  
  37. TSFCOM23.ARC    File manipulation by Timo Salmi
  38. Filename        Comment                             Date      Time
  39. --------        --------------------------------    ----      ----
  40. CRYPTER.EXE     Protects files with a password    07-08-90  19:58:54
  41. FILEADD.EXE     Joins text files side by side     09-30-89  11:49:26
  42. FILECUT.EXE     Cuts a text file in parts         09-29-89  11:26:50
  43. FILEDUMP.EXE    Decimal dump of a file            07-08-90  20:18:10
  44. FILEPAGE.EXE    Prepares files for printing       07-08-90  20:11:34
  45. FILEPALN.EXE    Counts page lengths and widths    07-08-90  19:46:56
  46. FILEPRNT.EXE    Text-file to various printers     07-09-90  00:16:22
  47. FILETRAN.EXE    Scandinavian conversions          09-29-89  14:44:30
  48. FILETRIM.EXE    Trims or pads text file rows      07-08-90  20:04:06
  49. TSFCOM.INF      Document                          07-09-90  00:28:26
  50. TSFCOM.NWS      News concerning this package      07-09-90  00:35:00
  51. TSPROG.INF      List of PD programs from T.Salmi  04-03-90  17:37:40
  52. VAASA.INF       Info: Finland, Vaasa, U of Vaasa  02-02-90  11:52:54
  53.  
  54.  
  55. Release Notes for the Entire Package
  56. ====================================
  57.  
  58. If you have an earlier than version TSFCOM15, please note that the .exe files
  59. replace the earlier .com files with the same name. (If you have an .exe and a
  60. .com file with the same name on the same directory, the outdated .com file is
  61. executed.) The .exe versions have been compiled with Turbo Pascal 4.0. (Later
  62. with 5.0.) They are faster than the older versions. The directory module
  63. (invoked when you try to access a non-existent or a non-resettable file) has
  64. been rewritten, among other things. Note that while (some) .com programs can
  65. be aborted by pressing crtl+c, .exe programs can be halted with ctrl+break.
  66.  
  67. The release TSFCOM22 package does not change the programs much. All the
  68. programs have been recompiled with an updated directory routine, which you
  69. can invoke, if your input file is not found. This routine is nearer to the
  70. customary MsDos dir syntax, and the routine is more compact than the old one.
  71. There are also some other minor changes in the programs, and I have written
  72. more information about the programs to this document.
  73.  
  74. The release TSFCOM23 introduces some major and minor improvements. First,
  75. some of the programs can now [optionally] be called in the more familiar PC
  76. format, that is as
  77.  
  78.     PROGRAM [FirstParameter] [...]
  79.  
  80. Second, the some of the programs have now a line editing and input recall
  81. capability. (This capability is indicated by a "blocked" cursor). This means
  82. that you can edit the input the program asks for by applying the cursor keys,
  83. Del, Esc, Home, and End. Furthermore the previous input can be recalled by
  84. pressing the CursorUp key. Third, interrupting the programs by ctrl-c or
  85. break is now captured by some of the programs, and treated in a more orderly
  86. manner.
  87.  
  88.  
  89. Individual Program Descriptions
  90. ===============================
  91.  
  92. Timo Salmi File COMmand release 2.3 (TSFCOM23) includes the following
  93. *    *     *    ***             * *
  94. programs for manipulating files:
  95.  
  96.  
  97. CRYPTER.EXE (Ver 1.14)  Protects files with a password
  98. ======================
  99.  
  100.    Encrypts/decrypts any file with your secret password. The versions from
  101. 1.5 on will work for all types files. Thus you can use crypter even to
  102. protect your sensitive .com and .exe files.
  103.   ┌─────────────────────────────────────────────────────────────────────┐
  104.   │ WARNING: If you want to make your files absolutely secure don't     │
  105.   │ EVER write the decrypted text on any other media than RAMdisk. This │
  106.   │ is because there are very good data recovery tools for uncovering   │
  107.   │ data that has existed on the ordinary disk media.                   │
  108.   └─────────────────────────────────────────────────────────────────────┘
  109.    Release notes: In version 1.12 the outward appearances are still the same,
  110. but the disk interface has been rewritten for a much improved speed. I have
  111. not measured it accurately, but crypter 1.12 is many times as fast as the
  112. earlier version. (Technically this has been achieved by reading and writing
  113. using block read/writes.)
  114.    There is a default feature (not a bug) in Turbo Pascal which prevents
  115. reading read-only files. There is a remedy for this which has been
  116. implemented to crypter, and it can thus now crypt read-only files as well.
  117.    The messages concerning file names now also include the path. These last
  118. two improvements have been made to all the programs starting from TSFCOM21.
  119.    For version 1.13 release notes please see the common release notes above
  120. for TSFCOM22.
  121.    Version 1.14 introduces the option of using the following call format:
  122. CRYPTER [InputFile OutputFile Password]. Version 1.14 also introduces input
  123. line-editing and recall.
  124.  
  125.  
  126. FILEADD.EXE (Ver 1.7)  Joins text files side by side
  127. =====================
  128.  
  129.    Concatenates two text files. In other words joins them side by side.
  130. Useful e.g. for making two-column texts or detailed comparison of text files
  131. or lists, such as directories.
  132.    The TSFLTC package contains a filter CONCAT.EXE which performs the same
  133. task as FILEADD.EXE. If you are used to Unix and/or prefer using filters for
  134. manipulating text-files then use CONCAT.EXE. Personally I used CONCAT.EXE
  135. rather than FILEADD.EXE.
  136.    With the introduction of SemWare's excellent QEdit v2.1 this utility is
  137. practically no longer needed because of QEdit's ability to copy and move
  138. columns of text in addition to the usual rows of text. Hence no update in
  139. of FILEADD.EXE in TSFCOM23.ARC. Incidentally, this .inf file has been written
  140. with QEdit v2.1. (Yes, I am a properly registered shareware user.)
  141.  
  142.  
  143. FILECUT.EXE (Ver 1.7)  Cuts a text file in parts
  144. =====================
  145.  
  146.    Divides a text file into a number of smaller text files. The division is
  147. based on the number of lines, given by the user, to be included in each new
  148. cut-file. Options for wrapping and checking for the existence of files.
  149.    I also have a more recent program SPLIT.EXE for splitting any type (text
  150. or binary) file into bits and pieces (pun intended). It is in my TSUTLCxx.ARC
  151. package.
  152.  
  153.  
  154. FILEDUMP.EXE (Ver 2.11)  Decimal dump of a file
  155. =======================
  156.  
  157.    Dumps the contents of a file to the screen in decimal ascii. A new line is
  158. started if the eoln sequence <CR/LF> is encountered. Filedumps (especially
  159. hexadumps) abound. FILEDUMP complements them rather than attempts to replace
  160. the traditional filedumps.
  161.    FILEDUMP is actually the first program I wrote for the PC environment when
  162. I started with these compatible contraptions in back in 1987. I used this
  163. particular task to learn and experiment with the Turbo Pascal 3.02A
  164. environment, and to find out the format in which MsDos saves ascii files (the
  165. eoln convention varies in operating systems). Version 2.10 of filedump has
  166. been compiled with Turbo Pascal 5.0.
  167.    BTW, it is amazing how much development has taken place between now
  168. (summer 1990) and then. Such a number of new commercial programs, but often
  169. with all too many features. When programs require even ten disks to install,
  170. and days of schooling to use, something in the industry has really gone awry.
  171. Wherever did the idea of the computer as an aid rather than an end disappear?
  172. (There are exceptions, of course. For example, I just received VP-Planner 3D.
  173. It's still manageable enough to be useful.)
  174.  
  175.    Release notes: In version 2.9 the colors are now consistent from the
  176. beginning, and (as with the other programs) read-only files can now be
  177. dumped.
  178.    Version 2.11 introduces the option of using the following call format:
  179. FILEDUMP [FileName]. Version 2.11 introduces input line-editing and recall.
  180.  
  181.  
  182. FILEPAGE.EXE (Ver 1.11)  Prepares files for printing
  183. =======================
  184.  
  185.    Divides a text file into smaller text files. The point of division is
  186. marked by the user by writing marker(s) .PAGE or formfeed in the original
  187. file at the desired positions. Conversion to 7-bit Scandinavian characters,
  188. and replacing tabs with blanks are included as options.
  189.    Originally, I made this program because I wanted to be able to print text
  190. one sheet at a time without having to use a wordprocessor. In other words I
  191. wanted a flexible system for discontinuous paper. The way to do it is first
  192. to divide the original file into the smaller text files using FILEPAGE, and
  193. then print the resultant files individually. I added the option to use the
  194. codeword .PAGE because then formfeeds are not forced in printing the original
  195. text file on continuous paper.
  196.    Incidentally, my wife has used this program quite a lot when writing and
  197. then printing texts applying an ordinary editor. In actual fact she just uses
  198. the computer in lieu of a typewriter, and her adamantly preferring an editor
  199. over a wordprocessor demonstrates, once more, that complicated programs are
  200. not what the common users will need. Who the heck utlizes fifty different
  201. fonts and two zillion advanced features, and what not that the industry tries
  202. to impose on the gullible user. (Good grief, I'm starting to sound like Mr.
  203. John C. Dvorak :-).
  204.    Release Notes: Version 1.11 introduces the option of using the following
  205. call format: FILEPAGE [FileName]. Version 1.11 also introduces input
  206. line-editing and recall.
  207.  
  208.  
  209. FILEPALN.EXE (Ver 1.6)  Counts page lengths and widths
  210. ======================
  211.  
  212.    A companion program to FILEPRiNT and FILEPAGE. FILEPALN tells you the
  213. number of rows, and the maximum width of each page of a text file, when the
  214. page break is the marker .PAGE or the ordinary formfeed <FF>. I have found
  215. this program useful for counting files (and giving maximum width) also for
  216. unrelated tasks, even if there are utilities like wc.com adopted from Unix.
  217.    Release notes: Version 1.5 includes a summary giving the size of the
  218. longest page and the width of the widest page.
  219.    Version 1.6 introduces the option of using the following call format:
  220. FILEPALN [FileName]. Version 1.6 also introduces input line-editing and
  221. recall.
  222.  
  223.  
  224. FILEPRNT (Ver 1.10)  Text-file to various printers
  225. ===================
  226.  
  227.    Prints text files. You have a choice of five printers: three parallel
  228. printers (Diconix, Brother, and HP PaintJet), and two serial printers
  229. (Gabriele 8008, and LA50). You will be presented with a list of choices by
  230. the program. Use FILEPRNT ? for more details. Recognizes both <FF> and .PAGE
  231. as page breaks. As of version 1.5 CTRL Y cleanly aborts printing.
  232.    See the TSPRN package for stand-alone print utilities for a Daisy Bubble
  233. parallel Jet, Diconix parallel ink jets, and Gabriele 8008 serial
  234. daisy-wheel.
  235.    Release notes: Version 1.9 handles read-only files correctly.
  236.    Version 1.10 introduces the option of using the following call format:
  237. FILEPRNT [FileName]. Version 1.10 also introduces input line-editing and
  238. recall. Printer timeout default has been decreased to give a quicker response
  239. to unregular situations.
  240.  
  241.  
  242. FILETRAN.EXE (Ver 2.2)  Scandinavian conversions
  243. ======================
  244.  
  245.    Converts Scandinavian characters of a text file. The conversion is
  246. optionally from åäöÅÄÖ to }{|][\, vice versa, or none. Formfeed <FF> can be
  247. replaced by four blank lines, and tab <TAB> with blanks. Carriage return <CR>
  248. and linefeed <LF> are not translated, but the other control characters, and
  249. the other, except the Scandinavian 8-bit characters, are replaced by symbols
  250. indicating their ascii code, e.g. <#0>. Ordinarily text files are terminated
  251. by ascii 26, but the user is given the option to bypass. Output can be
  252. directed to the screen or a file.
  253.    Please see the filters in my TSFILT, TSFLTB and TSFLTC packages for
  254. alternative programs for filtering.
  255.  
  256.  
  257. FILETRIM.EXE (Ver 1.9)  Trims or pads text file rows
  258. ======================
  259.  
  260.    Extracts columns, adds margins, pads or trims a text file.
  261.    If you only need to add a left margin, also see flmarg.exe in the TSFILT
  262. package. Furthermore, the TSFLTC package contains a filter CUT.EXE which
  263. performs a similar task as FILECUT.EXE. If you are used to Unix and/or prefer
  264. using filters for manipulating text-files then use CUT.EXE for a cutting
  265. edge.
  266.    Release Notes: In version 1.6 a ruler is shown at the top of the screen to
  267. make it easy to assess the margins for trimming.
  268.    Version 1.9 introduces the option of using the following call format:
  269. FILETRIM [InputFileName] [OutputFileName]. Version 1.9 also introduces input
  270. line-editing and recall. OutputFileName checking has been improved.
  271.  
  272. =============================================================================
  273.  
  274.  
  275.                      ╔══════════════════╗
  276.                      ║ The Story Behind ║
  277.                      ╚══════════════════╝
  278.  
  279.    If you have been using the other of my PC utilities you probably will have
  280. noticed the difference in the user interface. Take crypter as an example. It
  281. crypts the input file to the output file using a password. The more common
  282. user interface would have been of the type
  283.  
  284.        CRYPTER <input file> <output file> <password>
  285.  
  286. but in TSFCOM file handling utilities I have used the alternative where the
  287. user first call the program, and the program then proceeds to ask for the
  288. input file, output file, and the password. (The advantage in crypter is that
  289. the password will not be echoed on the screen.) The reason for this type of
  290. user interface is the history of these programs. They originally are VAX/VMS
  291. programs which I wrote in VAX Pascal. In fact, much of the original code of
  292. the TSFCOM programs is still intact as it was (or rather is) in the VAX/VMS
  293. programs. (Starting from release TSFCOM23, however, I have made some of the
  294. program calls [optionally] more PC-like.)
  295.    In fact many of the ideas for my programs have originated from the
  296. programs I have made for the VAX/VMS system, and quite a few from the use of
  297. a QL home computer, which but for the lousy user support was well ahead of
  298. its time in the mid 1980's. Incidentally, the program that has gained most
  299. from its VAX/VMS background is my linsolve.exe (linear and linear goal
  300. programming solver) in TSLIN package. It has a long history with mainframes,
  301. and the innards have become well tested over the years. As for many of my
  302. other programs, the biggest task in making these PC versions has been
  303. rewriting the input and the output. The logic and the algorithms have, at
  304. times, needed very little in any change.
  305.    If any of you have used several of my assorted programs you might have
  306. been wondering how come a professor of accounting and business finance is so
  307. much interested in programming and mathematics. (Perhaps this sounds less
  308. strange in the States than it does in Scandinavia). No great secret. I
  309. started business economics studies back in 1966 at the age of 21. At that
  310. time when I studied for my M.Sc.(econ.) degree I had business mathematics as
  311. my major and seriously considered a career in computer applications. Although
  312. I liked the idea very much I thought that taking computers as a profession
  313. might make me too stereotyped (even more than what I am now :-) exactly
  314. because it interested me so much. So, after graduating in 1970 I decided for
  315. a research career, and wrote a dissertation in operations research back in
  316. 1975. In doing this I naturally could utilize computers quite a bit. But now
  317. came the big hitch. In the 1970's operations research was in the middle of
  318. what I call the OR applications crisis. Surveys with managers had shown that
  319. although operations research models were developed further and further in the
  320. academic journals, they really were not much used in real life except for
  321. very routine-like applications. (I mean on a grand scale. Individual OR-
  322. business applications do exist.) Looking at the situation, and at my
  323. university career, I came to the conclusion that this really was getting me
  324. nowhere. I decided to look for a more relevant discipline. Now operations
  325. research has some nice methods, but the operations research problems stated
  326. in the academic field have little practical relevance. On the other hand the
  327. problems and the subject of accounting certainly is relevant, but the methods
  328. employed are unsophisticated and even naive. So I decided to move over to
  329. accounting, and take the methodology with me. This is a decision I have never
  330. regretted since, even if it is true that it was particularly difficult to get
  331. a tenured professorship in the chronically inbreeding Finnish accounting
  332. society (and this is putting it very mildly, indeed). Fortunately, I have
  333. like-minded, very good accounting colleagues at the University of Vaasa. But
  334. the interest towards computers and programming has stayed with me trough all
  335. these stages, although I am foremost a researcher of accounting and business
  336. finance at heart. My current interests in research are in modern financial
  337. statement analysis, but this is already another story.
  338.