home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 November / PCO_1198.ISO / filesbbs / os2 / msgte5_o.arj / DOC-INF / MSGED.INF (.txt)
Encoding:
OS/2 Help File  |  1998-09-22  |  111.2 KB  |  3,731 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Title page ΓòÉΓòÉΓòÉ
  3.  
  4.                                MsgEd TE 05 Manual
  5.  
  6.                   A Public Domain Fidonet Message Reader/Editor
  7.  
  8.                            Tobias Ernst @ 2:2476/418.0
  9.  
  10.  
  11. ΓòÉΓòÉΓòÉ 2. Top node: "MsgEd TE" ΓòÉΓòÉΓòÉ
  12.  
  13. This document describes MsgEd TE 05, a Public Domain Fidonet Message Reader and 
  14. Editor Software for OS/2, Windows, DOS and Unix. 
  15.  
  16. Overview                                What is MSGED? 
  17. Installation                            Installation and Release Notes. Read 
  18.                                         this! 
  19. Introduction                            Using MSGED. A guide for beginners. 
  20. Advanced Concepts                       Advanced features and concepts. 
  21. Keyboard Reference                      How to use and change the key 
  22.                                         combinations. 
  23. Configuration Reference                 Explanation of the configuration file. 
  24. Compiling                               Appendix: How to compile the source 
  25.                                         code. 
  26. Concept Index                           General Index 
  27. Keyword Index                           Configuration File Keywords Index 
  28.  
  29.  
  30. ΓòÉΓòÉΓòÉ 3. An Overview on MsgEd TE 05. ΓòÉΓòÉΓòÉ
  31.  
  32. MsgEd TE is a message reader and editor software for Fidonet (and compatible) 
  33. network(s), supporting Squish, Hudson and Fido *.MSG message bases. This 
  34. program is released to the public domain.  There are absolutely no usage or 
  35. distribution restrictions. This is truely free software. 
  36.  
  37. MsgEd TE emerged from MsgEd, a public domain fidonet message reader initially 
  38. written by Jim Nutt and thereafter maintained by numerous people (among them 
  39. Paul Edwards, Andrew Clarke, and Kim Lykkegaard, who is currently maintaing 
  40. MsgEd). MsgEd TE is being developed by Tobias Ernst. You can reach me at 
  41. 2:2476/418 or via e-mail at tobi@bland.fido.de. 
  42.  
  43. MsgEd TE differs from the mainstream MsgEd in that it tries to support a vast 
  44. number of platforms by employing portable software design techniques. It is my 
  45. policy to release executables and source code at the same time for all 
  46. supported platforms, among them OS/2, Unix (Linux and FreeBSD as well as 
  47. commercial Unix systems), Windows NT and 16-bit DOS. 
  48.  
  49. MsgEd TE is developed with the GNU C compiler and GNU boundary checking, which 
  50. assures high program stability. MsgEd TE also has some features that the 
  51. mainstream MsgEd currently has not, like full "seamless" internet gateway 
  52. support for Fidogate and simliar gateway programs. 
  53.  
  54. In developing MsgEd TE, I am in contact with the mainstream MsgEd developer 
  55. team, so most features they introduce will be migrated to MsgEd TE, and most 
  56. features that I introduce in MsgEd TE will possibly also be migrated to the 
  57. mains team MsgEd over time. There is no "rivalry" between Kim and me, it is 
  58. just that we have a little different goals in mind and therefore decided to 
  59. maintain separate streams of MsgEd. 
  60.  
  61. If you like MsgEd TE and start to use it as your everyday Fidonet editor, 
  62. please drop me a note saying that you do so at `Tobias Ernst @ 2:2476/418' or 
  63. at `tobi@bland.fido.de'. I originally started to work on MsgEd TE to create a 
  64. Fidonet editor that fulfilled some special personal needs of mine. Since then, 
  65. things evolved and I saw myself doing a lot of work that I would not have done 
  66. just for my own needs. Writing this documentation is one such example, porting 
  67. to Windows NT another. If I continue to do this work in the future and add new 
  68. features to MsgEd TE will strongly depend on how much feedback I receive from 
  69. users that like and use MsgEd TE. Therefore: Don't be shy - drop me a mail. :-) 
  70.  
  71. At this place, I also would like to express my thankfulness to all people that 
  72. helped making MsgEd TE what it is now, that being all the developers that haved 
  73. worked on the sources in the past, the team that makes MsgEd 4.30, and all the 
  74. beta testers that used the Pre-Release of MsgEd TE 05. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 4. Installation Procedures and Release Notes ΓòÉΓòÉΓòÉ
  78.  
  79. This chapter provides you with information that is necessary to successfully 
  80. install and use MsgEd TE. Part of this chapter applies to all versions of MsgEd 
  81. TE, while some sections only apply to a particular operating system. If this is 
  82. the case, the particular operating system is mentioned in the section title. 
  83.  
  84. You should carefully read this chapter because it might save you from a lot of 
  85. pain, especially (but not only) when using MsgEd TE in networked or UNIX 
  86. environments. 
  87.  
  88. Distribution Archives                   Which archives do I need? 
  89. Non-Unix Installation                   Installing MSGED on OS/2, DOS or 
  90.                                         Windows 
  91. UNIX installation                       Installing MSGED on Linux or Unix 
  92. Network Notes                           Using Fido software in a network 
  93.                                         environment. 
  94. Known Bugs                              Known bugs and shortcomings of MSGED 
  95. Contact                                 Contacting the author, support, bug 
  96.                                         reports. 
  97.  
  98.  
  99. ΓòÉΓòÉΓòÉ 4.1. Which Distribution Archives do I need? ΓòÉΓòÉΓòÉ
  100.  
  101. MsgEd TE 05 is shipped in various distribution archives. This section describes 
  102. the contents of each. You normally do only need one of these files containing 
  103. the executable and documentation for your platform, and maybe the file that 
  104. contains the printable version of the documentation. 
  105.  
  106. `MSGTE5_O.ZIP' 
  107.           This archive contains an OS/2 executable, sample configuration files 
  108.           and a manual in OS/2 INF format. 
  109.  
  110. `MSGTE5_D.ZIP' 
  111.           This archive contains a 16-Bit DOS executable, sample configuration 
  112.           files and a manual in plain text format. 
  113.  
  114. `MSGTE5_3.ZIP' 
  115.           This archive contains a 32-Bit DPMI DOS executable, sample 
  116.           configuration files and a manual in plain text format. 
  117.  
  118. `MSGTE5_W.ZIP' 
  119.           This archive contains a Windows 32 bit executable that has been 
  120.           tested on Windows NT, but should also work with Windows 95 and 98, 
  121.           sample configuration files and a manual in HTML format. 
  122.  
  123. `MSGTE5_L.ZIP' 
  124.           This archive contains a statically linked, pre-compiled Linux 
  125.           executable, sample configuration files and a manual in HTML format. 
  126.  
  127. `MSGTE5_M.ZIP' 
  128.           This archive contains the manual for MsgEd TE in Postscript and in 
  129.           HTML format. If you intend to print the documentation of MsgEd TE, 
  130.           then you should get this file and use the Postscript version, because 
  131.           printing the Postscript version of the manual (by copying it to the 
  132.           printer port of a postscript capable printer, or by using 
  133.           Ghostscript) will result in the best possible output that looks much 
  134.           nicer than if you would print the HTML or plain text documentations. 
  135.  
  136. `MSGTE5_S.ZIP' 
  137.           This archive contains the complete C source code for MsgEd TE, 
  138.           out-of-the-box makefiles for building MsgEd TE on DOS, OS/2, Windows, 
  139.           and almost every imaginable Unix-like system (tested systems include 
  140.           Linux, FreeBSD and IBM AIX), sample configuration files, and the 
  141.           texinfo source code for the manual that can be used to build the 
  142.           manual in OS/2 INF, HTML, GNU info or DVI format. You will also need 
  143.           `SMAPISS.ZIP' if you intend to compile MsgEd TE yourself. 
  144.  
  145. `SMAPISS.ZIP' 
  146.           This archive contains a snapshot of the source code level of the 
  147.           SMAPI (alternative Squish Message API) that has been used to compile 
  148.           the binary versions of MsgEd TE 05. Note that bug reports for MsgEd 
  149.           TE are only considered if you used exactly this version of the SMAPI 
  150.           to compile MsgEd TE or a newer version obtained from the Linux 
  151.           Fidosoft Project. All other versions of the SMAPI (that is 
  152.           `SMAPI11.ZIP' through `SMAPI15.ZIP') have severe bugs that make it 
  153.           impossible for this version of MsgEd TE to function properly under 
  154.           all circumstances. 
  155.  
  156. Attention: Most of these ZIP-files contain subdirectories, so you should use 
  157. the `-d' option when unzipping them! 
  158.  
  159.  
  160. ΓòÉΓòÉΓòÉ 4.2. Installation on OS/2, DOS or Windows ΓòÉΓòÉΓòÉ
  161.  
  162. This section provides guidelines and additional notes for installing MsgEd TE 
  163. on OS/2, DOS or Windows. 
  164.  
  165. Non-Unix Installation Guide 
  166. 16-Bit DOS Release Notes 
  167. 32 Bit DOS Release Notes 
  168. OS/2 Release Notes 
  169. Windows Release Notes 
  170.  
  171.  
  172. ΓòÉΓòÉΓòÉ 4.2.1. Installation Procedure ΓòÉΓòÉΓòÉ
  173.  
  174.  1. Obtain the distribution archive that contains the executable for your 
  175.     platform. (You might already have done this). 
  176.  
  177.  2. Create a subdirectory like for example `C:\MSGED', change into this 
  178.     subdiretory, and unzip the distribution archive. Be sure to use the `-d' 
  179.     option when unzipping the archive, because some archives contain 
  180.     subdirectories. (You might already have done this). 
  181.  
  182.  3. Find out which codepage you are using by issueing the CHCP command. If it 
  183.     is 437, you do not have to take any action. If it is 850, you have to 
  184.     rename `????maps.dat' to `????maps.437' (for backup purposes), and then you 
  185.     must rename `????maps.850' to `????maps.dat'. (Alternatively, you could 
  186.     consider writing a batch file that first calls CHCP 437 and then calls the 
  187.     MsgEd TE executable.) 
  188.  
  189.  4. Rename the file `sample.cfg' to `msged.cfg' and modify it according to your 
  190.     needs with your favoruite text editor. See Configuration Reference for 
  191.     detailed descriptions of each keyword that can be used in this file. 
  192.  
  193.  5. You should now refer to the platform specific release notes found below 
  194.     before trying to start MsgEd TE. They can save you from a lot of headaches 
  195.     ;-). 
  196.  
  197.  6. Optionally create an icon on your desktop or a batch file that starts the 
  198.     proper executable (`MSGEDP.EXE' for OS/2, `MSGEDNT.EXE' for Windows 
  199.     95/98/NT, `MSGED.EXE' for DOS, or `MSGED32.EXE' for 32-Bit DOS with DOS 
  200.     extender) with the directory you created (`C:\MSGED' in the example above) 
  201.     as working directory). 
  202.  
  203.  7. Start MsgEd TE. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 4.2.2. Release Notes for the 16-Bit DOS version (MSGED.EXE) ΓòÉΓòÉΓòÉ
  207.  
  208. o The 16 bit DOS version cannot handle squish message areas where the `.SQI' 
  209.   file is larger than 64k. This limits the size of a message area to about 5000 
  210.   messages. If this is a problem to you, you should use the 32 bit DOS DPMI 
  211.   version instead. 
  212.  
  213. o The 16 bit DOS version has been compiled with Borland C 3.1. 
  214.  
  215.  
  216. ΓòÉΓòÉΓòÉ 4.2.3. Release Notes for the 32 Bit DOS version (MSGED32.EXE) ΓòÉΓòÉΓòÉ
  217.  
  218. o The 32 bit DOS version should be used when the 16 bit DOS version runs out of 
  219.   conventional memory (which is very unlikely to happen) or if you want to use 
  220.   message areas with more than 5000 messages in them. In all other cases, the 
  221.   16 bit version is the better choice because it uses less memory 
  222.  
  223. o If you have Windows 95 or Windows NT, you should use the Windows NT 
  224.   executable rather than the 32 Bit DOS executable. On Windows 95, the reason 
  225.   is that the Windows 95 DPMI server is a little buggy, and on Windows NT, the 
  226.   native NT version is much faster than the DOS version. - The 32 Bit DOS 
  227.   Version is primarily targeted on environments like DESQview, plain DOS or 
  228.   Windows 3.1. 
  229.  
  230. o The 32 bit DOS version requries a functional DPMI server to run. Valid DPMI 
  231.   servers include the Windows and OS/2 DOS box, Quarterdeck QDPMI, and others. 
  232.  
  233. o In case you are running plain DOS without any DPMI server, `CWSDPMI.EXE' is 
  234.   shipped in the distribution archive. Simply but it in the same path where you 
  235.   put `MSGED32.EXE', and it will act as an DPMI server as long as no other one 
  236.   is installed already. Please note that CWSDPMI is not a public domain 
  237.   program. It is licensed under the GNU Public License instead. You can obtain 
  238.   the full source code for CWSDPMI and a copy of the GNU license from 
  239.  
  240. o The 32 bit DOS version has been compiled using the DJGPP GNU compiler. 
  241.  
  242.  
  243. ΓòÉΓòÉΓòÉ 4.2.4. Release Notes for the 32 Bit OS/2 version (MSGEDP.EXE) ΓòÉΓòÉΓòÉ
  244.  
  245. o The OS/2 version has been compiled with the EMX GNU compiler, but does no 
  246.   longer require the EMX runtime. It is a standalone OS/2 executable. 
  247.  
  248.  
  249. ΓòÉΓòÉΓòÉ 4.2.5. Release Notes for the 32 Bit Windows version (MSGEDNT.EXE) ΓòÉΓòÉΓòÉ
  250.  
  251. o The Windows version is a 32 bit executable designed for Windows NT. Although 
  252.   it has only been tested on Windows NT, it should also work on Windows 95 and 
  253.   Windows 98. 
  254.  
  255. o The Windows version presently does not support mouse control (even though the 
  256.   mouse cursor is visible). 
  257.  
  258. o The Windows version has been compiled with the RSXNT GNU compiler. It is a 
  259.   standalone executable that does not require any runtime DLLs. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 4.3. Installation on Linux, FreeBSD, or other Unixes ΓòÉΓòÉΓòÉ
  263.  
  264. This section provides information on installing MsgEd TE on Linux, FreeBSD or 
  265. any other Unix-like system. 
  266.  
  267. UNIX Installation Procedure             How to install MSGED. 
  268. Notes on UNIX terminal I/O              How MSGED handles the terminal. 
  269. Notes on UNIX keyboard input            Escape Meta Alt Control Shift ;-) 
  270. Notes on Big Endian Hardware            Running MSGED on RISC processors. 
  271. Colors in the Unix version              How to enable colors. 
  272.  
  273.  
  274. ΓòÉΓòÉΓòÉ 4.3.1. Installation Procedure ΓòÉΓòÉΓòÉ
  275.  
  276. If you are using Linux you can get the Linux distribution archive which 
  277. contains a pre-compiled binary. If you are running any other Unix (including 
  278. FreeBSD, which due to a strange problem in the termios code won't run the Linux 
  279. binaries properly) you have to compile the source code on your own (which 
  280. usually is not much of a problem). See Compiling the Soruce Code, for more 
  281. information on this. 
  282.  
  283. The following describes the installation of the files from the Linux 
  284. distribution archive. If you have compiled MsgEd TE yourself, you will find the 
  285. files that are mentioned below in slightly different locations (much in the 
  286. doc/ subdirectory), but they are all present somewhere in the source code 
  287. archive as well, after you have done all build actions as described in the 
  288. appendix. 
  289.  
  290.  1. Create a temporary working directory and change into it: 
  291.  
  292.         ~ $ mkdir ~/msged-work
  293.         ~ $ cd ~/msged-work
  294.  
  295.  2. Unzip the Linux distribution archive: 
  296.  
  297.         ~/msged-work $ unzip ~/msgte5_l.zip
  298.  
  299.  3. Fix the file permissions of the executable file: 
  300.  
  301.         ~/msged-work $ chmod guo+x msged
  302.  
  303.  4. The executable can be either installed system-globally in `/usr/local/bin' 
  304.     or some other location, or locally in the `~/bin' subdirectory of your home 
  305.     directory: 
  306.  
  307.         ~/msged-work $ su root
  308.         Password:
  309.         /home/someone/msged-work # cp msged /usr/local/bin
  310.         /home/someone/msged-work # exit
  311.  
  312.  5. At this time, for security reasons, each user that wants to use MsgEd TE 
  313.     needs to have his individual configuration files in his home directory. 
  314.     Copy the file `sample.cfg' to `~/.msged': 
  315.  
  316.         ~/msged-work $ cp sample.cfg ~/.msged
  317.  
  318.  6. You have to copy some other files as well: 
  319.  
  320.         ~/msged-work $ cp msghelp.dat ~/.msged.hlp
  321.         ~/msged-work $ cp sample.tpl ~/.msged.tpl
  322.         ~/msged-work $ cp scheme.004 ~/.msged.colors
  323.         ~/msged-work $ cp readmaps.dat ~/.msged.readmaps
  324.         ~/msged-work $ cp writmaps.dat ~/.msged.writmaps
  325.  
  326.     Note that if you have the source code distribution, you must take 
  327.     `readmaps.dat' and `writmaps.dat' from the `bin/latin' subdirectory 
  328.     (assuming that your Unix machine uses the ISO 8859-1 character set). 
  329.  
  330.  7. Modify the configuration file `~/.msged' with your favourite text editor 
  331.     according to your needs. See Configuration Reference for detailed 
  332.     descriptions of each keyword that can be used in this file. 
  333.  
  334.  8. You should now refer to the Unix specific release notes found below before 
  335.     trying to start MsgEd TE. They can save you from a lot of headaches ;-). 
  336.  
  337.  9. Also, if you plan to share a message base between Non-Unix and Unix 
  338.     systems, you absolutely must read the chapter devoted to problems with 
  339.     shared message bases in heterogenous networks ( see Using Fidonet software 
  340.     in network environments). 
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 4.3.2. How Terminal I/O is handled on Unix ΓòÉΓòÉΓòÉ
  344.  
  345. MsgEd TE does neither use the curses library for most of its tasks, nor does it 
  346. make use of termcap or terminfo data bases. The way that MsgEd TE uses to 
  347. create its full screen interface is to emit ANSI x3.64 character control 
  348. sequences. This is a common subset of control sequences that is recognised, 
  349. among others, by VT52, VT100, VT200 and higher VTxxx terminals, by xterm, by 
  350. the FreeBSD and the Linux console, by the OS/2 telnet program, and others.  In 
  351. order to enable special features like color support based on the TERM variable, 
  352. you can use IF constructs in the configuration file, as shown in the sample 
  353. configuration file. 
  354.  
  355. I have tested this on several Unix boxes and it worked remarkably well. For 
  356. optimum results, you should use the `scheme.004' color scheme file found in the 
  357. `doc/' resp. `samples/' subdirectory. If you have problems seeing the cursor in 
  358. an xterm, you should start the xterm with the option `-cr white'. 
  359.  
  360. If the display is corruped by system log daemon messages or similar, you can at 
  361. any time during program execution press Ctrl-L to redraw the screen. 
  362.  
  363.  
  364. ΓòÉΓòÉΓòÉ 4.3.3. Special Notes on Keyboard Input ΓòÉΓòÉΓòÉ
  365.  
  366. Due to the history of MsgEd TE, it heavily depends on typical PC keyboard 
  367. combinations like Alt-keys, combinations of Ctrl with cursor keys, and so on. 
  368. Not all of them are easy to reflect on a Unix console or in an xterm. 
  369.  
  370. As for the Alt keys (Alt-X and so on): MsgEd TE tries to recognize all sorts of 
  371. ways in which clients reflect Alt or Meta key combinations. If that still does 
  372. not work on your console, besides contacting me so that I can fix it, you can 
  373. emulate an Alt key with the Esc key: If you press and release the Esc key and 
  374. then press a letter, MsgEd TE will treat this as if you pressed Alt and that 
  375. letter. However, you have to do this fast, because if no key is pressed after 
  376. the Esc for more than 0.2 seconds, MsgEd TE will assume that you really meant 
  377. to press a single Esc key, which is also frequently used in MsgEd TE. 
  378.  
  379. Some other key combinations, like Ctrl-Left and so on, are not reproducable in 
  380. an xterm or on a Unix console at all. Therefore, the sample configuration file 
  381. `sample.cfg' contains a bunch of settings that bind those functions that are by 
  382. default bound to key combinations that cannot be keyed on Unix to other key 
  383. combinations. 
  384.  
  385. A nasty little problem might occur with the backspace key. If, on your system, 
  386. the backspace key deletes the character under the cursor rather than the 
  387. character on the left hand side of the cursor, you might have to turn the BS127 
  388. switch on by adding Switch BS127 On to your configuration file. The sample 
  389. configuration file already contains correct settings of the BS127 switch for 
  390. some widespread Unix consoles. 
  391.  
  392. Entering national special characters like the German a dieresis, or the french 
  393. accented characters, is always a problem on Unix. If you want to do that with 
  394. MsgEd TE, refer to the sample configuration file and the documentation on the 
  395. EnableSC keyword ( see The EnableSC keyword). 
  396.  
  397. If all this sounds very clumsy to you, perhaps you might volunteer to create a 
  398. more Unix-friendly keyboard layout for MsgEd TE. MsgEd TE allows to freely 
  399. redefine the keyboard layout. See Redifining the Keyboard Bindings, for more 
  400. information on this. The first person that provides me with a really 
  401. Unix-friendly set of `ReadKey' and `EditKey' configuration statements will 
  402. receive special honour in this manual ... 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 4.3.4. Notes on Big Endian Hardware ΓòÉΓòÉΓòÉ
  406.  
  407. A large part of MsgEd TE and the underlying message API has been made 
  408. independent of little/big endian or structure packing issues. This means that 
  409. in principle you can compile MsgEd TE on Alpha, PowerPC, Sparc, or whatever 
  410. exotic hardware and it will read and write exactly the same binary format files 
  411. like the Intel versions do. You do not even have to specify any special 
  412. compile-time switch for compiling on big endian hardware. 
  413.  
  414. However, some things do not yet work on big on non-Intel machines. This 
  415. includes: 
  416.  
  417. o the QuickBBS / Hudson Message Base routines 
  418.  
  419. o the Fido *.MSG routines 
  420.  
  421. o the routines for reading a `fastecho.cfg' configuration file. 
  422.  
  423. This means that you presently must restrict yourself to a Squish message base 
  424. and a `squish.cfg' configuration file if you want to run MsgEd TE on big endian 
  425. hardware. This will be definietly fixed in a future release. 
  426.  
  427.  
  428. ΓòÉΓòÉΓòÉ 4.3.5. Colors in the Unix version ΓòÉΓòÉΓòÉ
  429.  
  430. The UNIX verison of MsgEd TE, by default, presents itself in spartanic black 
  431. and white, because this is most compatible with any existing terminal type. 
  432. Even if you use the Color configuration keyword to define custom colors, MsgEd 
  433. TE still will transform all your color definitions into a black and white 
  434. equivalent. 
  435.  
  436. If you want to see MsgEd TE displayed in nice colors, you need to enable 
  437. extended ANSI color codes: 
  438.  
  439. Switch Colors On         # enable ANSI color codes
  440. Include ~/.msged.colors  # include the color configuration
  441.  
  442. Of course you need a terminal that supports ANSI color codes. Among others, 
  443. these are the Linux console (but not the Linux xterm!), the FreeBSD console, 
  444. the "color-xterm" or "xterm-color" or "nxterm" terminal emulators, and the 
  445. FreeBSD xterm. You can use Conditionals to switch the Colors switch either on 
  446. or off depending on the TERM variable. See Conditional Statements in the 
  447. Configuration File, for more information. 
  448.  
  449. The sample color scheme file `color.004', that you copied to `~/.msged.colors' 
  450. during the installation process, contains color settings with sensible values. 
  451. If, after adding the two lines from the example above to your configuration 
  452. file, parts of the screen or message text are invisible, your terminal probably 
  453. does not correctly support ANSI color codes. 
  454.  
  455.  
  456. ΓòÉΓòÉΓòÉ 4.4. Using MsgEd TE and other Fido software in networked environments ΓòÉΓòÉΓòÉ
  457.  
  458. Sysops that have more than one computer often use network filesystems like SMB 
  459. (also known as Lan Manager, OS/2 peer services, the Windows Network, et 
  460. cetera), Novell or NFS to share their message base among multiple computers. 
  461. Depending on your environment, there are some problems buried into this 
  462. approach that might cause hidden data loss and might be unaware to you. These 
  463. problems are not specific to MsgEd TE, but pertain to any Fidonet software that 
  464. uses the Squish, JAM or Hudson message base format. I feel enforced to devote a 
  465. section of this documentation to these problems to save you from encoutering 
  466. severe unexpected problems in your installation, especially as with the 
  467. addition of Linux or Unix to such a network, the problems tend to increase 
  468. dramatically. 
  469.  
  470. Access Synchronisation                  Description of the general problem. 
  471. Samba                                   Access Sync. with Lan Manager / Samba 
  472. NFS                                     Access Synchronisation with NFS 
  473. Novell                                  Access Synchronisation with Novell 
  474. Network Essence                         Conclusions to draw from this chapter 
  475.  
  476.  
  477. ΓòÉΓòÉΓòÉ 4.4.1. Description of the Problem: Why we need access synchronisation. ΓòÉΓòÉΓòÉ
  478.  
  479. The issue that we are talking about is access synchronisation.  In a 
  480. multi-tasking or networked environment, it happens that two or more programs 
  481. simultaneously access the message base. Therefore, the Squish Message API (this 
  482. is the piece of software that all Fidonet programs internally use to access the 
  483. message base files) needs a way to ensure that no other Fidonet program can 
  484. gain access to the message base file while itself is doing vital modifications 
  485. on it. Otherwise, data could be screwed up or even lost if two programs would 
  486. modify the same file simultaneously. 
  487.  
  488. As long as your message base resides on a single computer, you do not have a 
  489. big problem with access synchronisation. On OS/2, Windows NT and DOS, access 
  490. synchronisation is done via so called record locks, which works reliably. On 
  491. Linux and other Unix system, access control is performed using so called 
  492. voluntary locks by all programs that use the `SMAPI' edition of the Squish 
  493. Message API. This is not as safe as the "record locks" feature. Voluntary locks 
  494. can only synchronize programs that use them, i.E. programs that use the 
  495. `SMAPI', like MsgEd TE or hpt. If you wish to use other Fidonet programs on 
  496. Unix, you should ask the author if he employs voluntary locks for access 
  497. synchronisation. If he doesn't, do not use his software. 
  498.  
  499. Things get more complicated in a networked environment, because there, not only 
  500. different applications have to synchronize among themselves, but different 
  501. computers also have to be synchronized. Or in other words, the network file 
  502. system that you use must correctly propagate record and/or voluntary locks that 
  503. have been set on one computer to all other computers. 
  504.  
  505.  
  506. ΓòÉΓòÉΓòÉ 4.4.2. Access synchronisation on a Lan Manager (SMB) network. ΓòÉΓòÉΓòÉ
  507.  
  508. The SMB network protocol (also known as Lan Manager protocol, or OS/2 Peer 
  509. Network, or Windows network), in principle, has support for propagating record 
  510. locks over the net. Tests proved that it works quite well in all systems except 
  511. Linux (Unix). This means that as long as your network only has OS/2, Windows 
  512. 3.11/95/NT and DOS (with `SHARE.EXE' loaded) systems, you do not have to worry 
  513. about access synchronization. 
  514.  
  515. If you add a Linux box to a SMB network, things get more complicated. For 
  516. adding Linux to a SMB network, the Samba program is used. The Samba server (as 
  517. of version 1.9.18.p8, which has been used for all tests described below) has 
  518. some support for record locks, but it has restrictions. The Samba server will 
  519. not grant a program running on computer A access to a message base file while a 
  520. program running on computer B has placed a record lock on this file. However, 
  521. it will frankly grant a second program running on computer B access to this 
  522. file even while the first program running on computer B still has a lock on 
  523. this file. This is a bug in the Samba server. It hope it will get fixed in 
  524. further releases. - A further shortcoming of the samba server is that it does 
  525. not convert voluntary locks placed on the Unix side into record locks visible 
  526. on the OS2/DOS/Windows side. This means that any OS/2 program, for example, can 
  527. always access the message base file even if a Linux program holds a lock on the 
  528. file. 
  529.  
  530. Also, neither of the available samba clients (smbfs, rumba) have support for 
  531. propagating voluntary locks as record locks. 
  532.  
  533. The essence of this is: You cannot savely share a message base between 
  534. Linux/Unix and Non-Unix systems using Samba. All you can do is place the 
  535. message base on a Samba server if you assure that no other Linux program 
  536. accesses the message base, and that only OS/2, DOS and Windows clients connect 
  537. to the Samba server, and further more that on those clients, only one program 
  538. at a time tries to access the message base (that is: a client with a 
  539. multitasking OS that runs the tosser must not have any editor installed, and 
  540. you should never start up two editors simultaneously on any client). 
  541.  
  542. This is harsh, but true. Write mails to the programmers of Samba and beg them 
  543. to fix the problem with multiple programs on one clients, and to implement the 
  544. feature to convert voluntary locks on Unix side into record locks on Non-Unix 
  545. side. Perhaps the situation will then change in the future. 
  546.  
  547.  
  548. ΓòÉΓòÉΓòÉ 4.4.3. Access synchronisation on NFS ΓòÉΓòÉΓòÉ
  549.  
  550. As for NFS, NFS itself does not support any kind of access synchronization at 
  551. all (!). Access synchronization on NFS is performed using an additional daemon 
  552. software called `rpc.lockd'. So if you have a NFS server that has a functional 
  553. `rpc.lockd' daemon and all NFS clients support the rpc.lockd protocol, then you 
  554. can use NFS to share a message base between multiple computers. The bad news is 
  555. that I have not seen a working `rpc.lockd' on either FreeBSD or Linux, and at 
  556. least the NFS client for OS/2 (as probably all other Non-Unix NFS clients) does 
  557. not support the rpc.lockd protocol. If you want rpc.lockd to work, you 
  558. currently must use AIX or Digital Unix or maybe also some other commercial 
  559. Unix. Not an option for the home user, I fear. 
  560.  
  561. The essence is: You cannot use NFS to share a message base between multiple 
  562. computers. 
  563.  
  564.  
  565. ΓòÉΓòÉΓòÉ 4.4.4. Access synchronization on Novell networks ΓòÉΓòÉΓòÉ
  566.  
  567. Finally for Novell: I do not have any information on Novell networks. I suppose 
  568. that they natively do support record locking, but I do not know if or how the 
  569. existing Novell clients for Linux/Unix do support it. 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 4.4.5. The essence of this section about network usage is: ΓòÉΓòÉΓòÉ
  573.  
  574.  1. You can savely share a message base among multiple computers in a Lan 
  575.     Manager (OS/2 Peer, Windows Network, SMB Network, ...) network as long as 
  576.     no Linux or Unix computer is involved. 
  577.  
  578.  2. You can place the message base on a Linux/Unix fileserver running samba 
  579.     only as long as no fidonet software is running on the file server, no Linux 
  580.     or Unix client is involved, and all other clients take care that only one 
  581.     Fidonet program at a time is being run. (This includes not only the tosser 
  582.     and maintenance programs, but also the mail editor itself). 
  583.  
  584.  3. There currently is not any way to savely share a Squish, JAM or Hudson 
  585.     message base between computers if any of the computers is a Linux or Unix 
  586.     machine. If you want to run Fido on the Linux box, the Linux box has to 
  587.     have its own messagebase (usually meaning that you must install it as sysop 
  588.     point or similar). 
  589.  
  590. If you do not obey to these three rules, you sooner or later will experiences 
  591. loss or corruption of mails and mail areas. Sorry to say so. 
  592.  
  593. But what if you absolutely have to share a message base between multiple 
  594. Linux/Unix or Linux/Unix and Non-Unix computers? There is only one solution to 
  595. this problem: Use a message base format that does not require access 
  596. synchronisation. While the Squish, JAM and Hudson message base formats to 
  597. require access synchronisation because they store multiple mails in a single 
  598. file, the Fido *.MSG (also known as Opus) message base format does not have 
  599. this restriction because each mail is stored in a separate file. So Fido *.MSG 
  600. presently is the only way to go if you want to share your message base between 
  601. Linux/Unix and Non-Unix or other Unix computers. 
  602.  
  603.  
  604. ΓòÉΓòÉΓòÉ 4.5. Known Bugs and Non-Features ΓòÉΓòÉΓòÉ
  605.  
  606. This sections lists some shortcomings of the current release MsgEd TE 05. 
  607. Please do not complain to me about these problems, I am well aware of the 
  608. problems and will try to solve them in the future to the best of my 
  609. possibility. (If, on the other hand, you want to fix these problems on your 
  610. own, go ahead and send me the changes you made. They will be greatly 
  611. appreciated.). 
  612.  
  613. o The documentation is lacking a chapter that provides the beginner with a 
  614.   quick overview on how to use MsgEd TE 
  615.  
  616. o Version 7 nodelist lookup is not always working correctly (if two sysops 
  617.   accidentally have the same name, it simply yields by random the nodenumber of 
  618.   the one or the other, but does not let you select between the two of them) 
  619.   and is lacking a lot of features. It is suggested that as long as things are 
  620.   like that, you instruct your nodelist compiler to generate a `FIDOUSER.LST' 
  621.   listing file. See The UserList Keyword, for more information. 
  622.  
  623. o The Windows NT version does not allow entry of special characters by ASCII 
  624.   code using the Alt-numeric keypad - Method. Also, under Windows 95, you must 
  625.   use AltGr to create special characters. Ctrl+Alt will not work. 
  626.  
  627. o On non Intel hardware, the routines for Fido and Hudson message bases as well 
  628.   as the routines for importing `fastecho.cfg' will not work properly. 
  629.  
  630.  
  631. ΓòÉΓòÉΓòÉ 4.6. Support, Contacting the Author, Reporting Bugs, Contributing Code ΓòÉΓòÉΓòÉ
  632.  
  633. There are numerous reasons why you might wish to establish contact with me, the 
  634. author of MsgEd TE. 
  635.  
  636.  1. You have decided to use MsgEd TE on a regular basis. In this case, please 
  637.     do send me an e-mail at the address listed below. How much time I will 
  638.     spend on developing MsgEd TE in the future will heavily depend on the 
  639.     number of mails I receive from users that tell me that they do use MsgEd 
  640.     TE. 
  641.  
  642.  2. You have a general questions on how to configure or on how to use a certain 
  643.     feature of MsgEd TE. In other words, you need support. In this case, you'd 
  644.     best post your question to one of the following echos: 
  645.  
  646.    MSGED_ECHO 
  647.              The international MsgEd conference. English is the preferred 
  648.              language here. 
  649.  
  650.    OS2BBS.GER 
  651.              This German echo covers OS/2 Fidonet software. I monitor it 
  652.              regularly. 
  653.  
  654.    OS2NET.BBS.GER 
  655.              The equivalent of OS2.BBS.GER in the German OS/2 net. I monitor it 
  656.              regularly. 
  657.  
  658.     If you do not have access to any of these echos, you may of course also 
  659.     contact me via netmail or e-mail at the addresses listed below. 
  660.  
  661.  3. You want to report a bug. There are two sorts of bugs: 
  662.  
  663.     a. Normal bugs. You think that a certain function of MsgEd TE does not work 
  664.        as expected, e.g. it is producing garbage, or doing strange things, or 
  665.        similar. In this case, either post to the echos listed above, or contact 
  666.        me via netmail. Please do supply all information that is necessary to 
  667.        understand your problem. 
  668.  
  669.     b. Fatal bugs. A fatal bug occurs if MsgEd TE crashes. Depending on your 
  670.        operating system, the symptom might be a core dump, or a SYS 3175, or a 
  671.        general protection fault, or a system lockup, or a spontaneous reboot. I 
  672.        do consider a crash untolerable. No matter how stupid things you do, you 
  673.        should not be able to crash MsgEd TE. 
  674.  
  675.        If you are running the precompiled Linux binary, reporting a fatal bug 
  676.        is exceptionally easy. If you experience a crash, simply send me the 
  677.        `core' file that has been generated. You do not need to try to reproduce 
  678.        it or write extensive descriptions. Simply send the `core' file, and in 
  679.        most circumstances I will be able to fix the problem. 
  680.  
  681.        If you are running any other binary version (like OS/2, DOS, Windows), 
  682.        you will not get a core file on a crash. (On OS/2, you can write me a 
  683.        mail and ask me for sending you a debugging executable. This will 
  684.        require the EMX runtime, but generate `core' files just like the Unix 
  685.        version does. On DOS and windows, you do not have this option). Write 
  686.        down as much information as you can, try to find a way to reproduce the 
  687.        crash and contact me at the addresses below. 
  688.  
  689.  4. You want to contribute to MsgEd TE. If you are a programmer and have fixed 
  690.     a problem in MsgEd TE on your own, please submit your changes to me. The 
  691.     preferred way for doing so is to send me a difference file in GNU diff 
  692.     format. Your work will be highly appreceated and honored in an appropriate 
  693.     place. If you want to regularly work on MsgEd TE, we also have a CVS server 
  694.     online that you can have access to if you like. 
  695.  
  696.     If you want to write a new feature for MsgEd TE, please contact me 
  697.     beforehand to avoid that we do duplicate work. Again, I will appreciate and 
  698.     honor eny efforts done by you. Please note that for writing a MsgEd TE 
  699.     enhancement, you should be familiar with C. Also, MsgEd TE uses a special 
  700.     indentaion style throughout the source code, that I would like you to 
  701.     adhere to. 
  702.  
  703. So here are my addresses if you want to get in contact with me: 
  704.  
  705. o Fidonet: Tobias Ernst @ 2:2476/418 
  706.  
  707. o e-mail: tobi@bland.fido.de 
  708.  
  709. o Telefax: +49 711 5000184 
  710.  
  711.  
  712. ΓòÉΓòÉΓòÉ 5. A quick tour through MsgEd TE ΓòÉΓòÉΓòÉ
  713.  
  714. This chapter will be supplied in a future revision of this document. It will 
  715. provide an introduction for beginners on using MsgEd TE. 
  716.  
  717. As long as this chapter is not provided, you must help yourself using the 
  718. online help. Nearly everywhere in MsgEd TE, you can press Alt-H to get a 
  719. somewhat context sensitive help screen. 
  720.  
  721.  
  722. ΓòÉΓòÉΓòÉ 6. Advanced Concepts in MsgEd TE ΓòÉΓòÉΓòÉ
  723.  
  724. After you have managed to perform basic functions with MsgEd TE, like reading 
  725. messages, entering new messages, and replying to messages, this chapter will 
  726. introduce you into some advanced concepts in MsgEd TE that deserve special 
  727. attention, like how to use a Fidonet-Internet gateway, how to use eight bit 
  728. character sets, and similar. 
  729.  
  730. Exporting and Printing                  Exporting mails to text files or 
  731.                                         printers. 
  732. Special Characters                      Special Characters and FSC 0054 Charset 
  733.                                         Kludges 
  734. Internet Gateways                       Using MSGED for e-mail correspondance. 
  735.  
  736.  
  737. ΓòÉΓòÉΓòÉ 6.1. Exporting Mails to Text Files or to the Printer ΓòÉΓòÉΓòÉ
  738.  
  739. This section tells you how to export mails to text files that you can than use 
  740. for various purposes like importing into a text processor, as well as how to 
  741. print mails. While this as it self is not a very advanced feature, the file 
  742. export menu in MsgEd TE has some hidden features to control the format of the 
  743. exported mail that might not be aware to you. Also, some users might not know 
  744. that they can use the file export menu to print mails. 
  745.  
  746. Exporting Basics                        How to export a mail to a text file. 
  747. Export Formats                          How to control the format of the text 
  748.                                         file. 
  749. Printing                                How to print a mail to a line printer. 
  750.  
  751.  
  752. ΓòÉΓòÉΓòÉ 6.1.1. How to use the Mail Export Feature ΓòÉΓòÉΓòÉ
  753.  
  754. When you are in message reading mode, you can press Alt-W in order to invoke 
  755. the mail export dialog. This dialog looks like this: 
  756.  
  757. *---------------------- Export File ----------------------*
  758. | Name of file to export?                                 |
  759. | mail.txt                                                |
  760. |                      Ok    !   Cancel  !                |
  761. |                   **********  **********                |
  762. *---------------------------------------------------------*
  763.  
  764. It seems very simple to use at first glance. Simply write a name of a file to 
  765. export the mail to into the dialog field and then press Enter to start the 
  766. action. 
  767.  
  768. And indeed you can export mails in this way. Mails that have been exported in 
  769. this way are suitable to be re-imported into MsgEd TE by pressing Alt-R when 
  770. you are in the internal message editor. This is often useful when you want to 
  771. copy a part of a mail and insert it into a new message you are composing. 
  772.  
  773. However, if you look at the file that has been generated with a text editor, 
  774. the result will be dissatisfying. Read on below to find out why. 
  775.  
  776.  
  777. ΓòÉΓòÉΓòÉ 6.1.2. Controlling the Format of the Exported Message ΓòÉΓòÉΓòÉ
  778.  
  779. By default, MsgEd TE exports a message in raw message format, also called MsgEd 
  780. format. This format saves the mail raw as it is stored in the message base, 
  781. which means that line feeds will only be placed after each paragraph. This 
  782. format is well suited if you later want to import the mail into the internal 
  783. message editor, because it will exactly keep the paragraph format of the 
  784. message. However, it is not suitable for printing or editing the file with a 
  785. normal text editor, because there, you will only see one very long line per 
  786. paragraph, which is mostly not what you wanted to have. 
  787.  
  788. If you want to print the file with the exported message or to view it with a 
  789. normal text editor, you must instruct MsgEd TE to export the file in the text 
  790. format. In text format, the message will be saved in a line-wrapped form, that 
  791. is, the file will look just like the mail that you see on screen in message 
  792. reading mode, with a linefeed placed after each line. You instruct MsgEd TE to 
  793. export a mail in text format by appending `,t' to the file name like in this 
  794. example: 
  795.  
  796. *---------------------- Export File ----------------------*
  797. | Name of file to export?                                 |
  798. | mail.txt,t                                              |
  799. |                      Ok    !   Cancel  !                |
  800. |                   **********  **********                |
  801. *---------------------------------------------------------*
  802.  
  803. This format is well suited for printing and editing. 
  804.  
  805. MsgEd TE also has some other formats for exporting mails. All of them are 
  806. invoked by placing a comma and the corresponding letter after the file name. 
  807. Here is a complete list: 
  808.  
  809. `,t' 
  810.           Text mode. Place a line feed after each line. Well suited for 
  811.           printing or editing with a standard text editor. 
  812.  
  813. `,m' 
  814.           Raw message mode. This is your choice if you later wish to re-import 
  815.           the message into the internal message editor. 
  816.  
  817. `,q' 
  818.           Quoted mode. This is like text mode, but each line will be prefixed 
  819.           with the quote string. 
  820.  
  821. If you cannot remember these format characters, you can also ask MsgEd TE to 
  822. present you a menu with all possible export formats by putting a questionmark 
  823. in front of the file name like in this example: 
  824.  
  825. *---------------------- Export File ----------------------*
  826. | Name of file to export?                                 |
  827. | ?mail.txt                                               |
  828. |                      Ok    !   Cancel  !                |
  829. |                   **********  **********                |
  830. *---------------------------------------------------------*
  831.  
  832.  
  833. ΓòÉΓòÉΓòÉ 6.1.3. Printing Mails ΓòÉΓòÉΓòÉ
  834.  
  835. The message export facility can also be used to print a message. On all systems 
  836. except Unix, this is done by printing to the special printer device called 
  837. `PRN'. That is, in order to print a mail, press Alt-W and enter `PRN' as name 
  838. of the file to export the message to. Do not forget to enter `,t' after the 
  839. file name in order to switch to text mode (only text mode will yield good 
  840. results for printing a mail): 
  841.  
  842. Example for printing on OS/2, DOS or Windows:
  843. *---------------------- Export File ----------------------*
  844. | Name of file to export?                                 |
  845. | PRN,t                                                   |
  846. |                      Ok    !   Cancel  !                |
  847. |                   **********  **********                |
  848. *---------------------------------------------------------*
  849.  
  850. On Unix, printing is performed by piping the mail into the lpr program. 
  851. Fortunately, MsgEd TE also supports piping. Simply prefix the ``filename'' with 
  852. a pipe character (the broken vertical bar), and the rest of the string (except 
  853. for the comma and the format character) will be interpreted as a command to be 
  854. executed by the shell. Again, do not forget to switch to text mode by appending 
  855. `,t' to the command. 
  856.  
  857. Example for printing on Unix:
  858. *---------------------- Export File ----------------------*
  859. | Name of file to export?                                 |
  860. | |lpr - ,t                                               |
  861. |                      Ok    !   Cancel  !                |
  862. |                   **********  **********                |
  863. *---------------------------------------------------------*
  864.  
  865. You can of course also use the pipe character for piping mails through other 
  866. programs than lpr. For example, you could pipe cooking recipes from an echomail 
  867. area devoted to cooking through a perl or rexx script that archives them in a 
  868. database. 
  869.  
  870. As a side note, piping does also work in the OS/2 and Windows versions of MsgEd 
  871. TE if they have been compiled with a GNU compiler supporting the popen command. 
  872. (The binary versions that I have released are). 
  873.  
  874.  
  875. ΓòÉΓòÉΓòÉ 6.2. Using Special Characters - The FSC 0054 Charset Kludge ΓòÉΓòÉΓòÉ
  876.  
  877. Languages other than English often use special characters besides the normal 
  878. alphabet. Examples are the accented letters in French or the umlauts in German. 
  879. IBM block graphics are also called special characters. This section will 
  880. describe what measures have to be taken in order to be able to transmit special 
  881. characters via Fidonet. 
  882.  
  883. Problems with Special Characters        Description of the general problem. 
  884. Special Characters in Fidonet           FSC/FTS proposal to solve the problem. 
  885. MsgEd TE and Special Characters         How MSGED implements FSC 0054. 
  886.  
  887.  
  888. ΓòÉΓòÉΓòÉ 6.2.1. What is so special about special characters? ΓòÉΓòÉΓòÉ
  889.  
  890. In order to be able to exchange text between computers, it was necessary to 
  891. agree on a scheme on how to encode letters into numbers, the so called 
  892. character set. The standard character set for transferring text between a huge 
  893. variety of computer systems is the ASCII character set. Unfortunately, the 
  894. ASCII character set is only 7 bit wide and does not leave room for national 
  895. special characters. 
  896.  
  897. In order to be able to transfer special characters like accents and umlauts, it 
  898. was therefore necessary to use eight bit wide extended character sets that 
  899. defines how special characters are encoded. 
  900.  
  901. In contrast to the standard 7 bit ASCII character set, which is a single 
  902. character set used by nearly all computer systems, there exist several 
  903. pseudo-standard character sets that are 8 bits wide. All of them contain ASCII 
  904. as an subset, but they all differ in how they encode special characters. DOS 
  905. and OS/2 computers typically use the IBM PC character set, but even there, 
  906. dependent on what country you live in, there are several different code pages 
  907. of the IBM PC character set. Unix computers and the Amiga typically use the 
  908. ISO8859 character set, also known as Latin-1. Windows uses IBM PC for console 
  909. applications, but ISO8859 for graphical applications. The Macintosh uses the 
  910. Macintosh character set. The consequence of this is clear: If you write a text 
  911. on a Unix or Windows computer using special characters like accented letters or 
  912. umlauts, you cannot expect it to be properly displayed on a DOS or OS/2 
  913. computer, and vice versa, unless special measures are taken. 
  914.  
  915.  
  916. ΓòÉΓòÉΓòÉ 6.2.2. How has this problem been solved in Fidonet? ΓòÉΓòÉΓòÉ
  917.  
  918. This issue of special characters has been a problem for Fidonet in the past, 
  919. but it has been solved by the Fidonet standard FSC 0054, so that you can now 
  920. safely use special characters in Fidonet mail if your message editor supports 
  921. FSC 0054. FSC 0054 basically works like this: 
  922.  
  923. Every Fidonet editor that wants to be compatible with FSC 0054 must be 
  924. delivered along with built-in or external character translation tables that 
  925. tell the editor how it can convert text that contains special characters from 
  926. one character set to another. 
  927.  
  928. When composing a message using a FSC 0054 compliant editor, you have two 
  929. choices: By default, the editor allows you to enter the full range of special 
  930. characters that your computer supports, but when saving the message, the editor 
  931. will use its character translation tables and convert your text into a 7 bit 
  932. clean representation that can be displayed on all computers even if they don't 
  933. support FSC 0054. For example, a German sharp s would be converted into double 
  934. s, an e with accent would be converted into an e without accent, and so on. 
  935. This is the maximum compatibility mode: It offers you the comfort of being able 
  936. to write text just as you would in a letter, using all special characters that 
  937. your language requries, but your mails will still be properly displayed on all 
  938. computers. 
  939.  
  940. The other (better) possibility is that your editor leaves the special 
  941. characters that you typed in as is, but inserts a hidden kludge line, from here 
  942. on referred to as the charset kludge, into the message, that designates which 
  943. character set you have used for composing the message. When your message is 
  944. read on another computer by a Fidonet message reader that also supports FSC 
  945. 0054, the message reader will see the charset kludge in your mail and then use 
  946. its charset translation tables to convert your message into the character set 
  947. that this computer uses. The consequence is that even if your computer and the 
  948. computer of the receiver use different character sets, everything that you 
  949. typed in will look just the same on the receiver's screen than on yours, 
  950. including all special characters that have been typed. 
  951.  
  952.  
  953. ΓòÉΓòÉΓòÉ 6.2.3. How do I configure MsgEd TE to support FSC 0054? ΓòÉΓòÉΓòÉ
  954.  
  955. MsgEd TE fully supports FSC 0054. The character set translation files are named 
  956. `READMAPS.DAT' and `WRITMAPS.DAT'. You can enable character set translation 
  957. support in MsgEd TE by simply copying these files into the directory from which 
  958. MsgEd TE is started. (On Unix, you have to move and rename them to 
  959. `~/.msged.readmaps' and `~/msged.writmaps' instead. If the files can be found 
  960. and are valid, you will be notified that the FSC 0054 character set translation 
  961. engine has been activated when MsgEd TE starts. 
  962.  
  963. It is important that you use the correct `READMAPS.DAT' and `WRITMAPS.DAT' 
  964. files, because these files are tailored to the charcter set that you are using 
  965. locally: The OS/2, DOS and Windows versions of MsgEd TE ship with a pair of 
  966. `READMAPS.DAT' and `WRITMAPS.DAT' that are tailored for the IBMPC codepage 437 
  967. (international). In order to find out if you are using codepage 437, you can 
  968. use the `CHCP' command with no arguments. If you are not using codepage 437, 
  969. you should write a batch file that first calls `CHCP 437' before calling MsgEd 
  970. TE. If you are using codepage 850, you might alternatively also delete 
  971. `READMAPS.DAT' and `WRITMAPS.DAT' and then rename the files `READMAPS.850' and 
  972. `WRITMAPS.850' to `READMAPS.DAT' and `WRITMAPS.DAT'. These files are tailored 
  973. for codepage 850. 
  974.  
  975. The Linux version ships with a pair of `READMAPS.DAT' and `WRITMAPS.DAT' that 
  976. are tailored to computers that use the ISO 8859 character set (Latin-1). (Some 
  977. Linux boxes use IBMPC, codepage 437, or even 850, instead, but I strongly 
  978. suggest that you change your system configuration to use ISO 8859 in that 
  979. case!). 
  980.  
  981. If you have the source code distribution of MsgEd TE, the `bin' subdiretory 
  982. contains `readmaps.dat' and `writmaps.dat' files for all supported code pages. 
  983.  
  984. The following table lists all level 2 character sets that MsgEd TE understands 
  985. (meaning all character sets that are defined in the `READMAPS.DAT' and 
  986. `WRITMAPS.DAT' files): 
  987.  
  988. @CHRS-Kludge: | Conventional Name:   | Used by these computers:
  989. --------------+----------------------+---------------------------
  990. LATIN-1       | ISO 8859-1           | Unix, Amiga, Windows GUI
  991. MAC           | MAC                  | Macintosh computers
  992. IBMPC         | IBM PC, Codepage 437 | DOS, OS/2, Windows console
  993. CP850         | IBM PC, Codepage 850 | National German editions of
  994.               |                      |   DOS, OS/2 and Windows.
  995.  
  996. These are the character sets that are used in the Western World. I would like 
  997. to also support the different Kyrillic and Slavic character sets, but do not 
  998. have any information on those. If you can supply me with more information, 
  999. please contact me! 
  1000.  
  1001. Once FSC 0054 is activated, MsgEd TE will be able to correctly display all 
  1002. mails that have been created with one of the characters sets listed above, as 
  1003. long as they contain the proper charset kludge line. (Unfortunately, quite some 
  1004. still don't - do tell their authors to correct their setup!). Mails that you 
  1005. write yourself may contain any special characters, but MsgEd TE will convert 
  1006. them into a 7 bit ASCII character set when you save them. 
  1007.  
  1008. If you want to retain special characters in your mail by adding a charset 
  1009. kludge, you have to do two things. First, you have to define which character 
  1010. set to use for saving your mails (it must not necessarily be the character set 
  1011. that you are using locally, but you should not use CP850). See The 
  1012. OutputCharset Keyword, for information on how to do this. In most cases, you 
  1013. will simply want to add the following line to your configuration file: 
  1014.  
  1015. OutputCharset IBMPC
  1016.  
  1017. This will even work if you have a Linux box. Then, you have to tell MsgEd TE in 
  1018. which areas it is allowable to send mails with special characters and charset 
  1019. kludges. MsgEd TE will only write special characters into areas that have the 
  1020. `8' flag set. If you are importing your message area configuration from a 
  1021. tosser configuration file, you can simply put the following line to the 
  1022. beginning of your configuration file: 
  1023.  
  1024. AreaFileFlags 8
  1025.  
  1026. (If you already have an AreaFileFlags statement, just add the `8' character to 
  1027. its parameters). See Areafile and AreaFileFlags, for more information. 
  1028.  
  1029. This will allow MsgEd TE to use special characters in conjunction with a 
  1030. charset kludge in all message areas imported from a tosser configuration file. 
  1031.  
  1032. If you only want to enable special characters for a few areas, you have to 
  1033. define these areas manually, giving each of them the `8' flag individually. The 
  1034. same applies if you have to define your areas manually for other reaseons. See 
  1035. Manual Area Definition, for more information on this. 
  1036.  
  1037.  
  1038. ΓòÉΓòÉΓòÉ 6.3. Internet Gateways - Using MsgEd TE for e-mail and newsgroups ΓòÉΓòÉΓòÉ
  1039.  
  1040. MsgEd TE has built-in support for Fidonet to Internet Gateways, allowing for 
  1041. seemless coexistence of Fidonet mail and Internet mail. When you use MsgEd TE 
  1042. to talk to your Internet gateway, you do not even have to know about all the 
  1043. nasty details of gateway addressing - MsgEd TE does the job for you. This makes 
  1044. MsgEd TE the ideal choice as an editor to give to new users that want instant 
  1045. e-mail access without having to care for klumsy gateway addressing rules. 
  1046.  
  1047. Gateway Principles                      How does a UUCP gateway work? 
  1048. Gateway Configuration                   How to configure MSGED for e-mail. 
  1049. Gateway Usage                           How to use MSGED to write e-mail. 
  1050.  
  1051.  
  1052. ΓòÉΓòÉΓòÉ 6.3.1. How to properly address an Internet Gateway ΓòÉΓòÉΓòÉ
  1053.  
  1054. There are various ways of designing Fidonet to Internet gateways. The most 
  1055. common is the Gatebau standard, which among others is implemented in the 
  1056. excellent gateway software Fidogate by Martin Junius. You can find more 
  1057. information about Fidogate at other gateway programs more or less conform to 
  1058. this standard as well. 
  1059.  
  1060. Addressing a Gatebau compatible gateway works like this: The gateway has its 
  1061. own node- or point number. When you wish to write an e-mail using a standard 
  1062. Fidonet editor, you have to address your netmail to this gateway node number. 
  1063. As receiver's name, you can use the real name of the receiver, or you can use 
  1064. `UUCP', if the real name of the receiver is unknown. Some not-so-smart gateway 
  1065. software requires that you always use `UUCP' as receiver's name. - In order to 
  1066. tell the gateway the e-mail address that the mail should be delivered to, the 
  1067. very first line of your message must contain the e-mail address of the 
  1068. receiver, preceded by `To:'. The e-mail address can be specified in three 
  1069. different forms. Here are three possible first lines of gateway-addressed 
  1070. netmails: 
  1071.  
  1072. To: juser@somedomain.com
  1073. To: juser@somedomain.com (Joe User)
  1074. To: Joe User <juser@somedomain.com>
  1075.  
  1076. The last of these forms is not supported by some older gateway software. - The 
  1077. `To:'-line must be followed by an empty line, and then you can begin with your 
  1078. message text. A complete e-mail addressed to an internet gateway at 
  1079. `2:99/999.0' could look this: 
  1080.  
  1081. ==========Message Header==================
  1082. From:    Bill Sysop, 2:99/123.0
  1083. To:      UUCP, 2:99/999.0
  1084. Subject: This is a test e-mail
  1085. ==========Message Body====================
  1086. To: juser@somedomain.com (Joe User)
  1087.  
  1088. Hello Joe!
  1089.  
  1090. This is a test.
  1091.  
  1092. Regards,
  1093. Bill.
  1094.  
  1095. Receiving e-mail from the gateway is similar: You receive an e-mail from the 
  1096. gateway node or point, and in the mail boday, the first line will contain a 
  1097. `From:'-line which designates the e-mail address the mail was from. Sometins, 
  1098. the `From:'-line is followed by a `Reply-to:' line, which indicates that the 
  1099. sender wishes to receive any answers at the e-mail address shown in the 
  1100. `Reply-to:'-line rather than at the e-mail address shown in the `From:'-line. 
  1101. Here is an example: 
  1102.  
  1103. ==========Message Header========================
  1104. From:    Joe User, 2:99/999.0
  1105. To:      Bill Sysop, 2:99/123.0
  1106. Subject: Re: This is a test e-mail
  1107. ==========Message Body==========================
  1108. From: Joe User <joe@some-machine.somedomain.com>
  1109. Reply-To: Joe User <juser@somedomain.com>
  1110.  
  1111. Hello Bill!
  1112.  
  1113. I received your test e-mail without problems.
  1114.  
  1115. Regards,
  1116. Joe.
  1117.  
  1118. This interface works with every stone-age Fidonet editor, but it is clumsy. 
  1119. When replying to an e-mail that came through a gateway, for example, you would 
  1120. have to remember the sender's e-mail address, and when writing the reply, you 
  1121. would have to manually insert a correct `To:'-line, just to name one problem. 
  1122.  
  1123. Therefore, MsgEd TE can do the work for you. If properly configured, MsgEd TE 
  1124. will to the job of interpreting and inserting `From:', `Reply-To:' and `To:' 
  1125. lines. With gateway support turned on, writing an e-mail with MsgEd TE is just 
  1126. as easy as writing a fidonet netmail. In the following, we will see how to 
  1127. configure MsgEd TE for gateway support and how to use these features. 
  1128.  
  1129.  
  1130. ΓòÉΓòÉΓòÉ 6.3.2. How to configure MsgEd TE to use an Internet Gateway ΓòÉΓòÉΓòÉ
  1131.  
  1132. In order to do the gateway addressing stuff for you, MsgEd TE needs to know 
  1133. which gateway you wish to use for sending e-mail. MsgEd TE will recognise gated 
  1134. e-mail no matter which gate it comes from, but it must be told which gateway 
  1135. can be used to send replies and new e-mail, because most gateways require that 
  1136. you pay some sort of registration fee before you can use them for sending mail. 
  1137.  
  1138. The UUCP keyword is used to tell MsgEd TE the node number of your internet 
  1139. gateway (see The UUCP Keyword). It simply takes this node numer as argument. 
  1140. Example: 
  1141.  
  1142. UUCP 242:4900/99.0
  1143.  
  1144. The UucpName keyword is used to tell MsgEd TE the name that must be in the 
  1145. receiver's name field in a netmail sent to the gateway. For older gateways, you 
  1146. should use 
  1147.  
  1148. UucpName UUCP
  1149.  
  1150. If your gateway is running Fidogate or another more advanced gateway program, 
  1151. you should use 
  1152.  
  1153. UucpName *
  1154.  
  1155. This enables real name mode, i.E., mail addressed to the gateway will have the 
  1156. real name of the receiver in the receiver's name field instead of the pseudo 
  1157. name `UUCP'. The advantage of this is that your message templates will generate 
  1158. strings like `Hello Joe!' instead of `Hello UUCP!' ... 
  1159.  
  1160. There is yet another task to be done before you can use the gateway addressing 
  1161. features of MsgEd TE. For historical reasons, the gateway addressing features 
  1162. are disabled by default, and you have to enable them on a per-area basis. 
  1163.  
  1164. Unless you have special needs, it is best to enable the gateway addressing 
  1165. features for all areas, because a lot of fidonet areas are gated to internet 
  1166. somewhere. You do this by adding the `u' flag to every area that you have 
  1167. manually defined in the MsgEd TE configuration file, and by specifying 
  1168. AreaFileFlags u at the beginning of the configuration file in order to set the 
  1169. `u' flag for all area definitions that are imported from your tosser 
  1170. configuration file. See Defining Message Areas, for more information on message 
  1171. area flags. 
  1172.  
  1173.  
  1174. ΓòÉΓòÉΓòÉ 6.3.3. Using Internet Gateays with MsgEd TE ΓòÉΓòÉΓòÉ
  1175.  
  1176. Once you have configured MsgEd TE with the data of the gateways that you wish 
  1177. to use and turned on the `u' flag for all areas, writing e-mail is very simple. 
  1178. When entereing a message, you just have to enter a valid e-mail address instead 
  1179. of a user name. If MsgEd TE recognises a valid e-mail address, it will not look 
  1180. up this name in the nodelist or prompt you for a node number, but it will 
  1181. automatically address the mail to the configured gateway nodenumber and 
  1182. generate the necessary `To:'-line. The `To:'-line will not even be shown to 
  1183. you, unless you have the ShowNotes switch on ( see List of available switches). 
  1184.  
  1185. Reading e-mail that comes from any internet gateway is equally simple. If the 
  1186. `u' flag is set for an area, MsgEd TE will automatically recognise From: and 
  1187. Reply-To: lines and hide them from you. Instead of displaying the gateway 
  1188. pseudo user name and node numer, it will display the e-mail address that the 
  1189. mail is coming from in the message header field. 
  1190.  
  1191. MsgEd TE also supports newsgroups, i.E. echomail areas that are being received 
  1192. from an internet gateway, as long as the `u' flag ist turned on for these 
  1193. areas.. In newsgroups, MsgEd TE will handle mails (postings) just as in netmail 
  1194. areas, i.E. it will display the sender's e-mail address in the message header. 
  1195. If you do a private reply (i.E. a reply to a netmail area using Alt-N), the 
  1196. e-mail reply will correctly be addressed to your favorite internet gateway. 
  1197.  
  1198.  
  1199. ΓòÉΓòÉΓòÉ 7. MsgEd TE Keyboard Reference ΓòÉΓòÉΓòÉ
  1200.  
  1201. This chapter gives a complete listing of available keystroke combinations in 
  1202. MsgEd TE. After that, you will find instructions on how you can redefine the 
  1203. keyboard to suit your preferences. 
  1204.  
  1205. Please note: MsgEd TE traditionally uses a DOS-ish PC keyboard with Alt key and 
  1206. function keys. Unix users should refer to the Unix installation notes before 
  1207. reading this chapter ( see Notes on UNIX keyboard input). 
  1208.  
  1209. Arealist Keystrokes                     Keystroke combinations in the Arealist 
  1210.                                         Screen 
  1211. Reader Keystrokes                       Keystroke combinations in message 
  1212.                                         reading mode 
  1213. Editor Keystrokes                       Keystrokes in the internal message 
  1214.                                         editor 
  1215. Redefining the Keyboard                 How to redefine the keyboard layout 
  1216.  
  1217.  
  1218. ΓòÉΓòÉΓòÉ 7.1. Keystroke Combinations in the Arealist Screen ΓòÉΓòÉΓòÉ
  1219.  
  1220. The arealist screen is the screen that normally shows up right after you start 
  1221. MsgEd TE. It lists all areas that you have defined in the configuration file 
  1222. (see Defining Message Areas). 
  1223.  
  1224. The arealist screen can be navigated with the cursor keys, or you can also 
  1225. navigate through the area list by simply typing in the first few letters of the 
  1226. area name that you are looking for. 
  1227.  
  1228. In addition, the following commands are available in the arealist screen: 
  1229.  
  1230. Right 
  1231. Enter 
  1232.           Enter the selected area 
  1233.  
  1234. Alt-X 
  1235.           Quit MsgEd TE 
  1236.  
  1237. Alt-T 
  1238.           Scan all message areas for new messages. Depending on your setup, you 
  1239.           will have to do this on program startup. The scan process can be 
  1240.           interrupted by pressing ESC. 
  1241.  
  1242. Alt-S 
  1243.           Scan message areas for new messages, but only scan areas that have 
  1244.           not been scanned perviously. Areas that have not yet been scanned for 
  1245.           messages are listed with dashes instead of message numbers in the 
  1246.           area list. 
  1247.  
  1248. The keyboard setup of the Arealist Screen cannot be modified by the user. 
  1249.  
  1250.  
  1251. ΓòÉΓòÉΓòÉ 7.2. Keyboard Commands and Functions in Message Reading mode ΓòÉΓòÉΓòÉ
  1252.  
  1253. When you press Enter or Right in the arealist screen, you will enter message 
  1254. reading mode. In this mode, one message is displayed at a time. You can scroll 
  1255. through the message, write new messages, jump to other messages of the same 
  1256. message area, jump to other message areas, and invoke numerous special 
  1257. functions. 
  1258.  
  1259. All functions that are accessible from this mode have a unique name. Most 
  1260. functions are prebound to a reasonable keycode combination, but you can 
  1261. redefine the keyboard mapping by assigning other keycode combinations to these 
  1262. function names ( see Redefining the Keyboard). 
  1263.  
  1264. Navigation Functions                    Keystrokes for navigating through 
  1265.                                         messages. 
  1266. Message Functions                       Keystrokes for entering or changing 
  1267.                                         messages. 
  1268. Scanning and Searching                  Keystrokes for scanning or searching 
  1269.                                         mails. 
  1270. Options Functions                       Keystrokes for changing program 
  1271.                                         behaviour. 
  1272. Misc Reader Functions                   Miscellaneous other functions. 
  1273.  
  1274.  
  1275. ΓòÉΓòÉΓòÉ 7.2.1. Reader Functions for Navigation ΓòÉΓòÉΓòÉ
  1276.  
  1277. Function: down, bound to: Down 
  1278.           Scrolls the text of the current message down. 
  1279.  
  1280. Function: up, bound to: Up 
  1281.           Scrolls the text of the current message up. 
  1282.  
  1283. Function: help, bound to: Alt-H 
  1284.           Displays online help on available keyboard commands. 
  1285.  
  1286. Function: next, bound to: Right 
  1287.           Go to the next message in this area. 
  1288.  
  1289. Function: previous, bound to: Left 
  1290.           Go to the previous message in this area. 
  1291.  
  1292. Function: first, bound to: Home 
  1293.           Go to the very first message in this area. 
  1294.  
  1295. Function: slast, bound to: End 
  1296.           Go to the very last message in this area. 
  1297.  
  1298. Function: link_to, bound to: Ctrl-Right 
  1299.           Go to the message that is a reply to this message. If there is more 
  1300.           than one reply to this message, you will be presented a select box. 
  1301.  
  1302. Function: u-next, bound to: Ctrl-I 
  1303.           Go to the message that is a reply to this message. If there is more 
  1304.           than one reply to this message, this function does not present a 
  1305.           select box, but simply jumps to the first of all replies. 
  1306.  
  1307. Function: link_from, bound to: Ctrl-Left 
  1308.           Go to the message that this message is in reply to (if any). 
  1309.  
  1310. Function: next_area, bound to: + 
  1311.           Go to the next message area. 
  1312.  
  1313. Function: prev_area, bound to: - 
  1314.           Go the the previous message area. 
  1315.  
  1316. Function: list, bound to: Alt-L 
  1317.           This will display a list of all messages in this area. You can 
  1318.           navigate through this list with the cursor keys, tag entries by 
  1319.           pressing space, and apply a subset of the functions of the message 
  1320.           reading mode (like delete, move, etc.) to the tagged messages. You 
  1321.           can leave the list by pressing either Enter, which will position you 
  1322.           to the message that was selected in the list when pressing Enter, or 
  1323.           by pressing Esc, which will position you to the message that was 
  1324.           active before entering the message list mode. 
  1325.  
  1326. Function: last, not pre-bound to any key 
  1327.           Go to the last read message in this area (the message right before 
  1328.           the first unread message). 
  1329.  
  1330. Function: astart, not pre-bound to any key 
  1331.           Go to the message that was active when you entered this message area. 
  1332.  
  1333. Function: home, not pre-bound to any key 
  1334.           Go to the first message in the current reply-chain. 
  1335.  
  1336. Function: back, not pre-bound to any key. 
  1337.           Goes back to where you were in the reply chain before using the 
  1338.           link_to or link_from functions. Untested. 
  1339.  
  1340.  
  1341. ΓòÉΓòÉΓòÉ 7.2.2. Reader Functions for Entering, Modifying and Deleting Messages ΓòÉΓòÉΓòÉ
  1342.  
  1343. Function: newmsg, bound to: Alt-E or Ins 
  1344.           Enter a new message. 
  1345.  
  1346. Function: reply, bound to: Alt-R 
  1347.           Reply to the message currently displayed without quoting it. 
  1348.  
  1349. Function: quote, bound to: Alt-Q 
  1350.           Write a quoted reply to the message currently displayed. 
  1351.  
  1352. Function: repoth, bound to: Alt-N 
  1353.           Reply to this message in a different message area. You can use this 
  1354.           for netmail replies as well as for moving a thread from one area to a 
  1355.           different one. 
  1356.  
  1357. Function: followup, bound to: Alt-U 
  1358.           Reply to this message, but address the reply to the recipient of the 
  1359.           message you are replying to instead of the sender. 
  1360.  
  1361. Function: change, bound to: Alt-C 
  1362.           This allows you to edit an existing message. 
  1363.  
  1364. Function: edithdr, bound to: Ctrl-H 
  1365.           Edit the header of the current message (but not the text). 
  1366.  
  1367. Function: move, bound to: Alt-M 
  1368.           Move the message currently displayed to another area. 
  1369.  
  1370. Function: delete, bound to: Alt-D or Del 
  1371.           Delete the message currently being displayed. 
  1372.  
  1373.  
  1374. ΓòÉΓòÉΓòÉ 7.2.3. Reader Functions for Scanning and Searching for Messages ΓòÉΓòÉΓòÉ
  1375.  
  1376. Function: scan, bound to: * 
  1377.           Scan all message areas for new messages. 
  1378.  
  1379. Function: scan_unscanned, bound to: # 
  1380.           Scan message areas for new messages, but only scan areas that have 
  1381.           not been scanned previously. 
  1382.  
  1383. Function: pmail, bound to: Alt-P 
  1384.           Personal mail scan: this scans all message areas for messages 
  1385.           addressed to you. 
  1386.  
  1387. Function: spmail, not pre-bound to any key 
  1388.           This scans for messages addressed to you in the current area only. 
  1389.  
  1390. Function: search, bound to: Alt-F 
  1391.           Allows you to search a message area for a specific keyword. The 
  1392.           search direction will be the direction that you previously moved 
  1393.           into. For example, in order to search a complete message area 
  1394.           backwards for a certain mail, you must press End to go to the end of 
  1395.           the area, then press Left in order to set the search direction to 
  1396.           ``backwards'', and then press Alt-F to start the search. 
  1397.  
  1398. Function: hdrsearch, bound to: Alt-Z 
  1399.           This works like search, but only scans message headers. 
  1400.  
  1401.  
  1402. ΓòÉΓòÉΓòÉ 7.2.4. Reader Functions for modifying MsgEd TE Options ΓòÉΓòÉΓòÉ
  1403.  
  1404. Function: view, bound to: Alt-V 
  1405.           Toggle display of message control lines, kludge lines, etc. 
  1406.  
  1407. Function: config, bound to: Alt-S 
  1408.           This function allows you to set some (but not all) of the system 
  1409.           switches. See Switches, for more information. 
  1410.  
  1411. Function: chngaddr, bound to: Ctrl-W 
  1412.           Change the origination address used for writing mail. You will not 
  1413.           need this key in normal operation, as MsgEd TE employs an intelligent 
  1414.           mechanism for AKA matching. 
  1415.  
  1416. Function: chnodel, bound to: Ctrl-N 
  1417.           Change the currently active nodelist. 
  1418.  
  1419. Function: name, bound to: Ctrl-U 
  1420.           If you have defined more than one user name with the Name 
  1421.           configuration keyword, you can use this function to select the name 
  1422.           to use when writing messages. 
  1423.  
  1424.  
  1425. ΓòÉΓòÉΓòÉ 7.2.5. Miscellaneous other Reader Functions ΓòÉΓòÉΓòÉ
  1426.  
  1427. Function: export, bound to: Alt-W 
  1428.           Export the text of the current message to a file or printer port. You 
  1429.           will be shown a dialog box where you can enter a filename. See 
  1430.           section Exporting Mails to Text Files or to the Printer, for an 
  1431.           explanation of the modifiers for the filename you can use to control 
  1432.           how the output file is written. 
  1433.  
  1434. Function: shell, bound to: Alt-O 
  1435.           Call an operating system shell (prompt). Under DOS, MsgEd TE is 
  1436.           swapped out of memory for this. 
  1437.  
  1438. Function: dos, bound to: ! 
  1439.           Directly execute an operating system command. 
  1440.  
  1441. Function: null, not pre-bound to any key. 
  1442.           Simply does nothing. 
  1443.  
  1444. Function: exit, bound to: Alt-X, Alt-A and Esc 
  1445.           Leave the message reading mode. Returns to the arealist screen. 
  1446.  
  1447.  
  1448. ΓòÉΓòÉΓòÉ 7.3. Keyboard Commands and the internal Message Editor ΓòÉΓòÉΓòÉ
  1449.  
  1450. MsgEd TE has a built in message editor. It is suggested that, before you start 
  1451. using an external editor for writing messages, you should at least try to use 
  1452. the internal message editor, because it is best suited for composing FTN-style 
  1453. messages. The internal message editor is highly configurable, so you should be 
  1454. able to use the internal message editor with the same keyboard setup as your 
  1455. preferred external text editor. 
  1456.  
  1457. In the following, you will be shown a complete list of available message editor 
  1458. functions. These functions are pre-bound to sensible keystrokes, which are also 
  1459. listed in the following table. Each message editor function has a unique name, 
  1460. and using this name, you can bind this function to any keystroke that you might 
  1461. estimate to be adequate. Instructions on how to do this will be given in the 
  1462. following section ( see Redefining the Keyboard bindings). 
  1463.  
  1464. Cursor Movement                         Keystrokes for moving the cursor. 
  1465. Killing Text                            Keystrokes for deleting text. 
  1466. Text Block Commands                     Keystrokes for cut and paste 
  1467.                                         functionality. 
  1468. Miscellaneous Commands                  Other functions like saving, importing, 
  1469.                                         etc. 
  1470.  
  1471.  
  1472. ΓòÉΓòÉΓòÉ 7.3.1. Editor Functions for Moving the Cursor ΓòÉΓòÉΓòÉ
  1473.  
  1474. Functions: left, right, up, down 
  1475.           These functions are pre-bound to the cursor keys and move the cursor 
  1476.           left, right, up or down by one line. 
  1477.  
  1478. Functions: wordleft, wordright 
  1479.           These functions are pre-bound to Ctrl-Left and Ctrl-Right and move 
  1480.           the cursor to the beginning of the previous or the beginning of the 
  1481.           next word respectively. 
  1482.  
  1483. Functions: pgup, pgdn 
  1484.           These functions are pre-bound to the PgUp and PgDn (or on some Unix 
  1485.           boxes, Prev and Next) keys and scroll the text up or down by one page 
  1486.           and place the cursor accordingly. 
  1487.  
  1488. Functions: gobol, goeol 
  1489.           These functions are pre-bound to the HOME and END keys and move the 
  1490.           cursor to the beginning or end of the current line. 
  1491.  
  1492. Functions: top, bottom 
  1493.           These functions are pre-bound to the Ctrl-PgUp and Ctrl-PgDn keys and 
  1494.           move the cursor to the top or bottom line of the current screen. 
  1495.  
  1496. Functions: first, last 
  1497.           These functions are pre-bound to the Ctrl-Home and Ctrl-End keys and 
  1498.           move the cursor to the very first or very last line of the mail that 
  1499.           is currently being edited. 
  1500.  
  1501. Function: tab, pre-bound to: Tab 
  1502.           This function moves the cursor to the next tabulator position by 
  1503.           inserting whitespace characters (not tabulator characters!) into the 
  1504.           mail. The distance between tabulator postitions can be adjusted with 
  1505.           the TabSize keyword in the configuration file (see The TabSize 
  1506.           Keyword). 
  1507.  
  1508. Function: newline, pre-bound to: Enter, RET 
  1509.           This function inserts a hard carriage return and places the cursor to 
  1510.           the beginning of the next line. Note: Normally, hard carriage returns 
  1511.           are only inserted as paragraph delimiters or when posting formatted 
  1512.           tables in fidonet. For normal message text, you should not press 
  1513.           Enter near the end of the line, but you should type a continous text 
  1514.           (and leave the wrapping to MsgEd TE) and only press Enter once or 
  1515.           twice at the end of a paragraph. This will allow the receivers of 
  1516.           your message to format the message in a way that nicely fits their 
  1517.           screen widths (not everybody is using 80 column terminals!). 
  1518.  
  1519.  
  1520. ΓòÉΓòÉΓòÉ 7.3.2. Editor Functions for Deleting text ΓòÉΓòÉΓòÉ
  1521.  
  1522. Function: backspace, pre-bound to: BS 
  1523.           Kills the character on the left side of the cursor and moves the 
  1524.           cursor back one step. 
  1525.  
  1526. Function: del, pre-bound to: Del 
  1527.           Deletes the character at the current cursor position. 
  1528.  
  1529. Function: deleol, pre-bound to: Alt-K 
  1530.           Deletes all characters from the current cursor position to the end of 
  1531.           the line. This function has no effect if issued in an empty line. 
  1532.  
  1533. Function: delline, pre-bound to: Alt-D, Ctrl-Y 
  1534.           Deletes all characters in the current line and removes this line. 
  1535.  
  1536. Function: emacskill, pre-bound to: Ctrl-K 
  1537.           This function works like deleol, i.E. it kills all characters from 
  1538.           the current cursor position to the end of the line, but if issued in 
  1539.           an empty line, it removes that line. This is just what pressing 
  1540.           Ctrl-K does in the GNU Emacs editor. 
  1541.  
  1542. Function: killword, pre-bound to: Ctrl-T 
  1543.           Deletes all characters from the current cursor position to the end of 
  1544.           the current word. 
  1545.  
  1546. Function: undel, pre-bound to: Ctrl-U 
  1547.           This is a rather limited undelete function. It will restore lines 
  1548.           that have previously been killed with the delline function. It will 
  1549.           not restore single charactres that have been killed with del, deleol, 
  1550.           killword, emacskill or similar functions. 
  1551.  
  1552. Function: zap, pre-bound to: Alt-L 
  1553.           This function is useful when using the quoted reply features. It will 
  1554.           kill all lines below the current cursor position that only contain 
  1555.           quoted text (these will usually be highlighted in a different color) 
  1556.           until the next unquoted line. This is useful to easily kill quoted 
  1557.           signature text etc. Use this to reduce the number of unnecessary 
  1558.           quoted lines in your mails! 
  1559.  
  1560.  
  1561. ΓòÉΓòÉΓòÉ 7.3.3. Editor Functions dealing with Text Blocks ΓòÉΓòÉΓòÉ
  1562.  
  1563. These functions provide cut'n'paste functionality: 
  1564.  
  1565. Function: anchor, pre-bound to: Alt-A 
  1566.           This drops an anchor at the current cursor position. You have to drop 
  1567.           two anchors at different places, then the text between the two 
  1568.           anchors will be highlighted and treated as a selected text block. 
  1569.  
  1570. Function: cut, pre-bound to: Alt-C 
  1571.           This will cut the currently selected text block (use anchor to select 
  1572.           a text block), i.E., it will delete all selected characters and store 
  1573.           them in an internal clipboard. Text that previously was stored in the 
  1574.           clipboard will of course be discarded. 
  1575.  
  1576. Function: paste, pre-bound to: Alt-P 
  1577.           This will paste (insert) the text block from the clipboard (i.E. the 
  1578.           last text that has been cut with the cut function) at the current 
  1579.           cursor position. 
  1580.  
  1581. Function: unblock, pre-bound to: Alt-U 
  1582.           Any anchors that have been dropped with the anchor function will be 
  1583.           removed, that is, any previously highlighted text will again be 
  1584.           displayed normally. 
  1585.  
  1586.  
  1587. ΓòÉΓòÉΓòÉ 7.3.4. Miscellaneous Editor Functions ΓòÉΓòÉΓòÉ
  1588.  
  1589. Function: abort, pre-bound to: ESC 
  1590.           Aborts the current message without saving. 
  1591.  
  1592. Function: bytecount, pre-bound to: Alt-B 
  1593.           Displays the number of bytes and the quote ratio in the current 
  1594.           message. 
  1595.  
  1596. Function: edithdr, pre-bound to: Alt-E 
  1597.           Lets you edit the header of the message (recipient, sender and 
  1598.           subject information) in case you made an error when first entering 
  1599.           the header. 
  1600.  
  1601. Function: export, pre-bound to: Alt-W 
  1602.           Export the text of the current message to a file or printer port. You 
  1603.           will be shown a dialog box where you can enter a filename. See The 
  1604.           Outfile configuration keyword, for an explanation of the modifiers 
  1605.           for the filename you can use to control how the output file is 
  1606.           written. 
  1607.  
  1608. Function: insert, pre-bound to: Ins 
  1609.           This function toggles between the ``insert'' and ``overwrite'' modes 
  1610.           of the editor. 
  1611.  
  1612. Function: import, pre-bound to: Alt-I 
  1613.           Imports text from a text file into the message. You will be shown a 
  1614.           dialog box where you can enter a filename. 
  1615.  
  1616. Function: null, not pre-bound to any key. 
  1617.           Simply does nothing. 
  1618.  
  1619. Function: oscmd, pre-bound to: Alt-1 
  1620.           This allows you to enter an operating system command that will be 
  1621.           executed directly. 
  1622.  
  1623. Function: setup, bound to: Alt-T 
  1624.           This function allows you to set some (but not all) of the system 
  1625.           switches. See Switches, for more information. 
  1626.  
  1627. Function: shell, bound to: Alt-O 
  1628.           Call an operating system shell (prompt). Under DOS, MsgEd TE is 
  1629.           swapped out of memory for this. 
  1630.  
  1631. Function: toggleq, bound to: Alt-Q 
  1632.           This function toggles the quote state of the current line (whatever 
  1633.           that means ...). 
  1634.  
  1635. Function: quit, bound to: Alt-S 
  1636.           This function saves the message currently being edited and quits the 
  1637.           internal message editor. 
  1638.  
  1639.  
  1640. ΓòÉΓòÉΓòÉ 7.4. Redefining the Keyboard Bindings ΓòÉΓòÉΓòÉ
  1641.  
  1642. If you are dissatisfied with the default keyboard bindings, you can easily 
  1643. change the keyboard layout. Each of the message reader and message editor 
  1644. keyboard functions that have been listed on the previous pages can be assigned 
  1645. an arbitrary keystroke using the ReadKey and EditKey configuration keywords. 
  1646. The syntax of these commands is as follows: 
  1647.  
  1648. EditKey keycode function-name
  1649. ReadKey keycode function-name
  1650.  
  1651. The keycode parameter designates wich keystroke you want to redefine. In order 
  1652. to find out the key code matching a certain keystroke, invoke the executable of 
  1653. MsgEd TE with the `-k' option. You can then press the desired keystroke, and 
  1654. MsgEd TE will print out the key code that you have to use as keycode parameter 
  1655. in the configuration file. Here is an example session: 
  1656.  
  1657. [R:\mailer\msged]msgedp -k
  1658. Displaying keyboard scan codes in hexadecimal form.
  1659.  
  1660. Press any key or key combination, or 'q' (lowercase 'Q') to exit.
  1661. Key: 0x2100
  1662. Key: 0x0071 (q)
  1663.  
  1664. I pressed Alt-F and q to reproduce this output. From the output, we can see 
  1665. that Alt-F has the keycode `0x2100', and q has the keycode `0x0071'. Keycodes 
  1666. might vary depending on your hardware and operating system. Also, on UNIX 
  1667. consoles sometimes keys are not mapped correctly at all, in which case 
  1668. different key combinations might have the same key code. If you find one where 
  1669. this is problematic, contact me for a bug report. 
  1670.  
  1671. Now that you know the proper keycode, you can assign it to any reader or editor 
  1672. function. See Keyboard Commands and Functions in Message Reading mode, for a 
  1673. complete list of available keyboard functions for message reading mode. See 
  1674. Keyboard Commands and Functions in the internal Message Editor, for a complete 
  1675. list of available keyboard functions in the built-in message editor. 
  1676.  
  1677. As an example, let us assign the keystroke Alt-F to the `wordright' editor 
  1678. function: 
  1679.  
  1680. EditKey 0x2100 wordright
  1681.  
  1682. With this line in your configuration file, you will be able to press Alt-F in 
  1683. order to move the cursor to the beginning of the next word. 
  1684.  
  1685.  
  1686. ΓòÉΓòÉΓòÉ 8. MsgEd TE Configuration Reference ΓòÉΓòÉΓòÉ
  1687.  
  1688. MsgEd TE has to be configured using a configuration file. This is a plain text 
  1689. ASCII file containing a list of keywords, settings and switches that define the 
  1690. behaviour of MsgEd TE. The configuration file is named `msged.cfg' and should 
  1691. normally be placed in the current working directory of MsgEd TE. (On 
  1692. Linux/Unix, it is named `.msged' instead and placed in your home directory). 
  1693.  
  1694. This chapter describes the syntax of the configuration file and lists all 
  1695. avilable keywords and switches in alphabetical order. 
  1696.  
  1697. Syntax                                  Configuration file syntax 
  1698. Keywords                                Keywords for use in the configuration 
  1699.                                         file. 
  1700. Switches                                Switches for use in the configuration 
  1701.                                         file. 
  1702. Conditionals                            Conditional Statements (IF/ELSE/ENDIF). 
  1703. Area Definitions                        How to define message areas 
  1704.  
  1705.  
  1706. ΓòÉΓòÉΓòÉ 8.1. Configuration File Syntax ΓòÉΓòÉΓòÉ
  1707.  
  1708. Each line in the configuration file should start with a keyword. Each keyword 
  1709. can be followed by zero or more free-form parameters. 
  1710.  
  1711. A special case of a keyword is the `switch' keyword. Using the `switch' 
  1712. keyword, a switch can be turned either on or off. see Switches, for more 
  1713. information. 
  1714.  
  1715. When parsing the config file, lines that start with a semicolon or with a 
  1716. semicolon preceeded only by whitespace are treated as comments. 
  1717.  
  1718. Within the configuration file, you may use environment variables. Enclose the 
  1719. name of the environment variable within percent signs. For example, if you give 
  1720. a command like `"Areafile %MAILBOX%\squish\squish.cfg"', the string `%MAILBOX%' 
  1721. would be replaced with the value of the environment variable `MAILBOX'. 
  1722.  
  1723. You can also disable or enable certain parts of the configuration file based on 
  1724. the value of environment variables or on the operating system by using 
  1725. Conditionals. See Conditionals, for more information. 
  1726.  
  1727.  
  1728. ΓòÉΓòÉΓòÉ 8.2. Configuration File Keywords ΓòÉΓòÉΓòÉ
  1729.  
  1730. The following keywords can be used in the configuration file. Keywords are 
  1731. generally case-insensitive. 
  1732.  
  1733. Address                                 Specifying your FTN AKAs. 
  1734. Alias                                   Your personal address book. 
  1735. Alterfunc 
  1736. AreaExcl                                Excluding areas from the area list. 
  1737. Areafile and AreaFileFlags              Reading squish.cfg or fastecho.cfg. 
  1738. AssumeCharset                           Workaround for mails without CHRS 
  1739.                                         kludges. 
  1740. Color                                   Configuring the screen colors. 
  1741. Colour 
  1742. CurStart/CurEnd                         Configuring the cursor shape. 
  1743. Domain                                  About Domain Gating. 
  1744. EditKey                                 Configurint the editor's keyboard 
  1745.                                         layout. 
  1746. Editor                                  Selecting the internal or an external 
  1747.                                         editor. 
  1748. EnableSC                                Enabling input of ``Umlauts'' on Unix. 
  1749. Fido                                    Specifying a Fido *.MSG format mail 
  1750.                                         area 
  1751. FreqArea                                Specifying an area to place file 
  1752.                                         requests in. 
  1753. Function                                Creating keyboard macros. 
  1754. Gate                                    Enabling Domain- and/or Zone gating. 
  1755. Group                                   Different templates for different 
  1756.                                         areas. 
  1757. HelpFile                                Enabling online help. 
  1758. Include                                 Including other configuration files. 
  1759. Lastread                                Handling of the lastread pointer. 
  1760. MaxX and MaxY                           Hard-wiring the terminal size. 
  1761. MountDir                                DOS to Unix path translation. 
  1762. Name                                    Configuring the Sysop's name. 
  1763. NodePath                                Where to find the nodelist files. 
  1764. Nodelist                                Configuring a V7 nodelist index. 
  1765. Origin                                  Choosing one or multiple origin lines. 
  1766. Outfile                                 Selecting a default export file name. 
  1767. OutputCharset                           Selecting the charset to use for 
  1768.                                         umlauts. 
  1769. PrivateNet                              Nobody needs this. 
  1770. Quick                                   Specifying a QuickBBS/Hudson format 
  1771.                                         mail area. 
  1772. QuickBBS                                Specifying a QuickBBS/Hudson format 
  1773.                                         mail area. 
  1774. Quote                                   Configuring the quote characters. 
  1775. QuoteRight                              Configuring the right margin for 
  1776.                                         quoting. 
  1777. ReadKey                                 Modifying the keyboard layout. 
  1778. Right                                   Selecting the right margin for message 
  1779.                                         display. 
  1780. RobotName                               Do not use templates for Areafix mails 
  1781.                                         :-) 
  1782. Scan                                    Enabling auto-scan on program startup. 
  1783. SoftCrXlat 
  1784. SortAreas                               Sort message areas by name or group. 
  1785. Squish                                  Specifying a Squish format mail area. 
  1786. SwapPath                                DOS users need this 
  1787. Switch                                  Turning configuration switches on or 
  1788.                                         off. 
  1789. Tabsize                                 How many spaces shall a Tab key insert? 
  1790. Template                                Signoff, Signature, et cetera. 
  1791. TossLog                                 Creating ECHOTOSS.LOG entires. 
  1792. UserList                                Using a FIDOUSER.LST sysop list. 
  1793. UserOffset                              Each user has a different lastread 
  1794.                                         pointer. 
  1795. UUCP                                    Configuring your internet gateway. 
  1796. UucpName                                Configuring your internet gateway. 
  1797.  
  1798.  
  1799. ΓòÉΓòÉΓòÉ 8.2.1. Address ΓòÉΓòÉΓòÉ
  1800.  
  1801. Syntax: 
  1802.           Address AKA 
  1803.  
  1804. Example: 
  1805.           Address 2:2476/418.0 
  1806.  
  1807. The Address command specifies your FTN network address. AKA is a FTN network 
  1808. address with up to five dimensions. The Address keyword can be repeated as 
  1809. often as is desired to specify multiple addresses. 
  1810.  
  1811.  
  1812. ΓòÉΓòÉΓòÉ 8.2.2. Alias ΓòÉΓòÉΓòÉ
  1813.  
  1814. Syntax: 
  1815.           Alias alias "name" address [attribute ["subject"]] 
  1816.  
  1817. Examples: 
  1818.           Alias tobias "Tobias Ernst" 2:2476/418.0 
  1819.  
  1820.           Alias tobi "tobi@bland.fido.de" UUCP 
  1821.  
  1822.           Alias af "Areafix" 2:2476/418.0 p "PASSWORT" 
  1823.  
  1824. Aliases are used to simplify the entry of new messages. When you enter a new 
  1825. message and type in the previously defined alias into the name field, all the 
  1826. other fields will be filled in with the values that you have provided in the 
  1827. alias definition. You must at least specify the sysop's name in quotation marks 
  1828. and the corresponding FTN address in up to five dimensions. 
  1829.  
  1830. Alternatively, you may specify `UUCP' as address. In this case, the name field 
  1831. is interpreted as an internet e-mail address and the mail is addressed to the 
  1832. corresponding gateway. 
  1833.  
  1834. Optionally, you may also specify one or more message attributes and a message 
  1835. subject. The attribute field is a combination of one or more of the following 
  1836. letters: 
  1837.  
  1838.           private 
  1839.  
  1840.           hold 
  1841.  
  1842.           crash 
  1843.  
  1844.           kill/sent 
  1845.  
  1846.           normal (no attributes) 
  1847.  
  1848. Note that you must always specify at least one message attribute (at least `n') 
  1849. if you want to specify a subject. 
  1850.  
  1851.  
  1852. ΓòÉΓòÉΓòÉ 8.2.3. Alterfunc ΓòÉΓòÉΓòÉ
  1853.  
  1854. This keyword is presently undocumented. 
  1855.  
  1856.  
  1857. ΓòÉΓòÉΓòÉ 8.2.4. AreaExcl ΓòÉΓòÉΓòÉ
  1858.  
  1859. Syntax: 
  1860.           AreaExcl pattern 
  1861.  
  1862. Example: 
  1863.           AreaExcl ALT.BINARIES.* 
  1864.  
  1865. This keyword is used to exclude certain areas from the area selection menu. All 
  1866. area names that match pattern will not be displayed in the area selection menu 
  1867. and thus will not be accessible. The pattern parameter may be a simple area 
  1868. name or a wildcard pattern containing the joker characters `*' and `?'. 
  1869.  
  1870. You must specify the AreaExcl keyword in the configuration file before the 
  1871. Squish, Fido, Quick and Areafile keywords. 
  1872.  
  1873.  
  1874. ΓòÉΓòÉΓòÉ 8.2.5. Areafile and AreaFileFlags ΓòÉΓòÉΓòÉ
  1875.  
  1876. These keywords are documented in the section about area configuration (see 
  1877. Reading a Tosser Configuration File (Areafile)). 
  1878.  
  1879.  
  1880. ΓòÉΓòÉΓòÉ 8.2.6. AssumeCharset ΓòÉΓòÉΓòÉ
  1881.  
  1882. Syntax: 
  1883.           AssumeCharset charset 
  1884.  
  1885. Example: 
  1886.           AssumeCharset IBMPC 
  1887.  
  1888. In Fidonet mail, mails that contain special characters must carray a charset 
  1889. kludge line ( see Using Special Characters - The FSC 0054 Charset Kludge). 
  1890. However, still a good percentage of fidonetmail contains special characters, 
  1891. but no charset kludge line. 
  1892.  
  1893. By default, MsgEd TE will replace all special characters with question marks in 
  1894. mails without charset kludge, because MsgEd TE does not know how to properly 
  1895. translate such special characters. If you do not like this, you can use the 
  1896. AssumeCharset keyword to specify that MsgEd TE should assume that all special 
  1897. characters in mails that do not contain a charset kludge have been composed 
  1898. using the character set charset, and translate the special characters 
  1899. accordingly. 
  1900.  
  1901. In Germany, for example, nearly all mail that contains special characters but 
  1902. does not contain a charset kludge has been composed using the IBMPC character 
  1903. set, so it makes sense to specify `AssumeCharset IBMPC' here. 
  1904.  
  1905.  
  1906. ΓòÉΓòÉΓòÉ 8.2.7. Color ΓòÉΓòÉΓòÉ
  1907.  
  1908. Syntax: 
  1909.           Color item foreground _background 
  1910.  
  1911. Example: 
  1912.           Color MainNorm White _Black 
  1913.  
  1914. Use this to customize the colors that MsgEd TE uses. For a list of available 
  1915. color values and items, refer to the sample color scheme files. 
  1916.  
  1917. If you are using the Unix version of MsgEd TE, you must also switch on the 
  1918. Colors switch in order to get a non-monochrome display. See Colors in the Unix 
  1919. version, for more information. 
  1920.  
  1921.  
  1922. ΓòÉΓòÉΓòÉ 8.2.8. Colour ΓòÉΓòÉΓòÉ
  1923.  
  1924. Colour is an alternative name for the keyword Color (see Color. 
  1925.  
  1926.  
  1927. ΓòÉΓòÉΓòÉ 8.2.9. CurStart, CurEnd ΓòÉΓòÉΓòÉ
  1928.  
  1929. Syntax: 
  1930.           CurStart row 
  1931.  
  1932.           CurEnd row 
  1933.  
  1934. Example: 
  1935.           CurStart 5 
  1936.  
  1937.           CurEnd 7 
  1938.  
  1939. This keyword is used to control the shape of the cursor (only on terminals and 
  1940. operating systems that support it). On typical DOS-like consoles, the cursor 
  1941. constis of 8 rows, labelled top-down from zero to seven. You can specify a 
  1942. cursor start row and a cursor end row. The MsgEd TE default values of 6 (start) 
  1943. and 7 (end) result in a standard "underline" cursor. 
  1944.  
  1945. If you are using MsgEd TE with a monochrome display adapter like MDA, MGA or 
  1946. HGC, the cursor consists of 14 rows instead of 8. There, you will have to use 
  1947. the CurStart and CurEnd keywords to produce a sensible cursor shape. Values of 
  1948. 11 for start and 12 for end are suggested for mono display adapters. 
  1949.  
  1950.  
  1951. ΓòÉΓòÉΓòÉ 8.2.10. Domain ΓòÉΓòÉΓòÉ
  1952.  
  1953. Syntax: 
  1954.           Domain 5d-address 
  1955.  
  1956. Example: 
  1957.           Domain 8:123/45@rbbs 
  1958.  
  1959. Messages sent with the destination domain equal to the domain of one of the 
  1960. configured domain gates will always be sent to the domain gate with a @DOMAIN 
  1961. kludge inserted into the message.  To enable domain gating, you must configure 
  1962. all domain gates you are using in your config file by using a Domain keyword 
  1963. with the full 5D address of the domain gateway (including the domain that this 
  1964. gate is gating for) as 5d-address parameter for each domain gate. You also must 
  1965. have the Gate config verb set to either `both' or `domains'. See The GAte 
  1966. Keyword, for more information. 
  1967.  
  1968. With this done, MsgEd TE will gate any messages being saved with a destination 
  1969. domain listed as one of the gates.  Note that for this to occur, the 
  1970. destination domain must be different than your own. 
  1971.  
  1972. Confused? Luckily enough, most users don't have to deal with domain gating ... 
  1973.  
  1974.  
  1975. ΓòÉΓòÉΓòÉ 8.2.11. EditKey ΓòÉΓòÉΓòÉ
  1976.  
  1977. Syntax: 
  1978.           EditKey key function 
  1979.  
  1980. This keyword is used to redefine the keyboard layout in the internal message 
  1981. editor. See Redefining the Keyboard, for more information. 
  1982.  
  1983.  
  1984. ΓòÉΓòÉΓòÉ 8.2.12. Editor ΓòÉΓòÉΓòÉ
  1985.  
  1986. Syntax: 
  1987.           Editor program-name 
  1988.  
  1989. Example: 
  1990.           Editor c:\boxer\b2.exe 
  1991.  
  1992. This command allows you to specify an external editor to use when writing 
  1993. messages.  The editor program (specified as executable filename with full path 
  1994. as the program-name parameter) must accept a filename as the first and only 
  1995. parameter. 
  1996.  
  1997. Before you decide to use an external editor, you might first want to look at 
  1998. the built-in editor of MsgEd TE. Using the EditKey keyword, the built-in editor 
  1999. is highly configurable to emulate the keystroke combination that you are used 
  2000. to use from your preferred external editor, and you can safe a lot of 
  2001. unnecessary overhead and gain a lot of comfort when using the internal editor 
  2002. as compared to the external one. 
  2003.  
  2004.  
  2005. ΓòÉΓòÉΓòÉ 8.2.13. EnableSC ΓòÉΓòÉΓòÉ
  2006.  
  2007. Syntax: 
  2008.           EnableSC string 
  2009.  
  2010. Example: 
  2011.           EnableSC type-national-characters-here 
  2012.  
  2013. (The example from above will only look correct in the TeX (`.DVI' or `.PS' or 
  2014. `.PDF') edition of this document. It should be an a dieresis, o dieresis, u 
  2015. dieresis, A dieresis, O dieresis, U dieresis, and a sharp s in true 8 bit 
  2016. special characters.) 
  2017.  
  2018. This keyword is only relevant on UNIX. On UNIX, when using a VT100, xterm, or 
  2019. similar terminal, Alt or Meta key combinations generate the same key codes like 
  2020. national characters with ASCII values greater than 127. This is a problem, 
  2021. because on the one hand, MsgEd TE relies on combinations of normal keys with 
  2022. Alt, but on the other hand, you probably want to use national special 
  2023. characters in your mail. 
  2024.  
  2025. By default, the UNIX version of MsgEd TE enables all Alt key combinations and 
  2026. disables all national special characters. You can then use the EnableSC keyword 
  2027. to selectively enable national special charcters. All special characters that 
  2028. occur in the string given as argument will be interpreted as charcters rather 
  2029. then Alt key combinations. 
  2030.  
  2031. The example from above enables all German national charcters. The only relevant 
  2032. Alt key combination that you will loose by enabling those characters is Alt-V 
  2033. (``show notes''). This function is also available by pressing Alt-K (``show 
  2034. kludges''), so that isn't a problem. 
  2035.  
  2036. Note that you will have to use an editor that allows the input of national 
  2037. charcters in order to generate the necessary configuration file entry. vi 
  2038. should be able to do this, as well as joe. If you are not able to type those 
  2039. characters in vi, you should not even try to type them in MsgEd TE ... 
  2040.  
  2041. If you need information on how to set up a FreeBSD system to correctly process 
  2042. special national characters, you can f`req `syscons.tgz' at 2:2476/418. 
  2043.  
  2044.  
  2045. ΓòÉΓòÉΓòÉ 8.2.14. Fido ΓòÉΓòÉΓòÉ
  2046.  
  2047. This keyword is described in the section about manual message area definition 
  2048. (see Manual Area Definition). 
  2049.  
  2050.  
  2051. ΓòÉΓòÉΓòÉ 8.2.15. FreqArea ΓòÉΓòÉΓòÉ
  2052.  
  2053. Syntax: 
  2054.           FreqArea area-tag 
  2055.  
  2056. Example: 
  2057.           FreqArea NETMAIL 
  2058.  
  2059. This keyword defines the message area where file request messages will be 
  2060. written when the Ctrl-F function is invoked.  If not defined, `NETMAIL' is the 
  2061. default areatag.  Only one file request area may be defined. 
  2062.  
  2063.  
  2064. ΓòÉΓòÉΓòÉ 8.2.16. Function ΓòÉΓòÉΓòÉ
  2065.  
  2066. Syntax: 
  2067.           Function number keystrokes 
  2068.  
  2069. Example: 
  2070.           Function 11 \0x17D:\\text\\*.*^M 
  2071.  
  2072. A function key macro is a predefined keystroke sequence that is assigned on a 
  2073. function key. If you press this function key, MsgEd TE will do exactly what it 
  2074. would have done if you have typed in all the keystrokes of this macro manually. 
  2075.  
  2076. The following function key numbers (to be used as the number parameter) are 
  2077. available: 
  2078.  
  2079.           Execute this macro at program startup. 
  2080.  
  2081. 1 .. 10 
  2082.           F1 .. F10 
  2083.  
  2084. 11 .. 20 
  2085.           Shift-F1 .. Shift-F10 
  2086.  
  2087. 21 .. 30 
  2088.           Ctrl-F1 .. Ctrl-F10 
  2089.  
  2090. 31 .. 40 
  2091.           Alt-F1 .. Alt-F10 
  2092.  
  2093. Note that function key numbers 11 through 40 might not work on Unix. 
  2094.  
  2095. When using key scancodes in a macro, you must escape them with a backslash 
  2096. character (`\').  If you wish to have a literal backspace character appear in 
  2097. the macro string (e.g. if it's needed as part of a path to a file), use two 
  2098. backslash characters, like in the example above. 
  2099.  
  2100. The example from above will assign Shift-F1 to display a pick list of the files 
  2101. in the `D:\TEXT' directory.  After the list is displayed, you may select a file 
  2102. to import into a message while in Msged's internal editor.  Note that control 
  2103. characters in a macro such as ^M (Enter) must be written in UPPER case. 
  2104.  
  2105.  
  2106. ΓòÉΓòÉΓòÉ 8.2.17. Gate ΓòÉΓòÉΓòÉ
  2107.  
  2108. Syntax: 
  2109.           Gate what 
  2110.  
  2111. Examples: 
  2112.           Gate Zones 
  2113.  
  2114.           Gate Domains 
  2115.  
  2116.           Gate Both 
  2117.  
  2118. The what parameter to the Gate keyword specifies if MsgEd TE should do zone 
  2119. gating (Gate Zones), domain gating (Gate Domains), or both (Gate Both). This 
  2120. has nothing to do with internet gateways. 
  2121.  
  2122. Domain gating is explained in detail in the section about the Domain keyword 
  2123. (see The Domain Keyword). 
  2124.  
  2125. Zone gating works like this: If you write a mail to a different zone and zone 
  2126. gating is enabled, the mail will not be addressed to the receiver in the other 
  2127. zone, but it will be addressed to that zone's zone gate (which also has an 
  2128. address inside your own zone). The address of the true receiver will be encoded 
  2129. in an @INTL kludge line. 
  2130.  
  2131. I strongly recommend to at least enable zone gating, because I found that it is 
  2132. the only way to really reliable route inter-zone netmail. (In that point, I 
  2133. object the original MsgEd documentation's author's opionion). 
  2134.  
  2135.  
  2136. ΓòÉΓòÉΓòÉ 8.2.18. Group ΓòÉΓòÉΓòÉ
  2137.  
  2138. Syntax: 
  2139.           Group "substring" name-index template-index 
  2140.  
  2141. Example: 
  2142.           Group "OS2" 0 1 
  2143.  
  2144. This command allows you to form groups of areas for which different templates 
  2145. and user names are used. For example, you might wish to use a different signoff 
  2146. in OS/2-related areas (probably stating your TeamOS/2 number) than in other 
  2147. areas. Or, if you are moderator in a certain area, you might want to use the 
  2148. user name "Moderator" instead of the user name that you are using in normal 
  2149. areas. 
  2150.  
  2151. The substring parameter to the Group command specifies a substring that must be 
  2152. present in the area tag in order to make the area a member of this group. 
  2153.  
  2154. The name-index parameter then specifies the index number of the user name that 
  2155. should be used for all areas in this group. User names are counted from zero 
  2156. upwards, so if you have two or more Name keywords in your config file, the name 
  2157. specified with the first Name keyword will have an index number of 0, the 
  2158. second will have 1, and so one. See The Name Keyword, for more information. 
  2159.  
  2160. The template-index number defines which message template file should be used 
  2161. for areas belonging to this group. The first message template file that you 
  2162. have specified with the Template keyword has number 0, the second has number 1, 
  2163. and so on. 
  2164.  
  2165.  
  2166. ΓòÉΓòÉΓòÉ 8.2.19. HelpFile ΓòÉΓòÉΓòÉ
  2167.  
  2168. Syntax: 
  2169.           HelpFile file-name 
  2170.  
  2171. Example: 
  2172.           HelpFile e:\fido\msged\msghelp.dat 
  2173.  
  2174. Specify the complete path and file name of the compiled MsgEd TE help file 
  2175. here. It is usally named `msghelp.dat', or `~/.msged.help' on Unix. 
  2176.  
  2177.  
  2178. ΓòÉΓòÉΓòÉ 8.2.20. Include ΓòÉΓòÉΓòÉ
  2179.  
  2180. Syntax: 
  2181.           Include file-name 
  2182.  
  2183. Example: 
  2184.           Include scheme.001 
  2185.  
  2186. The file specified with the file-name parameter will be read in and parsed as a 
  2187. normal config file. This is often used for including color scheme configuration 
  2188. files. 
  2189.  
  2190.  
  2191. ΓòÉΓòÉΓòÉ 8.2.21. Lastread ΓòÉΓòÉΓòÉ
  2192.  
  2193. Syntax: 
  2194.           Lastread lastread-file 
  2195.  
  2196. Example: 
  2197.           Lastread LASTREAD 
  2198.  
  2199. The lastread-file parameter of this keyword specifies the name of the 
  2200. ``lastread file''  that is used to store lastread pointers for Fido *.MSG 
  2201. areas. It should always be `LASTREAD'. 
  2202.  
  2203. In contrast to the lastread-file parameter of the Name keyword, the 
  2204. lastread-file parameter globally changes the name of the lastread file for all 
  2205. users instead of only for a specific user name. See The Name Keyword, for more 
  2206. information. 
  2207.  
  2208.  
  2209. ΓòÉΓòÉΓòÉ 8.2.22. MaxX, MaxY ΓòÉΓòÉΓòÉ
  2210.  
  2211. Syntax: 
  2212.           MaxX columns 
  2213.  
  2214.           MaxY rows 
  2215.  
  2216. Example: 
  2217.           MaxX 80 
  2218.  
  2219.           MaxY 25 
  2220.  
  2221. The MaxX and MaxY keywords are used to define the screen or text window size 
  2222. MsgEd TE is running in. Normally this will be autodetected and MsgEd TE will 
  2223. automatically use the full window size. For example, on OS/2, you could execute 
  2224. `MODE CO100,40' and then start MsgEd TE, and it will automatically use 100 
  2225. columns and 40 rows. 
  2226.  
  2227. In some cases, however, the autodetection fails, or you might not want MsgEd TE 
  2228. to use the full screen size. In this case, you have to define the screen or 
  2229. window size manually with the MaxX and MaxY parameters. 
  2230.  
  2231.  
  2232. ΓòÉΓòÉΓòÉ 8.2.23. MountDir ΓòÉΓòÉΓòÉ
  2233.  
  2234. Syntax: 
  2235.           MountDir unix-path dos-path 
  2236.  
  2237. Example: 
  2238.           MountDir /mnt/c c:\ 
  2239.  
  2240. This keyword is used to tell the Unix version of MsgEd TE how it can translate 
  2241. DOSish pathnames found in `squish.cfg', `fastecho.cfg' or even `msged.cfg' 
  2242. files that are mounted via NFS, rumba or smbfs from a DOS, OS/2 or Windows 
  2243. machine. 
  2244.  
  2245. Suppose you are having a message base that is stored in `c:\msgbase' on your 
  2246. OS/2 or Windows machine. Also suppose that your complete C: drive on the OS/2 
  2247. or Windows machine is mounted as /mnt/c on the UNIX machine. (The Windows 
  2248. machine and UNIX machine can be two distinct machines connected via network, or 
  2249. a single machine with multi boot, where UNIX can mount the OS/2 or DOS 
  2250. partitions). 
  2251.  
  2252. You can then install MsgEd TE on the Unix machine and let it read in the same 
  2253. configuration files that are also used on the OS/2 or Windows machine. Simply 
  2254. put MountDir /mnt/c c:\ into your configuration file. When MsgEd TE is running 
  2255. on OS/2 or Windows, it will ignore the keyword, but when it is running on Unix, 
  2256. it will know how to translate the DOS-like filenames found in the corresponding 
  2257. configuration files into file names that are correct for the UNIX system. 
  2258.  
  2259. Please note that you can have only one MountDir statement in the configuration 
  2260. file. 
  2261.  
  2262.  
  2263. ΓòÉΓòÉΓòÉ 8.2.24. Name ΓòÉΓòÉΓòÉ
  2264.  
  2265. Syntax: 
  2266.           Name "name" [lastread-file [user-offset]] 
  2267.  
  2268. Examples: 
  2269.           Name "Tobias Ernst" 
  2270.  
  2271.           Name "Joe Sysop"  LASTREAD 0 
  2272.  
  2273.           Name "Jane Sysop" LASTREAD 1 
  2274.  
  2275. You can specify your user name as the name parameter inside quotation marks 
  2276. here. You can specify more than one user name by repeating the Name keyword. 
  2277. Then, you can select which name to use during program execution by pressing 
  2278. CTRL-U. 
  2279.  
  2280. Optionally, you can use the lastread-file parameter to specify the name of the 
  2281. file that stores the lastread pointers in Fido *.MSG areas. This one should 
  2282. always be named `LASTREAD'. 
  2283.  
  2284. As a third parameter, you can specify a user-offset for each individual name. 
  2285. The logic behind the user offset is as follows: Each distinct user of your 
  2286. message base should have his own lastread pointer. All lastread pointers are 
  2287. stored in a lastread file (`LASTREAD' for Fido *.MSG, `*.SQL' for squish). Each 
  2288. user who wants to have a separate lastread pointer must have a unique user 
  2289. offset into the lastread pointer file. 
  2290.  
  2291. Normally, the sysop has a user offset of zero (which is the default for the 
  2292. user-offset parameter), and each BBS user has his user number as user offset. 
  2293. However, if you have two or more sysops (in this context, this simply means 
  2294. persons accessing your message base directly with MsgEd TE instead of using the 
  2295. BBS), you must manually assign unique user offset numbers for each person. 
  2296.  
  2297.  
  2298. ΓòÉΓòÉΓòÉ 8.2.25. NodePath ΓòÉΓòÉΓòÉ
  2299.  
  2300. Syntax: 
  2301.           NodePath path-name 
  2302.  
  2303. Example: 
  2304.           NodePath e:\fido\nodelist 
  2305.  
  2306. MsgEd TE can use compiled version 7 nodelists to perform nodelist lookups. All 
  2307. files pertaining to all version 7 nodelists, i.E. the compiled index files and 
  2308. the raw nodelist files, must be stored in the V7 nodelist directory. The 
  2309. NodePath keyword is used to tell MsgEd TE that all v7 nodelist files reside in 
  2310. the directory named path-name. See The Nodelist Keyword, for more information. 
  2311.  
  2312.  
  2313. ΓòÉΓòÉΓòÉ 8.2.26. Nodelist ΓòÉΓòÉΓòÉ
  2314.  
  2315. Syntax: 
  2316.           Nodelist domain-name base-name sysop-file 
  2317.  
  2318. Example: 
  2319.           Nodelist fidonet nodex sysop.ndx 
  2320.  
  2321. MsgEd TE can use compiled version 7 nodelists to perform nodelist lookups. With 
  2322. the Nodelist keyword, you specify the v7 nodelists that MsgEd TE should use. 
  2323. All three parameters are mandatory. 
  2324.  
  2325. The domain-name parameter specifies the name of the domain that is used when 
  2326. picking which nodelist to use for address lookup if the zone number is not 
  2327. unambiguous. The base-name parameter specifies the base name of the index file 
  2328. minus the extension (e.g. `nodex' for `nodex.idx'), and sysop-file is the name 
  2329. of the sysop lookup file. You must not specify any path names for the latter 
  2330. two parameters - these files must always reside in the directory pointed 
  2331. specified as argument to NodePath. See The NodePath Keyword, for more 
  2332. information. 
  2333.  
  2334. Normally, you will compile all raw nodelists that you have into a single v7 
  2335. index. In this case, simply use the example from above. You will only have to 
  2336. bother about separate indices, domain names and the like if you have two 
  2337. distinct othernets with identical zone numbers. 
  2338.  
  2339.  
  2340. ΓòÉΓòÉΓòÉ 8.2.27. Origin ΓòÉΓòÉΓòÉ
  2341.  
  2342. Syntax: 
  2343.           Origin string 
  2344.  
  2345. Example: 
  2346.           Origin We love MsgEd TE! 
  2347.  
  2348. The origin line terminates an echomail and tells the sender`s FTN address. Thus 
  2349. it has an important technical function. On the other hand, the origin line also 
  2350. leaves space for about 55 bytes of free-form text. They can be used to place 
  2351. your BBS system's name there, but you can also place other meaningful or 
  2352. meaningless messages there. The text that you specify as the string parameter 
  2353. may include whitespace characters. It will simply be copied into the origin 
  2354. line, but be aware of the fact that MsgEd TE might have to truncate the text in 
  2355. order to prevent the origin line from getting longer than 79 characters. 
  2356.  
  2357. You can use macro tokens in the origin line to provide some sort of dynamic 
  2358. information. The macros will be expanded to their value when the message is 
  2359. saved. The following macros can be used: 
  2360.  
  2361. @N 
  2362.           full name of message receiver 
  2363.  
  2364. @F 
  2365.           first name of message receiver 
  2366.  
  2367. @L 
  2368.           last name of message receiver 
  2369.  
  2370. @Y 
  2371.           full name of message author 
  2372.  
  2373. @D 
  2374.           complete message date (as for example: `24 Dec 97') 
  2375.  
  2376. @DD 
  2377.           message date, day number (as for example: `24') 
  2378.  
  2379. @DW 
  2380.           message date, week day (as for example: `Mon') 
  2381.  
  2382. @DM 
  2383.           message date, month (as for example: `Dec') 
  2384.  
  2385. @DY 
  2386.           message date, 2 digit year (as for example: `97') 
  2387.  
  2388. @D4 
  2389.           message date, 4 digit year (as for example: `1997') 
  2390.  
  2391. @DC 
  2392.           message date, century (as for example: `20') 
  2393.  
  2394. @T 
  2395.           complete message time (as for example: `12:30:24') 
  2396.  
  2397. @S 
  2398.           message subject 
  2399.  
  2400. @A 
  2401.           area tag 
  2402.  
  2403. @I 
  2404.           message size 
  2405.  
  2406. @Q 
  2407.           quote ratio 
  2408.  
  2409. @@ 
  2410.           a single @ character 
  2411.  
  2412. In MsgEd TE, you can also specify more than one Origin keyword in the 
  2413. configuration file. MsgEd TE will then automatically select a random line out 
  2414. of those that you have specified each time that it has to generate an origin 
  2415. line. This feature is called origin shuffling. 
  2416.  
  2417.  
  2418. ΓòÉΓòÉΓòÉ 8.2.28. Outfile ΓòÉΓòÉΓòÉ
  2419.  
  2420. Syntax: 
  2421.           Outfile file-name 
  2422.  
  2423. Example: 
  2424.           Outfile export.txt,t 
  2425.  
  2426. This keyword is used to configure the default file-name that should be used for 
  2427. exporting mails as text by pressing Alt-W. You can change this value at 
  2428. runtime; here, you just configure the default that the dialog box will be 
  2429. filled in with. You can specify a normal file name, or you can specify a 
  2430. special file name designating a device like for example `LPT1:'. On Unix, you 
  2431. can also a program that the text should be piped to. 
  2432.  
  2433. The default format for exporting text is to write it in raw format, that is, 
  2434. carriage returns will only be placed at the end of each paragraph, and no 
  2435. message header will be added. This format is useful if you later wish to 
  2436. re-import the text into MsgEd TE, but it is not suitable for printing or 
  2437. editing with "standard" text editors. 
  2438.  
  2439. The default format can be changed by appending a suffix to the filename. If you 
  2440. append the filename with `,t', like in the example above, a carriage return 
  2441. will be placed after each line of text, and a message header will be put in 
  2442. front of the text. This format is well suited for printing (use `lpt1:,t' to 
  2443. print the mail), or for using the mail in standard text editors. 
  2444.  
  2445. If you append `,q' to the filename, the text will be exported in quote format. 
  2446. This means that an attribution line will be added to the beginning of the 
  2447. message and each line will be preceded by the quote string. 
  2448.  
  2449. Putting a `+' in front of the filename will cause the text to be appended to 
  2450. the file.  Otherwise the file will be overwritten. 
  2451.  
  2452. Putting a `|' in front of the filename will cause the filename to be 
  2453. interpreted as an operating system command and the text will be piped to this 
  2454. command. This only works on Unix and EMX-compiled OS/2. 
  2455.  
  2456. Putting a `?' in front of the filename indicates you want to be asked whether 
  2457. to append or not, and how to write out the file.  Some menus will appear and 
  2458. you choose the action you want. 
  2459.  
  2460. See Exporting Mails to Text Files or to a Printer, for more information. 
  2461.  
  2462.  
  2463. ΓòÉΓòÉΓòÉ 8.2.29. OutputCharset ΓòÉΓòÉΓòÉ
  2464.  
  2465. Syntax: 
  2466.           OutputCharset charset 
  2467.  
  2468. Example: 
  2469.           OutputCharset LATIN-1 
  2470.  
  2471. This specifies which character set should be used for writing messages with 
  2472. special characters (like umlauts, accents, IBM graphics). The mail will be 
  2473. converted into the given charset, and the proper charset kludge will be 
  2474. appended. This does only apply to areas which have the `8' flag set, because in 
  2475. all other areas, the messages will always be converted into a 7-bit ASCII 
  2476. representation. 
  2477.  
  2478. The charset that you specify as charset argument must be a level 2 charset, and 
  2479. a matching translation table must be contained in the `writmaps.dat' file. If 
  2480. there isn't such a table, you will only see this from the fact that the written 
  2481. message will contain 8-bit characters, but no charset kludge(!). So be careful 
  2482. not to misspell the option.  If you use the `writmaps.dat' that shipped with 
  2483. MsgEd TE, you have the following options: 
  2484.  
  2485. IBMPC 
  2486.           Specify this if you want to export IBM graphics characters, or if you 
  2487.           want to be compatible with old DOS software that does not know about 
  2488.           character set translation with charset kludges. 
  2489.  
  2490. MAC 
  2491.           Specify this if you want to be compatible with old Macintosh softare 
  2492.           that does not know about charset kludges. 
  2493.  
  2494. LATIN-1 
  2495.           This is the ISO 8859 standard character set. It is always a good 
  2496.           choice as long as you do not want to use IBM graphics characters. 
  2497.  
  2498. CP850 
  2499.           MsgEd TE supports the CP850 charset kludge, but you should use it as 
  2500.           output charset, because quite a few other editors do not support it. 
  2501.  
  2502. The character does not need to match the charset that your computer is using 
  2503. internally; MsgEd TE will do all necessary conversion. 
  2504.  
  2505. See Using Special Characters - The FSC 0054 Charset Kludge, for more 
  2506. information. 
  2507.  
  2508.  
  2509. ΓòÉΓòÉΓòÉ 8.2.30. PrivateNet ΓòÉΓòÉΓòÉ
  2510.  
  2511. Syntax: 
  2512.           PrivateNet fakenet-number 
  2513.  
  2514. Example: 
  2515.           PrivateNet 12345 
  2516.  
  2517. Modern mailers, message reader/editors (including MsgEd TE), and mail 
  2518. processing programs are fully 4D address aware and do not require the 
  2519. PrivateNet keyword.  However, if you are operating a point system whose boss 
  2520. node uses a "fakenet" to service points, this keyword should be used. 
  2521.  
  2522. The fakenet-number parameter specifies the private net number number to use for 
  2523. non-4D points. The fakenet point scheme was designed to work with systems which 
  2524. were unable to support true points, such as BinkleyTerm 2.40 and lower.  The 
  2525. actual "fakenet" number and address must be assigned to you by your boss node. 
  2526.  
  2527.  
  2528. ΓòÉΓòÉΓòÉ 8.2.31. Quick ΓòÉΓòÉΓòÉ
  2529.  
  2530. This keyword is described in the section about manual message area definition 
  2531. (see Manual Area Definition). 
  2532.  
  2533.  
  2534. ΓòÉΓòÉΓòÉ 8.2.32. QuickBBS ΓòÉΓòÉΓòÉ
  2535.  
  2536. Syntax: 
  2537.           QuickBBS path-name 
  2538.  
  2539. Example: 
  2540.           QuickBBS e:\fido\hmb 
  2541.  
  2542. In order to use a hudson message base (also known as Quick BBS message base), 
  2543. you have to specify the path where the HMB files are stored using the path-name 
  2544. parameter of the QuickBBS keyword. You must specify the QuickBBS keyword in the 
  2545. configuration file before any Quick or AreaFile keyword. 
  2546.  
  2547.  
  2548. ΓòÉΓòÉΓòÉ 8.2.33. Quote ΓòÉΓòÉΓòÉ
  2549.  
  2550. Syntax: 
  2551.           Quote quote-string 
  2552.  
  2553. Example: 
  2554.           Quote _&>_ 
  2555.  
  2556. When quoting a mail, every line of quoted text will be prefixed with 
  2557. quote-string. The following tokens inside the quote string have special 
  2558. meanings: 
  2559.  
  2560.           will be replaced with all initials of the writer of the quoted 
  2561.           message 
  2562.  
  2563.           will be replaced with a whitespace 
  2564.  
  2565.           will be replaced with the first initial of the writer of the quoted 
  2566.           message 
  2567.  
  2568.           will be replaced with the second initial of the writer of the quoted 
  2569.           message 
  2570.  
  2571. Following common fidonet practice, you should use `_&>_' as quote string. 
  2572.  
  2573.  
  2574. ΓòÉΓòÉΓòÉ 8.2.34. QuoteRight ΓòÉΓòÉΓòÉ
  2575.  
  2576. Syntax: 
  2577.           QuoteRight column 
  2578.  
  2579. Example: 
  2580.           Quoteright 75 
  2581.  
  2582. The column argument specifies the right margin to use when quoting text. 
  2583. Because quoted text - in contrast to normal text - is stored with a carriage 
  2584. return after each line, you should not specify a value greater than 75 in order 
  2585. to assure that the text can be displayed on standard 80 columns displays 
  2586. without problems. 
  2587.  
  2588.  
  2589. ΓòÉΓòÉΓòÉ 8.2.35. ReadKey ΓòÉΓòÉΓòÉ
  2590.  
  2591. Syntax: 
  2592.           ReadKey key function 
  2593.  
  2594. This keyword is used to redefine the keyboard layout in message reading mode. 
  2595. See Redefining the Keyboard, for more information. 
  2596.  
  2597.  
  2598. ΓòÉΓòÉΓòÉ 8.2.36. Right ΓòÉΓòÉΓòÉ
  2599.  
  2600. Syntax: 
  2601.           Right column 
  2602.  
  2603. Example: 
  2604.           Right 79 
  2605.  
  2606. The column argument specifies the right margin to use when writing normal text. 
  2607. Normally, there is no reason to use this parameter, as MsgEd TE will always 
  2608. simply use the width of the window or console it is running in. Please note 
  2609. that because of the way text is stored in Fidonet messages (carriage returns 
  2610. are only placed at the end of a paragraph), it is no problem to use right 
  2611. margins higher than 80. Even then, users with only 80 columns will still be 
  2612. able to read your message nicely formatted. 
  2613.  
  2614.  
  2615. ΓòÉΓòÉΓòÉ 8.2.37. RobotName ΓòÉΓòÉΓòÉ
  2616.  
  2617. Syntax: 
  2618.           RobotName name 
  2619.  
  2620. Example: 
  2621.           RobotName Areafix 
  2622.  
  2623. Using the name parameter of the RobotName keyword, you can specify names of 
  2624. robot machines like Areafix, Allfix, VoteMgr and so on. Each RobotName keyword 
  2625. only accepts a single name parameter, but you may repat the RobotName keyword 
  2626. as often as necessary. 
  2627.  
  2628. The reason for defining the names of common fidonet robots is the following: 
  2629. When writing a mail that is addressed to a user name that matches one of the 
  2630. defined robot names, MsgEd TE will not insert the usual message template. 
  2631. (VoteMgr will be confused if the first line in your Message is "Hello VoteMgr" 
  2632. instead of the expected meta command ...). 
  2633.  
  2634.  
  2635. ΓòÉΓòÉΓòÉ 8.2.38. Scan ΓòÉΓòÉΓòÉ
  2636.  
  2637. Syntax: 
  2638.           Scan 
  2639.  
  2640. If this keyword is specified, MsgEd TE will automatically scan all message 
  2641. areas on startup. 
  2642.  
  2643.  
  2644. ΓòÉΓòÉΓòÉ 8.2.39. SoftCrXlat ΓòÉΓòÉΓòÉ
  2645.  
  2646. Syntax: 
  2647.           SoftCrXlat character 
  2648.  
  2649. Example: 
  2650.           SoftCrXlat 0x48 
  2651.  
  2652. This configures MsgEd TE to replace the "soft carriage return" character (0x8d) 
  2653. with the character specified as argument to the SoftCrXlat keyword when you 
  2654. compose a message or import a file into the internal editor.  character 
  2655. specifies the ASCII character with which to replace, and should be a numeric 
  2656. value between 1 and 255 (decimal). For example, CodePage 866 (Russian) uses 
  2657. SoftCR as letter "H", so Russian users should define: `SoftCrXlat 0x48'. 
  2658.  
  2659.  
  2660. ΓòÉΓòÉΓòÉ 8.2.40. SortAreas ΓòÉΓòÉΓòÉ
  2661.  
  2662. Syntax: 
  2663.           SortAreas criteria 
  2664.  
  2665. Example: 
  2666.           SortAreas NGD 
  2667.  
  2668. Normally, MsgEd TE displays all message areas in the order in that they have 
  2669. been defined in the configuration file and/or in the area files. 
  2670.  
  2671. With the SortAreas keyword, you can instruct MsgEd TE to sort the areas by 
  2672. certain criteria. The criteria parameter is a string that consists of letters 
  2673. each specifying a sort criterium. The leftmost letter is the most significant. 
  2674. The following letters can be used to define sorting criteria: 
  2675.  
  2676.           Sort netmail areas on top, then local areas, then echomail areas. 
  2677.  
  2678.           Sort by area tag. 
  2679.  
  2680.           Sort by area description. 
  2681.  
  2682.           Sort by Fastecho group number. 
  2683.  
  2684. The meanings of `D' and `T' may vary depending on which area file you imported 
  2685. the area from.  T is the true area tag, while D is what you actually see on 
  2686. screen.  You will usually wish to use D, because ordering by what you see seems 
  2687. to be more logical than ordering by what you don't see. 
  2688.  
  2689. The `G' criterium does only work with areas imported from a `Fastecho.cfg' 
  2690. files. All other areas have a group value of 0. 
  2691.  
  2692.  
  2693. ΓòÉΓòÉΓòÉ 8.2.41. Squish ΓòÉΓòÉΓòÉ
  2694.  
  2695. This keyword is described in the section about manual message area definition 
  2696. (see Manual Area Definition). 
  2697.  
  2698.  
  2699. ΓòÉΓòÉΓòÉ 8.2.42. SwapPath ΓòÉΓòÉΓòÉ
  2700.  
  2701. Syntax: 
  2702.           SwapPath file-name 
  2703.  
  2704. Example: 
  2705.           SwapPath c:\temp\msged.swp 
  2706.  
  2707. Use the filename and path to your swapfile as value vor the file-name 
  2708. parameter. This is only for DOS users but it should definitely be used.  If you 
  2709. don't use it, you must return to the Msged directory before returning to the 
  2710. editor. 
  2711.  
  2712.  
  2713. ΓòÉΓòÉΓòÉ 8.2.43. Switch ΓòÉΓòÉΓòÉ
  2714.  
  2715. This keyword is explained in the section about configuration switches (see 
  2716. Switches). 
  2717.  
  2718.  
  2719. ΓòÉΓòÉΓòÉ 8.2.44. Tabsize ΓòÉΓòÉΓòÉ
  2720.  
  2721. Syntax: 
  2722.           Tabsize size 
  2723.  
  2724. Example: 
  2725.           Tabsize 8 
  2726.  
  2727. When you enter a message and press the TAB key, it will be expanded into the 
  2728. number of white space characters that you have specified as size argument to 
  2729. the Tabsize keyword. TAB characters in other messages will not be expanded. 
  2730.  
  2731.  
  2732. ΓòÉΓòÉΓòÉ 8.2.45. Template ΓòÉΓòÉΓòÉ
  2733.  
  2734. Syntax: 
  2735.           Template file-name 
  2736.  
  2737. Example: 
  2738.           Template msged.tpl 
  2739.  
  2740. The template file is used to define standard "hello strings", signoff messages, 
  2741. and much more. See the provided sample template file for information on how to 
  2742. do this. Specify the filename of your template file as the  file-name parameter 
  2743. to the Template keyword. 
  2744.  
  2745.  
  2746. ΓòÉΓòÉΓòÉ 8.2.46. TossLog ΓòÉΓòÉΓòÉ
  2747.  
  2748. Syntax: 
  2749.           TossLog file-name 
  2750.  
  2751. Example: 
  2752.           TossLog echotoss.log 
  2753.  
  2754. The log file named file-name will contain a list of area tags of all areas into 
  2755. which you have entered messages. Such files are usually named echotoss.log or 
  2756. confmail.out and are used by tossers to accelerate the scanning process. In 
  2757. MsgEd TE, the echotoss log file is updated immediately as soon as you have 
  2758. entered a new message. 
  2759.  
  2760.  
  2761. ΓòÉΓòÉΓòÉ 8.2.47. UserList ΓòÉΓòÉΓòÉ
  2762.  
  2763. Syntax: 
  2764.           UserList filename 
  2765.  
  2766. Example: 
  2767.           UserList e:\nodelist\fidouser.lst 
  2768.  
  2769. The fido user list file is a text file that contains all fidonet sysop names 
  2770. and the corresponding node numbers. It is used for looking up node numbers by 
  2771. sysop name. A fido user list file is typically named `fidouser.lst'. You can 
  2772. specify up to two fido user list files by repeating the UserList keyword. 
  2773.  
  2774. Note that even when you are using a version 7 lookup, it is still preferable to 
  2775. also have a `fidouser.lst' file and to use the UserList keyword, because only 
  2776. the fidouser list file lookup routines of MsgEd TE can deal with multiple 
  2777. matching node numbers for one sysop name (they will present you a list to 
  2778. select from), while the V7 lookup routines currently cannot do this. 
  2779.  
  2780. The exact format of a fido user list file is as follows: Each line in this file 
  2781. must have eactly the same length. Sysop names are left justified and node 
  2782. numbers are right justified. Node Numbers must come after column 40. The file 
  2783. must be sorted alphabetically in a way like the C strcmp() function would do 
  2784. it. 
  2785.  
  2786.  
  2787. ΓòÉΓòÉΓòÉ 8.2.48. UserOffset ΓòÉΓòÉΓòÉ
  2788.  
  2789. Syntax: 
  2790.           UserOffset user-offset 
  2791.  
  2792. Example: 
  2793.           UserOffset 0 
  2794.  
  2795. See The Name Keyword, for information about the meaning of the user-offset 
  2796. parameter and lastread pointer principles. In contrast to the user-offset 
  2797. parameter to the Name keyword, the UserOffset keyword specifies a single user 
  2798. offset numbers for all names configured in your configuration file. This can be 
  2799. useful if you are the only person using MsgEd TE, but want to write under 
  2800. different names without having different lastread pointer offsets. 
  2801.  
  2802.  
  2803. ΓòÉΓòÉΓòÉ 8.2.49. UUCP ΓòÉΓòÉΓòÉ
  2804.  
  2805. Syntax: 
  2806.           UUCP address 
  2807.  
  2808. Example: 
  2809.           UUCP 242:4900/99.0 
  2810.  
  2811. The address parameter designates the FTN address of the gateway that your are 
  2812. using to send Internet/Usenet e-mail. See Using MsgEd TE for e-mail and 
  2813. newsgroups, for more information. 
  2814.  
  2815.  
  2816. ΓòÉΓòÉΓòÉ 8.2.50. UucpName ΓòÉΓòÉΓòÉ
  2817.  
  2818. Syntax: 
  2819.           UucpName name 
  2820.  
  2821. Example: 
  2822.           UucpName UUCP 
  2823.  
  2824. Some Internet gateway software requires that mail addressed to the gateway must 
  2825. be addressed to a specific user name in order to be gated into the Internet. 
  2826. This specific user name is usually `UUCP', and you can specify it as the name 
  2827. parameter to the UUCP keyword. 
  2828.  
  2829. If your gateway is using a better gateway software, like Fidogate, it will not 
  2830. have this restriction. Instead, such gateway software uses the name fields in 
  2831. the FTN header to exchange real name information. In this case, you should 
  2832. specify `UucpName *', which tells MsgEd TE that the gateway software allows any 
  2833. name to be put into the FTN header field. 
  2834.  
  2835. See Using MsgEd TE for e-mail and newsgroups, for more information. 
  2836.  
  2837.  
  2838. ΓòÉΓòÉΓòÉ 8.3. Switches ΓòÉΓòÉΓòÉ
  2839.  
  2840. Switches are used to configure the behaviour of MsgEd TE. In contrast to a full 
  2841. configuration keyword, which is used to pass detailed parameters to MsgEd TE, a 
  2842. switch toggles a simple state that can be turned on or off. Switches are 
  2843. usually used to switch certain features on or off. 
  2844.  
  2845. How to use Switches                     How to toggle switches on or off. 
  2846. List of Switches                        A complete list of available switches. 
  2847.  
  2848.  
  2849. ΓòÉΓòÉΓòÉ 8.3.1. How to turn switches on and off ΓòÉΓòÉΓòÉ
  2850.  
  2851. To turn a switch on or off, you can use the Switch keyword, which has the 
  2852. following syntax: 
  2853.  
  2854. Switch switch-name On
  2855. Switch switch-name Off
  2856.  
  2857. The switch-name parameter must be the name of a valid switch (a complete list 
  2858. of switches follows below). The first line from above turns the selected switch 
  2859. on, the second turns it off. (You knew it before, did'nt you? <g>). 
  2860.  
  2861. For example, in order to turn the SEEN-BYs switch on, you would add the 
  2862. following line to your configuration file: 
  2863.  
  2864. Switch SEEN-BYs On
  2865.  
  2866.  
  2867. ΓòÉΓòÉΓòÉ 8.3.2. List of Available Switches ΓòÉΓòÉΓòÉ
  2868.  
  2869. The following switches are available: 
  2870.  
  2871. ArealistExactMatch 
  2872.           When the area list is displayed, you can search a message area by 
  2873.           entering the first few characters of this name. This is the default. 
  2874.           If you turn off the ArealistExactMatch switch, any substring is 
  2875.           matched in an area search; you don't have to type an area name from 
  2876.           the beginning. Default: On. 
  2877.  
  2878. ChopQuote 
  2879.           When set to on, and you are quoting a message for reply, this switch 
  2880.           will cause all quoted lines at the end of the message to be removed 
  2881.           (chopped) when the message is saved.  This works only when using the 
  2882.           internal editor. If you are using an external editor, ChopQuote has 
  2883.           no effect.  When set to off, all quoted lines are saved, regardless 
  2884.           of their location in the message.  Note that you can also manually 
  2885.           chop quotes by pressing Alt-L. Default: Off. 
  2886.  
  2887. BS127 
  2888.           Most UNIX consoles (xterm, syscons, and many others) return the ASCII 
  2889.           code 8 (Ctrl+H) if you press the backspace key, and ASCII code 127 or 
  2890.           an extended escape sequence if you press the Del key. However, there 
  2891.           are some exceptions, notably the Linux system console. The Linux 
  2892.           console returns ASCII code 127 if you press the backspace key. The 
  2893.           result is that the backspace key behaves like Del in MsgEd TE, i.E. 
  2894.           it deletes the character under the cursor instead of the character on 
  2895.           the left. As this is probably not what you want, you can change this 
  2896.           behaviour by switching the BS127 switch on. You will probably want to 
  2897.           enclose the Switch BS127 On statement in a Conditional that tests if 
  2898.           the TERM environment variable is set to Linux. See Conditional 
  2899.           Statements in the Configuration File, for more information. Default: 
  2900.           Off: 
  2901.  
  2902. Colors 
  2903.           This switch is only relevant for the Unix versions of MsgEd TE. If it 
  2904.           is disabled, MsgEd TE will not send any ANSI color codes to the 
  2905.           terminal, but will restrict itself to the most basic monochrome text 
  2906.           styles ``normal'', ``bright'' and ``inverted''. This allows you to 
  2907.           use MsgEd TE on terminals like the standard xterm, hardware VT100 
  2908.           terminals, and others that do not understand color codes. Note that 
  2909.           you'd better not use the Color configuration keyword, nor include any 
  2910.           color scheme file, as long as this switch is disabled. See Colors in 
  2911.           the Unix version, for more information. Default: Off for Unix, On for 
  2912.           all other versions. 
  2913.  
  2914. Confirm 
  2915.           By disabling this switch, you will put MsgEd TE into the ``You asked 
  2916.           for it, you got it!''-mode, that is, you will disable any kind of 
  2917.           confirmation dialog boxes on critical actions like deleting messages, 
  2918.           aborting message entry, and the like. Default: On. (That is, by 
  2919.           default, MsgEd TE will display confirmation requests). 
  2920.  
  2921. DateArvd 
  2922.           If this switch is set to on, the date/time when a message arrived on 
  2923.           your system will be displayed on the right side of the header 
  2924.           information block below the date written information. You might want 
  2925.           to turn this off if your tosser should not fill in this date field 
  2926.           correctly. Default: On. 
  2927.  
  2928. DMore 
  2929.           When set to on, this will display the message number of the message 
  2930.           currently being read on the top line of the header after the area 
  2931.           description in the form: `(currentmsg# of maxmsg#)'. Default: Off. 
  2932.  
  2933. DomainOrigin 
  2934.           If turned on, MsgEd TE will generate five dimensional origin lines 
  2935.           (i.E., it will append the domain string to the address in the origin 
  2936.           line). It is suggested that you turn this switch off, but is is 
  2937.           turned on by default. Default: On. 
  2938.  
  2939. EchoFlags 
  2940.           When this switch is set to on, MsgEd TE will append a FLAGS control 
  2941.           line to messages entered in echomail areas whenever there are message 
  2942.           attributes. For example, entering a private message into an echomail 
  2943.           area will cause Msged to add a `FLAGS PVT' control line to the 
  2944.           beginning of the message text. Do not change this switch unless you 
  2945.           know what you are doing. Default: On. 
  2946.  
  2947. EditCROnly 
  2948.           If turned on, the internal message editor will mark hard carriage 
  2949.           returns with an ampersand sign. Default: Off. 
  2950.  
  2951. EditTearLines 
  2952.  
  2953. EditOriginLines 
  2954.           When these switches are turned off, the tearline and the origin line 
  2955.           will be appended to an echomail message after you have entered and 
  2956.           saved it. When they are turned on, tearline and/or origin line will 
  2957.           be appended to the message before you start to edit it, so that you 
  2958.           have for example the chance to modify the origin text or similar. 
  2959.           Default: Both On. 
  2960.  
  2961. ExtFormat 
  2962.           Indicates if text created in an external editor should be reformatted 
  2963.           by MsgEd TE. It is a good idea to leave this on when using an 
  2964.           external editor. Default: On. 
  2965.  
  2966. HardQuote 
  2967.           When switched on, this option causes the column formatting to be 
  2968.           preserved when quoting, i.e. it doesn't reformat quotes. Default: On. 
  2969.  
  2970. ImportFN 
  2971.           When using the built-in editor to  import a text file into a message, 
  2972.           this text file will be bracketet by some horizontal dashes and the 
  2973.           name of the file like this one: `"------ test.txt begins -----"' 
  2974.           before and `"----- test.txt ends -----"' after the file. You can 
  2975.           disable these two lines by turning the ImportFN switch off. Default: 
  2976.           On. 
  2977.  
  2978. LowerCase 
  2979.           If you turn the LowerCase switch on, MsgEd TE will convert all file 
  2980.           names that it reads from the configuration file or from any areafile 
  2981.           to lower case before it attempts to read to, write from, or create 
  2982.           any file. This might be helpful if you are using case-sensitive file 
  2983.           systems like Linux ext2fs or BSD ufs. 
  2984.  
  2985. MSGIDs 
  2986.           MSGIDs are used to uniquely identify a message coming from your 
  2987.           system. Unfortunately no two message editors use the same 
  2988.           MSGID-generating algorithm, so you cannot guarantee that you conform 
  2989.           to the MSGID specs unless you have used a specific message editor 
  2990.           (only) for a particular address in a 3-year period.  Most people just 
  2991.           ignore this potential problem and use them anyway. Leaving MSGIDs ON 
  2992.           will help mail tossers in duplicate message checking and/or reply 
  2993.           linking. Default: On. 
  2994.  
  2995. NetmailVia 
  2996.           If this switch is turned on, MsgEd TE will append a Via control line 
  2997.           to each netmail entered. You should turn this switch on, if your 
  2998.           tosser does not append Via lines to netmail that originates from your 
  2999.           system (like Squish does), but you should switch it off if your 
  3000.           tosser does append via lines to netmail even if the mail originates 
  3001.           from your own system (like Fastecho does). 
  3002.  
  3003. OpusDate 
  3004.           The old MsgEd documentation states differently, but judging from the 
  3005.           source code, turning this flag on would stop MsgEd TE from reading 
  3006.           the Opus date_written and date_arrived date fields of Fido *.MSG 
  3007.           messages. MsgEd TE will, however, always fill in those fields (in the 
  3008.           worst case with the current timestamp). Probably you should leave 
  3009.           this flag as is. Default: Off. 
  3010.  
  3011. Origins 
  3012.           This switch controls if echomail messages will be appended with an 
  3013.           origin line. You absolutely must leave this switch turned on, because 
  3014.           origin lines are technically necessary for a smooth operation of the 
  3015.           network. Default: On. 
  3016.  
  3017. QQuotes 
  3018.           This switch controls how MsgEd TE will modify the quote string when 
  3019.           quoting text that already is quoted. When turned on, MsgEd TE will 
  3020.           try to add another `>' character to the existing quote strings. If 
  3021.           turned off, MsgEd TE will not modify existing quote strings and thus 
  3022.           behave much like Maximus 2.0 or TimEd do. Default: On. 
  3023.  
  3024. RawCC 
  3025.           This switch is only of relevance if the SaveCC switch is turned on. 
  3026.           Then, if RawCC is on, the raw cc:  msg is saved (along with the cc: 
  3027.           header that you typed in, so that if you re-edit the message, also 
  3028.           all carbon copies will be re-generated). Otherwise, the first 
  3029.           formatted cc:  will NOT be marked kill/sent and will therefore remain 
  3030.           as a future reference, but the original raw message will not be 
  3031.           saved. Default: On. 
  3032.  
  3033. RealMsgN 
  3034.           If this switch is turned on, the message list screen (Alt-L) will 
  3035.           display the actual message number of each message instead of 
  3036.           displaying the messages in sequential order, starting with 1. 
  3037.           Default: Off. 
  3038.  
  3039. RightNextUnreadArea 
  3040.           When in message reading mode, and this switch is set to on, and there 
  3041.           are no more unread messages in the current message area, pressing the 
  3042.           right arrow key will go to the next area with unread messages. 
  3043.           Default: Off. 
  3044.  
  3045. SaveCC 
  3046.           When generating carbon copies, and if this switch is turned on, a 
  3047.           duplicate of the original message is saved with no kill/sent flag set 
  3048.           for future reference, and possible re-editing and/or resending (along 
  3049.           with the normal copied messages that are sent out and flagged 
  3050.           kill/sent). Default: On. 
  3051.  
  3052. Seen-Bys 
  3053.           This switch is a synonym for the ShowSeenBys switch. See below. 
  3054.  
  3055. Shadows 
  3056.           If this switch is enabled, MsgEd TE will draw nice shadows round 
  3057.           dialog boxes and other popup windows. You might want to disable this 
  3058.           switch if you use the Unix version of MsgEd TE, because on a VT100 
  3059.           compatible terminal, drawing those borders can slow down the program 
  3060.           considerably. Default: On. 
  3061.  
  3062. ShowAddr 
  3063.           If this switch is enabled, the FTN address that you are currently 
  3064.           using for the current area will be displayed on the left-hand side of 
  3065.           the line that separates the message header from the message text. 
  3066.           Default: On. 
  3067.  
  3068. ShowCR 
  3069.           If turned on, MsgEd TE will mark the location of hard carriage 
  3070.           returns with ASCII code 20, as known from common word processors. 
  3071.           This might not work on a VT100 terminal. Default: Off. 
  3072.  
  3073. ShowEOL 
  3074.           If turned on, MsgEd TE will mark the location of each end-of-line 
  3075.           character with ASCII code 29. This will only work if the ShowCR 
  3076.           switch is also turned on. Default: Off. 
  3077.  
  3078. ShowNotes 
  3079.           If turned on, MsgEd TE will display kludge line information in 
  3080.           message reading mode. You can also toggle this switch during program 
  3081.           execution by pressing Alt-V. Unlike in older MsgEd versions, this 
  3082.           switch does not pertain to origin and/or tear lines. Default: Off. 
  3083.  
  3084. ShowOrigins 
  3085.           This switch toggles the display of origin lines in message reading 
  3086.           mode. Default: On. 
  3087.  
  3088. ShowSystem 
  3089.           This enables the lookup and display of a system name in your compiled 
  3090.           version 7 nodelists. If set to on, the nodelisted system name will 
  3091.           appear in the header, after the sender's name and address, in netmail 
  3092.           and echomail message areas. If switched off, the lookup will not be 
  3093.           performed. Default: On. 
  3094.  
  3095. ShowTearlines 
  3096.           This switch toggles the display of tearlines in message reading mode. 
  3097.           Default: On. 
  3098.  
  3099. ShowSeenBys 
  3100.           If this switch is turned on, MsgEd TE will display SEEN-BY lines in 
  3101.           message reading mode. This is probably only useful for echomail 
  3102.           routing debugging purposes. Default: Off. 
  3103.  
  3104. ShowTime 
  3105.           Shows the current time.  This isn't a real time clock; it simply 
  3106.           shows what the current date and time were when the screen was last 
  3107.           refreshed with a new message, or when other keyboard hits were 
  3108.           detected.  Default: Off. 
  3109.  
  3110. SOTEOT 
  3111.           If this is set to on, MsgEd TE will add SOT and EOT (Start Of 
  3112.           Text/End Of Text) kludge lines to bracket the text in the message 
  3113.           body. Please note that Paul Edwards' SOT/EOT specification does not 
  3114.           permit domains in echomail origin lines.  If both the DomainOrigin 
  3115.           and SOTEOT configuration switches are enabled, MsgEd TE will exit and 
  3116.           suggest to disable one or the other. Default: Off. 
  3117.  
  3118. SquishLock 
  3119.           If the SquishLock switch is turned on, MsgEd TE will lock every 
  3120.           message area that is entered (and of course unlock it when it is 
  3121.           left), thus effectively denying access to this area to any other 
  3122.           program. This will result in a considerable speed increase when 
  3123.           browsing message areas, but it has the drawback that the tosser will 
  3124.           not be able to toss to an message area as long as it is open in MsgEd 
  3125.           TE. Also, some other problems have been observed with this switch in 
  3126.           network environments. So you'd best leave this switch off unless you 
  3127.           are running your Fido system on a non-networked, single tasking DOS 
  3128.           machine. 
  3129.  
  3130.           Note that this switch has nothing to do with data integrity concerns. 
  3131.           MsgEd will of course lock the Squish Message Base when writing a 
  3132.           message in order to insure data integrity even if the SquishLock 
  3133.           switch is turned off. 
  3134.  
  3135.           The default value of the SquishLock switch is Off (in contrast to the 
  3136.           mainstream MsgEd 4.30, where it is turned on by default). 
  3137.  
  3138. StatBar 
  3139.           Shows a status bar along the bottom of the screen. Default: On. 
  3140.  
  3141. Tearlines 
  3142.           This switch controls if echomail messages will be appended with a 
  3143.           tear line (three consecutive dashes) or not. You should leave this 
  3144.           switch on. Default: On. 
  3145.  
  3146. UseLastr 
  3147.           You should leave this switch turned on. It instructs MsgEd TE to use 
  3148.           the lastread pointer for Fido *.MSG style areas. On the other hand, 
  3149.           turning this switch off probably does not disable all lastread 
  3150.           pointer handling code in MsgEd TE ... Older MsgEd TE versions had 
  3151.           this switch turned off by default and it was undocumented. Hence a 
  3152.           lot of problems with lastread pointers in those versions ... Default: 
  3153.           On. 
  3154.  
  3155. UseMouse 
  3156.           Some features of MsgEd TE can be controlled through the use of a 
  3157.           mouse.  This switch tells Msged whether or not you're using one. Note 
  3158.           that the Windows NT and the Unix versions of MsgEd TE presently do 
  3159.           not support a mouse at all. - Default: On. 
  3160.  
  3161. UsePID 
  3162.           If this switch is turned on, MsgEd TE will put its version 
  3163.           information in a @PID kludge line, and leave the tearline blank. If 
  3164.           turned off, MsgEd TE will not generate a @PID kludge, but put its 
  3165.           version information in the tera line. Default: Off. 
  3166.  
  3167.  
  3168. ΓòÉΓòÉΓòÉ 8.4. Conditional Statements in the Configuration File ΓòÉΓòÉΓòÉ
  3169.  
  3170. If you use MsgEd TE with the same configuration file on different operating 
  3171. systems, you will probably want to make some settings in the configuration file 
  3172. dependent on the environment you are currently running in. This is where 
  3173. Conditionals come into place. A Conditional can be used to include a certain 
  3174. part of the configuration file only if a certain version (OS/2, DOS, ...) of 
  3175. MsgEd TE is running, or only if an environment variable has a certain value. 
  3176.  
  3177. * Statements: cond-statements.  Formulating Conditional Statements. * 
  3178. Conditions: cond-conditions.  Conditions that can be tested. 
  3179.  
  3180. cond-examples 
  3181.  
  3182.  
  3183. ΓòÉΓòÉΓòÉ 8.4.1. Formulating Conditional Statements ΓòÉΓòÉΓòÉ
  3184.  
  3185. The easiest form of a Conditional is as follows: 
  3186.  
  3187. IF condition
  3188.   configuration statements ...
  3189. ENDIF
  3190.  
  3191. The condition parameter can simply be an operating system name like `OS/2' or 
  3192. `Linux'. You will soon see other conditions that can be formulated (see 
  3193. cond-conditions). For the moment, we will always use operating system names as 
  3194. conditions. 
  3195.  
  3196. For example, the following statement will only be evaluated on OS/2: 
  3197.  
  3198. IF OS2
  3199.    Editor c:\boxer\b2.exe
  3200. ENDIF
  3201.  
  3202. In addition, you can specify that an alternate block of statements should be 
  3203. evaluated if the condition was not true: 
  3204.  
  3205. IF OS2
  3206.    ;OS/2 version of the Boxer Editor
  3207.    Editor c:\boxer\b2.exe
  3208. ELSE
  3209.    ;DOS version of the Boxer Editor
  3210.    Editor c:\boxer\b.exe
  3211. ENDIF
  3212.  
  3213. If you want to test for multiple configurations, the ELSEIF statement is handy. 
  3214. Instead of writing a complicated statement like 
  3215.  
  3216. IF OS2
  3217.   Editor c:\boxer\b2.exe
  3218. ELSE
  3219.   IF UNIX
  3220.     Editor /usr/bin/vi
  3221.   ELSE
  3222.     ;Must be DOS
  3223.     EDITOR c:\boxer\b.exe
  3224.   ENDIF
  3225. ENDIF
  3226.  
  3227. you can simply write: 
  3228.  
  3229. IF OS2
  3230.   Editor c:\boxer\b2.exe
  3231. ELSEIF UNIX
  3232.   Editor /usr/bin/vi
  3233. ELSE
  3234.   Editor c:\boxer\b.exe
  3235. ENDIF
  3236.  
  3237. For compatibility with other Fidonet editors, the ELIF command can be used 
  3238. instead of the ELSEIF command. 
  3239.  
  3240. As you might already have guessed from the examples, conditionals can be nested 
  3241. down to any depth, that is, inside an IF - ENDIF - block, you can start another 
  3242. IF block, and so on. 
  3243.  
  3244.  
  3245. ΓòÉΓòÉΓòÉ 8.4.2. Conditions that can be tested ΓòÉΓòÉΓòÉ
  3246.  
  3247. We already saw that operating system names can be used as conditions for the IF 
  3248. command. Below, you see the complete list of conditions that can be used: 
  3249.  
  3250. IF OS2 
  3251. IF OS/2 
  3252.           These conditions are true if you are running the OS/2 version of 
  3253.           MsgEd TE 
  3254.  
  3255. IF DOS 
  3256.           These conditions are true if you are running any DOS version (16 bit 
  3257.           or 32 bit) of MsgEd TE. 
  3258.  
  3259. IF DOS16 
  3260.           This condition is true if you are running the standard 16 bit DOS 
  3261.           version of MsgEd TE. 
  3262.  
  3263. IF 386 
  3264.           This condition is true if you are running the 32 bit DOS version of 
  3265.           MsgEd TE. 
  3266.  
  3267. IF W32 
  3268.           This condition is true if you are running the Windows 95/98/NT 
  3269.           version of MsgEd TE. 
  3270.  
  3271. IF UNIX 
  3272.           This condition is true if you are running any Unix version (Linux, 
  3273.           FreeBSD, AIX, Rhapsody, ...) of MsgEd TE. 
  3274.  
  3275. IF LINUX 
  3276.           This condition is true for any version of MsgEd TE that announces 
  3277.           itself as `MsgEd/LNX TE'. 
  3278.  
  3279. IF 0 
  3280.           This condition is always false. It is useful if you want to disable a 
  3281.           large part of the configuration file, but do neither want to erase it 
  3282.           nor to place semicolons in front of each line. Simply place IF 0 and 
  3283.           ENDIF around such a part of the configuration file. 
  3284.  
  3285. IF 1 
  3286.           This condition is always true. 
  3287.  
  3288. IF variable=value 
  3289.           This condition is true if the specified environment variable has the 
  3290.           specified value. For example, on OS/2, IF HOSTNAME=mycomputer will be 
  3291.           true only if you have set HOSTNAME=mycomputer in your `config.sys' 
  3292.           file, or if you have given the set HOSTNAME=mycomputer command on the 
  3293.           command line before starting MsgEd TE. 
  3294.  
  3295.  
  3296. ΓòÉΓòÉΓòÉ 8.4.3. Usage example for Conditionals ΓòÉΓòÉΓòÉ
  3297.  
  3298. Here are some more useful examples for Conditionals in the configuration file: 
  3299.  
  3300. Specifying a swap file for the 16 bit version: 
  3301.  
  3302. IF DOS16
  3303.   Swappath c:\temp\msged.swp
  3304. ENDIF
  3305.  
  3306. Selecting the proper Origin string: 
  3307.  
  3308. IF OS2
  3309.   Origin "Warp 4, Mister Sulu!"
  3310. ELSEIF W32
  3311.   Origin "My employer forces me to use Windows ..."
  3312. ELSEIF DOS
  3313.   Origin "DOSwidanja!"
  3314. ELSEIF UNIX
  3315.   IF LINUX
  3316.     Origin "Penguins ahead!"
  3317.   ELSE
  3318.     Origin "UNIX - a professional's choice"
  3319.   ENDIF
  3320. ENDIF
  3321.  
  3322. Fine-tuning the terminal setup on Unix 
  3323.  
  3324. IF UNIX
  3325.  
  3326.   ;By default, switch colors off (might cause problems with
  3327.   ;VT100 and xterm), as well as shadows (too slow)
  3328.  
  3329.   Switch Shadows Off
  3330.   Switch Colors Off
  3331.  
  3332.   IF TERM=linux
  3333.     ;The peculiarities of the Linux console ...
  3334.     switch bs127 on
  3335.     switch colors on
  3336.   ENDIF
  3337.  
  3338.   IF TERM=vt220
  3339.     switch colors on
  3340.   ENDIF
  3341.  
  3342.   IF TERM=ansi
  3343.     switch colors on
  3344.   ENDIF
  3345.  
  3346. ENDIF
  3347.  
  3348.  
  3349. ΓòÉΓòÉΓòÉ 8.5. Defining Message Areas ΓòÉΓòÉΓòÉ
  3350.  
  3351. One of the most important tasks in configuring MsgEd TE is to tell it where it 
  3352. can find the message areas that you wish to read and to write to. There are 
  3353. basically two ways to do this: You can either manually define each area in the 
  3354. configuration file using the Quick, Fido and Squish keyword, or you can tell 
  3355. MsgEd TE to read in the configuration file of your tosser. The latter method 
  3356. saves you much work, but sometimes you will ned to use the manual method to do 
  3357. some fine-tuning. 
  3358.  
  3359. It is advisable to put all keywords that have to do with area configuration at 
  3360. the end of your configuration file, because other keywords (like QuickBbsPath, 
  3361. MountDir, et. al.) that change the behaviour of the area definition keywords 
  3362. will only work if they are read in before the area definition keywords. 
  3363.  
  3364. Manual Area Definition                  Configuring areas one by one. 
  3365. Areafile Parsing                        Reading all areas from a tosser config 
  3366.                                         file. 
  3367.  
  3368.  
  3369. ΓòÉΓòÉΓòÉ 8.5.1. Manual Area Definition ΓòÉΓòÉΓòÉ
  3370.  
  3371. You can manually define a message area by putting a line of the following 
  3372. format into your configuration file: 
  3373.  
  3374. format flags "description" path areatag [address]
  3375.  
  3376. Except for the address parameter, all parameters are mandatory. The meaning of 
  3377. these parameters is as follows: 
  3378.  
  3379. format 
  3380.           The format parameter tells the message base format this message area 
  3381.           is held in. It can be either `Fido', designating a message area in 
  3382.           Fido *.MSG file format, `Quick', desingating a message area held in a 
  3383.           QuickBBS or Hudson Message Base, or `Squish', designating a message 
  3384.           area in the Squish format. 
  3385.  
  3386. flags 
  3387.           The flags parameter is a sequence of characters where each character 
  3388.           is a flag that toggles a certain option. The following flags can be 
  3389.           used: 
  3390.  
  3391.     1. Flags that specify the message area type. You have to use exactly one of 
  3392.        those: 
  3393.  
  3394.        n - netmail area, e - echomail area, l - local mail area. 
  3395.  
  3396.     2. Flags that toggle certain special features of MsgEd TE. All of these 
  3397.        flags are optional. See Advanced Concepts, for more information on the 
  3398.        meaning of these flags. 
  3399.  
  3400.        8 - allow 8 bit characters with the proper @CHRS kludge, u - enable 
  3401.        internet gateway support for this area, n - this flag is obsolete. 
  3402.  
  3403.     3. Default message attributes for messages written in this area. You should 
  3404.        specify `p' for netmail areas. The `loc' flag will always be set, so you 
  3405.        can't specify it here. 
  3406.  
  3407.        p - private, h - hold, k - kill/sent, d - direct. 
  3408.  
  3409. description 
  3410.           The description parameter specifies the name under which the area 
  3411.           will appear in the area selection screen. It may contain white spaces 
  3412.           if you place it between quotation marks. 
  3413.  
  3414. path 
  3415.           The path parameter gives the location of the message area. For Fido 
  3416.           *.MSG areas, this is the path name of the corresponding directory. 
  3417.           For QuickBBS areas, it is the area number. For Squish areas, it is 
  3418.           the base name of the area files without extension. 
  3419.  
  3420. areatag 
  3421.           The areatag parameter gives the official area tag of this area. You 
  3422.           must specify this parameter for echomail areas, and you must not 
  3423.           specify this for netmail areas! 
  3424.  
  3425. address 
  3426.           Finally, the address parameter specifies the FTN address to use for 
  3427.           this area. You must use this for othernet areas where you must use an 
  3428.           AKA different to your main AKA. 
  3429.  
  3430. Here are some examples: 
  3431.  
  3432. Fido   nup "Fidonet Netmail" e:\fido\netmail   2:2476/418.0
  3433. Squish eu  "MsgEd Support"   e:\fido\sq\msged  MSGED_ECHO
  3434. Squish eu8 "OS/2 Debate"     e:\fido\sq\os2deb OS2.DEBATE.GER
  3435. Squish eu  "c't conference"  e:\fido\sq\ctger  CT.GER  21:492/2851.0
  3436. Quick  lp  "To Sysop Area"   1
  3437.  
  3438.  
  3439. ΓòÉΓòÉΓòÉ 8.5.2. Reading a Tosser Configuration File (Areafile) ΓòÉΓòÉΓòÉ
  3440.  
  3441. This keyword is used to tell MsgEd TE to read information about netmail and 
  3442. echomail areas from a tosser configuration file. This saves you from double 
  3443. work: You only have to declare an area once in the tosser configuration file, 
  3444. and MsgEd will automatically always display all areas that are configured in 
  3445. your tosser configuration file. The syntax is as follows: 
  3446.  
  3447. Areafile type filename
  3448.  
  3449. The type parameter designates the type of tosser configuration file to use. It 
  3450. can be `Squish', `Fastecho' or `AreasBBS'. The filename parameter specifies the 
  3451. path and file name of the tosser configuration file that should be read. (Plase 
  3452. note that only the area definitions from a Squish configuration file will be 
  3453. read. If the Squish configuration file references another `areas.bbs' file, you 
  3454. have to define it separately for MsgEd TE using a second Areafile statement). 
  3455.  
  3456. There is one problem with reading echo definitions from tosser configuration 
  3457. files: Those files do not contain all information that can be specified in a 
  3458. manual area configuration. Certain features of MsgEd TE need a flag that has to 
  3459. be set for each area in order to enable that feature.  For example, in order to 
  3460. be able to write mails with umlauts, you must set the 8 flag for each area that 
  3461. should have umlauts. 
  3462.  
  3463. Therefore, the AreaFileFlags keyword has been introduced. It's syntax is as 
  3464. follows: 
  3465.  
  3466. AreaFileFlags flags
  3467.  
  3468. The flags parameter has the same syntax as the flags parameter of the Fido, 
  3469. Quick and Squish keywords ( see Manual Area Definition). You must specify the 
  3470. AreaFileFlags keyword before the AreaFile keywords. Then, all areas imported 
  3471. from the area files will have the specified flags. 
  3472.  
  3473. If you want only a few, but not all areas form an areafile to have some flags, 
  3474. you can manually redefine areas with the syntax described in the preceding 
  3475. section. For this to work, the manual redefinition must come after the AreaFile 
  3476. keyword. Vice versa, if you want almost all areas from an areafile to have a 
  3477. certain flag, but want a few exemptions, you should use the AreaFileFlags and 
  3478. AreaFile keywords to import all areas from the areafile with the specific flag 
  3479. set. After that, you can redefine some areas manually without this flag. 
  3480.  
  3481. Note: Using AreaFileFlags to globally turn on the `u' flag probably won't hurt 
  3482. you. On the other hand, you should only use AreaFileFlags to globally turn on 
  3483. the `8' flag if you know that the moderators of the echo areas that you are 
  3484. posting in do not forbid 8-bit-codes. 
  3485.  
  3486.  
  3487. ΓòÉΓòÉΓòÉ 9. Compiling the Source Code ΓòÉΓòÉΓòÉ
  3488.  
  3489. This appendix provides information on how to compile the source code of MsgEd 
  3490. TE. You will have to do this if either you are using a platform for which no 
  3491. binary distribution is provided (like FreeBSD, AIX, Rhapsody, and other Unix 
  3492. systems), or if you want to do modifications on the source code, or if you are 
  3493. just curious :-). 
  3494.  
  3495. Most of the information of this chapter applies to all supported platfroms 
  3496. (including Unix, OS/2, Windows and DOS). 
  3497.  
  3498. Preparations                            Obtaining and unpacking the files. 
  3499. Configuring                             Selecting the proper Makefile. 
  3500. Building the Executables                Invoking the compiler. 
  3501. Building the other Files                Compiling the manual and help files. 
  3502. Installing                              Installing the files you have created. 
  3503.  
  3504.  
  3505. ΓòÉΓòÉΓòÉ 9.1. Step 1: Preparing the build directories; Obtaining the SMAPI ΓòÉΓòÉΓòÉ
  3506.  
  3507. Besides the source code of MsgEd TE, which is supplied in `MSGTE5_S.ZIP', you 
  3508. need the source code of the special edition of the Squish Message API, from 
  3509. here on called Smapi, that is required to build MsgEd TE. 
  3510.  
  3511. Unfortunately, there are a lot of different versions of the Smapi floating 
  3512. around. The best choice would be if you would use the snapshot of exactly that 
  3513. release level of the Smapi that I used to compile the binary releases. It can 
  3514. be found as `SMAPISS.ZIP' on all sites that carry the MsgEd TE source code. 
  3515. Alternatively, you can use any newer Smapi from the same development stream, 
  3516. which is made available on a regular basis by Michael Espey for file request 
  3517. and by Thomas Winter for non-anonymous CVS checkout. - All other versions of 
  3518. the Smapi or the Msgapi32 are probably not suited for building MsgEd TE. They 
  3519. are definitely not suited if you want to compile for Unix. 
  3520.  
  3521. After you have obtained `SMAPISS.ZIP' and `MSGTE5_S.ZIP', unzip them into two 
  3522. directories at the same level.  The files in the archives stick to the 8.3 
  3523. notation, so you can even do this on FAT drives. You should use either Info-ZIP 
  3524. for unpacking these files, or use pkunzip with the `-d' option, because the 
  3525. MsgEd TE archives contains subdirectories. 
  3526.  
  3527. On OS/2, this could look  as follows: 
  3528.  
  3529. [C:\] mkdir compile
  3530. [C:\] mkdir compile\smapi
  3531. [C:\] mkdir compile\msged
  3532. [C:\] cd compile\msged
  3533. [C:\COMPILE\MSGED] unzip c:\download\msgte5_s.zip
  3534. [C:\COMPILE\MSGED] cd ..\smapi
  3535. [C:\COMPILE\SMAPI] unzip c:\download\smapiss.zip
  3536.  
  3537. while on Unix, it would look like this: 
  3538.  
  3539.   $ cd ~
  3540. ~ $ mkdir smapi
  3541. ~ $ mkdir msged
  3542. ~ $ cd msged
  3543. ~/msged $ unzip ~/downloads/msgte5_s.zip
  3544. ~/msged $ cd ../smapi
  3545. ~/smapi $ unzip ~/downloads/smapiss.zip
  3546.  
  3547.  
  3548. ΓòÉΓòÉΓòÉ 9.2. Configuring - Selecting the proper Makefile for your Compiler ΓòÉΓòÉΓòÉ
  3549.  
  3550. MsgEd TE does not provide a configure skript. It rather provides a set of 
  3551. different makefiles. You ``configure'' the source code by simply renaming the 
  3552. makefile of your choice to `makefile'. You have do to this in both the `smapi' 
  3553. and the `msged' directory. For instance, on OS/2 with IBM C, you would use: 
  3554.  
  3555. [C:\COMPILE\SMAPI] copy makefile.ibo makefile
  3556. [C:\COMPILE\SMAPI] copy ..\msged\makefile.ibo ..\msged\makefile
  3557.  
  3558. while on Unix, you would use: 
  3559.  
  3560. ~/smapi $ cp makefile.unx makefile
  3561. ~/smpai $ cp ../msged/makefile.unx ../msged/makefile
  3562.  
  3563. The following compilers and target operating systems are supported: 
  3564.  
  3565. Makefile     | Platform
  3566. -------------+-----------------------------------------
  3567. makefile.bcd | DOS with Borland C++ 3.1 or Turbo C
  3568. makefile.bco | OS/2 with Borland C 2.0
  3569. makefile.bcw | Windows 95/NT with Borland C++ 4.0
  3570. makefile.djg | DOS/386 with DJGPP GCC 2.7.2
  3571. makefile.emo | OS/2 with EMX 0.9c GCC 2.7.2
  3572. makefile.ibo | OS/2 with IBM CSET/2 or Visual Age C++
  3573. makefile.rxw | 95/NT with RSXNT + EMX GCC 2.7.2
  3574. makefile.unx | Any UNIX, BSD or Linux with any compiler
  3575.  
  3576. The following makefiles are also provided, but they are not supported, either 
  3577. because I do not have the appropriate compilers or because I cannot give 
  3578. support for some special features they are using. I try to update these 
  3579. makefiles along with the others, but I cannot make any promises. 
  3580.  
  3581. Makefile     | Platform
  3582. -------------+----------------------------------------------
  3583. makefile.bsd | FreeBSD with GCC; links the SMAPI dynamically
  3584. makefile.hco | OS/2 with Metware High C
  3585. makefile.lnx | Linux with GCC; links the SMAPI dynamically
  3586. makefile.qcd | DOS with MS Quick C
  3587. makefile.wcd | DOS with Watcom C
  3588. makefile.wcw | NT with Watcom C
  3589. makefile.wco | OS/2 with Watcom C
  3590. makefile.wcx | DOS/386 with Watcom C
  3591.  
  3592. Special note: Linux and FreeBSD users should, for the first try, use 
  3593. `makefile.unx' rather than `makefile.lnx' resp. `makefile.bsd'. `makefile.unx' 
  3594. is idiot proof: it statically links the Smapi, and it works on any Unix-like 
  3595. system that has any half Posix compliant "cc" available. 
  3596.  
  3597. The files `makefile.lnx' and `makefile.bsd' should only be used if you want to 
  3598. link the Smapi dynamically, and if you know what that means and what you are 
  3599. doing 
  3600.  
  3601. If you are annoyed by the executable generated with `makefile.unx' annouces 
  3602. itself as `MsgEd/UNX' rather than `MsgEd/LNX', you can edit the UNAME 
  3603. preprocessor define in `makefile.unx'. 
  3604.  
  3605.  
  3606. ΓòÉΓòÉΓòÉ 9.3. Building the Executables ΓòÉΓòÉΓòÉ
  3607.  
  3608. Now that you have done all necessary preparations, compilation is easy: 
  3609.  
  3610.  1. Change into the `smapi' directory and type make. This will generate a 
  3611.     library, whose name depends on the makefile you used. For instance 
  3612.     `libsmapiunx.a' or `smapiibo.lib'. 
  3613.  
  3614.  2. Change into the `msged' directory and type make. This will gnereate the 
  3615.     executable, whose name depends on the makefile you used. For instance 
  3616.     `msgedp.exe' or `msged' or `msged.exe'. 
  3617.  
  3618.  3. If, on Unix, you get errors about unresolved symbols when linking the MsgEd 
  3619.     TE executable, change into the Smapi directory and run ranlib smapiunx.a. 
  3620.     Then change back to the Msged directory and try again. 
  3621.  
  3622.  
  3623. ΓòÉΓòÉΓòÉ 9.4. Compiling the help file, the charset files and the documentation ΓòÉΓòÉΓòÉ
  3624.  
  3625. After you have created the executables, you need to create some other files, 
  3626. namedly the compiled online help file, the character set translation files, and 
  3627. the manual. 
  3628.  
  3629. To compile the help file, call the MsgEd TE executable with the `-hc <infile> 
  3630. <outfile>' options. On OS/2: 
  3631.  
  3632. [C:\COMPILE\MSGED] msgedp -hc msghelp.src msghelp.dat
  3633.  
  3634. and on Unix: 
  3635.  
  3636. ~/msged $ ./msged -hc msghelp.src msghelp.dat
  3637.  
  3638. In order for MsgEd TE to behave smoothly in environments where mails with 
  3639. special national characters are received and/or transmitted (i.E.: everywhere 
  3640. in Europe), you must create `readmaps.dat' and `writmaps.dat' files that match 
  3641. your local character map settings. On Unix, this is easily done thanks to the 
  3642. shell expansion feature: 
  3643.  
  3644. ~/msged $ cd ~/msged/maps
  3645. ~/msged/maps $ gcc -o makemaps makemaps.c
  3646. ~/msged/maps $ ./makemaps LATIN-1 *.CHS *.chs
  3647.  
  3648. (If you have misconfigured your Unix to use CP850 or CP437 instead of ISO-9660, 
  3649. you should enter `IBMPC' instead of `LATIN-1' in the example above). 
  3650.  
  3651. On OS/2, DOS and NT it is a little more cumbersome. First, you have to compile 
  3652. the `makemaps.c' file with your C compiler. Then, you have to specify all 
  3653. character map files that are to be included into `readmaps.dat' and 
  3654. `writmaps.dat' manually: 
  3655.  
  3656. [C:\COMPILE\MSGED] cd c:\compile\msged\maps
  3657. [C:\COMPILE\MSGED\MAPS] icc makemaps.c
  3658.  (...)
  3659. [C:\COMPILE\MSGED\MAPS] makemaps IBMPC IBM_ISO.CHS ISO_IBM.CHS
  3660. IBM_ASC.CHS IBM_MAC.CHS MAC_IBM.CHS IBM_850.CHS 850_IBM.CHS
  3661.  
  3662. Finally, you may want to create the documentation in your favourite output 
  3663. format. This requires quite some prerequisite software to be installed on your 
  3664. system, so you probably might simply want to grab `MSGTE5_M.ZIP'. 
  3665.  
  3666. But if you really want to compile the manual by hand, proceed as follows: 
  3667. Change to the `doc/manual' subdirectory: 
  3668.  
  3669. [C:\COMPILE\MSGED\MAPS] cd \compile\msged\doc\manual
  3670.  
  3671. or on Unix: 
  3672.  
  3673. ~/msged/maps $ cd ~/msged/doc/manual
  3674.  
  3675. There, you have various options. You can type: 
  3676.  
  3677. make info 
  3678.           This creates the documentation in GNU info format. It requires the 
  3679.           `makeinfo' tool to be installed, and the `info' viewer for viewing. 
  3680.           Both should be part of any modern Unix installation. For OS/2, they 
  3681.           can be found in `GNUINFO.ZIP' 
  3682.  
  3683. make html 
  3684.           This creates the documentation in HTML format. This requires Perl 5 
  3685.           to be installed as well as the texi2html.pl perl script. (The latter 
  3686.           script does also work on OS/2 with the Perl for OS/2 port). 
  3687.  
  3688. make dvi 
  3689.           This creates the documentation in DVI format. DVI can be converted to 
  3690.           PS with dvips and yields a very high-quality output. However, this 
  3691.           requires a working TeX installation and the `texi2dvi' shell script. 
  3692.           (On OS/2, you need pdksh for executing the script and EmTeX. With a 
  3693.           little manual work, it can also be done with Juergen Kleinboehls 
  3694.           OS2TeX. 
  3695.  
  3696. make inf 
  3697.           This creates the documentation in OS/2 INF format. It requires a 
  3698.           Texi2Ipf tool as well as the IPFC compiler (which only runs on OS/2). 
  3699.  
  3700.  
  3701. ΓòÉΓòÉΓòÉ 9.5. Installing ΓòÉΓòÉΓòÉ
  3702.  
  3703. You have now created all files that are necessary to install MsgEd TE. See 
  3704. Installation Procedures and Release Notes, for information on how to install 
  3705. these files. 
  3706.  
  3707.  
  3708. ΓòÉΓòÉΓòÉ 10. General Index ΓòÉΓòÉΓòÉ
  3709.  
  3710. Sorry, no cp index 
  3711.  
  3712.  
  3713. ΓòÉΓòÉΓòÉ 11. Configuration File Keyword Index ΓòÉΓòÉΓòÉ
  3714.  
  3715. Sorry, no fn index