WWIVI NOTES WWIVI Release 900615 ------------------------------------------------------------------------ usage : wwivi rows cols mode file rows : number of rows for window cols : number of cols for window res : restrict flag, 1 = restricted, 0 = unrestricted file : file to edit ex: On the BBS external editor screen remote : wwivi %3 %2 0 %1 local: wwivi %3 %2 1 %1 In a Batch File or on the Command line wwivi 25 80 0 input.msg In a DESQview window wwivi 12 79 0 input.msg ------------------------------------------------------------------------ WWIVI is a modified version of a well known VI editor clone called Stevie (Ver 3.69). A history of Stevie can be found in one of the other files. This modified version is what I wanted in a VI clone for my WWIV BBS system. I wanted to give people a reasonably familiar editor but without the security risks that would be inherent to a fully functional VI type editor. Basically, wwivi is like vi but can be crippled. It expects to receive a set of command line arguments in a strict format (see usage above). The command line may be cumbersome however if it is installed as one of the external editors for WWIV it's just grand. ------------------------------------------------------------------------ Two executables are here: wwivir.exe and wwivil.exe wwivir.exe is to be used as the editor for remote use. It is compiled so that ANSI escape sequences are used for screen control (It may work as a local editor as well, try it.). wwivil.exe is to be used as the editor for local use. It is compiled for so that it uses the bios to update the screen. Both can probably be done in one program if someone takes the time to do it. I haven't done so. If someone does then Great! ------------------------------------------------------------------------ These commands are disabled when the restrict flag is set or "1". :! [cmd] - shell command :e - re-edit :e! - re-edit :r file - read another file :f file - change name of file :w [file] - write to another file !!filter - This is not entirely removed. It is changed. when this command is used (ex: !!xxxxx) the editor writes the buffer out to a temporary file and then invokes via system() "vifilt arg1 arg2" where "arg1" is the name of file it wrote to. After vifilt completes the editor reads the file named by "arg2" into its buffer. This will allow the user to optionally have some sort of special processing done on the buffer contents before exiting the editor. The Sysop may offer whatever he/she imagines. Included with this package is a simple encoder I wrote to allow users to encode data with as much security as a 'secret decoder ring'. It is a simple character rotator that was fun to write. It is called as you might guess vifilt (vifilt.exe & vifilt.c). Restrictions for BBS use is good, I didn't want users to have the capabilty to run MS-DOS on my BBS (for obvious reasons). When the restrict flag is not set or "0" no commands are blocked. I set my BBS up so restrict is set for remote use and not set for local use. Visual Beep is removed entirely (flashing screen). --------------------------------------------------------------- For further info: Refer to env.h that is included as part of the source. The manual might be of some help too, I don't know this though. I haven't read it yet. The source is in a different archive and contains everything needed to hack together you own version of this editor with Turbo-C and other platforms like, UNIX, TOS and MINIX. This is a great editor to play around with. I've been using it on both WWIV systems that I run (@6300 & @5804) for several months. It has proven to be very reliable. --------------------------------------------------------------- ==Info=Rail== Newton-Junction,NH ___.___ ______ ____ __ uucp: att!attsb!awg _|@ @ @|_ |----| | 0|___||. Internet: awg@attsb.att.com :| ----- |:__||##||__| _| : : } WWIVnet: 3@6300 [1@5804] -(0)--(0)- 0----0 -(O)-==-o\ ===24=Hours============3/12/2400== Andrew Gaunt WWIVnet @6300 NH (603)382-3966 If you have any questions feel free to mail me somehow. BTW- This editor was placed in the public domain by the original author(s).