ZX-News #15
19 ноября 1996 |
|
Terminalka - What is a modem. - Macros. Text and Hobeta.
What is a modem. (C) Alexei Mikhailov Part Two. Macros. Quite often, those who enjoy isdosnoy terminalkoy or Macro-Modem'om, utter incomprehensible word MACRO. Like would, macros are in the best text editors, but you terminalka - is not a text editor ... Yes, in the terminal programs MACROS or macros are used for other purposes, rather than a text editor. Imagine this situation: You friend testing the modem, you need the tube was placed permanently, but sometimes happens that the voice and speak it-would be nice. And so, in order to Your friend picked up the phone, you dial in keypad to spell "With H & M and t r y b and y" ... And so every time. : (But if you make a macro "Pick up the handset and press the EXT + one of twenty-six letters of the alphabet, for which you have given macro, the program will give him a line. Ie instead of having to dial 12 letters, you press only two buttons. In Is-Dos'e macros are created in the ordinary text file, whose name can be specified using the "setapnoy" utility "vicomset.com". The file format is as follows: ---- AHello, John! BVery nice ... CSuks Andes mastday ---- Ie the first letter in a row - the letter macro. In Is-Dos can be used as lowercase and uppercase letters as well as some of the characters. True, imho, on a daily basis rarely need more than fifteen to twenty macros, even taking into account "Bibiesnyh. Yes, yes, on the shoulders of macros can be given to navigate the bbs-nym menu! Well, in the MMD with macros to work more convenient. In the program there is a built-in macro editor which is invoked by key EXT + cs / letter. You are in the menu create a macro that looks like this: 1. Macro Editor 2. The following macro 3. Prededuschy macro 4. Length 31 (63) Directly in the editor window you will see that macro, the letter which you have clicked with Caps shift, when he went into it. Using paragraphs 2 and 3 can be moved between macros in the beginning or end of the alphabet. Selecting the "1", you can create a new macro or edit an existing. Paragraph "4" indicates which has a maximum length of your macro. Length 31 have the usual macros, but if you this is not enough, you can combine two adjacent macros into one, for example, A and B. Then the total length is 63 characters. If you are working with the system of Maximus, which is installed, for example, Eldorado, you can use the simplest built-in "mylerom. For this purpose there "Arrow" - UpLoad and "Down Arrow" DownLoad. This sign at the end of the macro means that immediately after transmission of the macro terminalka automatically goes to sending or receiving file. The advantages of such mailer'a obvious. We collect the macro: bcf =, <Enter>, q, y,and the program will download in five msg qwk-format from the current echo area, since this msg. If you are not worth default communication protocol (X-Modem for Vicomm'a), then to put an arrow More and "x". Oh, if only Comrade. Sergey Usov did so, to a qwk-packaged format not five letters, as, for example, the current on Recently ... Part Three. Text and Hobeta. After receiving the file, the program, again automatically save it to disk under name specified in the menu, "LOG". Each subsequent file MMD will record by placing in the name of the figure is one more. For example, the first time the file type "Text" will be saved as "Text 00.C", the second time under the name "Text 01.C", the third, as "Text 02.C "and so on. In principle, the first six characters of the name can be changed in the menu "LOG". In the attentive reader must be immediately was a question: "What if the volume All letters will exceed the 256 sectors, the most affordable in the Tr-Dos for a single file? Do not worry, will not exceed ... In SetUp'e have the option to "Text 16K (64K). You can themselves set the maximum size of a received text file. Moreover, if the length of the text reaches the mark, file is automatically written to the disk, ie The program itself splits long text files and writes them to disk! You may ask why I so often use the word "automatically"? Yes, because I want to show how many Macro-Modem easier for you to work with bbs in comparison with all other terminal programs. Let us return to the length of the file in the format "Text", or "IBM", as you wish. I recommend to set the size of 16K, because then you can read (poredaktirovat) text Tr-Dos'nom any text editor. 64K needed mainly to those who love Is-Dos. Envelope file to the Is-Dos and read on your health ... By the way, built-in MMD view'er you can view any files (and not just text) 256 sectors! There. Now for those who do not know that is the file type "Text" ("IBM"), and that such "Hobeta". Since all fidoshnye servers (in particular, Eldorado) are on the IBM PC, then format text file when working with them pisishny used, ie transmit / receive Text files should be WITHOUT ANY Tr-Dos'nogo headlines! Terminalka it myself cuts, but do not forget to type "Text". While there was no "Hobet" 's, users pisishnyh bbs had not only the texts, and basic-files, and code blocks to send the type "Text". And in order to run this file to anyone who downloaded it, it was necessary to know the parameters of the title. As is known, the file header (element Catalogue) consists of 16 bytes. Headers stored in the 0th track of the disk and look as follows: Length of Appointment (B) 8 Filename 1 Type (Basic, Code, etc.) 2 Start address 2 Length 1 Number of sectors 1 Number of first sector 1 Number of tracks Before the advent of "Hobet" 's it was necessary describe the titles of all the transferred files in a single text file, and then whoever this download, had a disk-doctor manually affix the necessary headers moreover, in hexadecimal. About it is now suffering fans Is-Dos, which take Tr-Dos'nuyu toy in his favorite system, and then envelope it unloved ... True, in the Is-Dos are already much easier with this case, since pisihe already have "Hobeta", and the header file You can learn to use the utility "Dehobeta.com". The utility creates a disk file with the "cod", which is an envelope in the Tr-Dos, as well as with the extension "txt", in which given format zagoloka. But why all these problems and suffering, if you can right in the Tr-Dos'e take a toy and do not use up all the notebooks and any other paper, which fell in a field of view, the numbers of the form: 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10. And this is only one file is not important, basic or code! To summarize vesheskazannomu. Type Text - file without a header. With the advent of hobety no longer any need to pass this type of toys and other exe / cod-files. It is used to send text files on the bbs. Type "Hobeta" needed to transfer all the rest. Moreover, TS-dosny title saved and the file immediately after admission, You can run. To be continued ... __________________________
Other articles:
Similar articles:
В этот день... 21 November