home *** CD-ROM | disk | FTP | other *** search
- Quick instructions:
-
- Editor name : FEdit
- Command line: Remote: Fedit %1 %2 %3 %4
- Local : Fedit %1 %2 %3 %4 S
-
- =================================================================
-
- FEDIT 1.03a
-
- Copyright 1990 by Rob Raper
- a.k.a One Eyed Willy #1 @18852 WWIVlink
-
- About FEDIT
- ~~~~~~~~~~~
-
- FEDIT is a full-screen editor written for use with the
- WWIV BBS Software version 4.x written by Wayne Bell. It is very
- easy to install, and is simple to use as it works by the standard
- WWIV editing commands.
-
- A while back, I decided to take a stock copy of WWIV 4.12 and
- very heavily modify it to be similar to Emulex/2 systems. I modded
- away, but when I reached the message editor, I realized that the
- standard WWIV editor was not going to do, as Emulex has a very nice
- built in full screen editor. Frantically looking for a good
- editor, I could come up with nothing that "fit" my system.
- "FSED"'s commands were terrible (Ctrl-K S to save), and there was
- a lack of extended ASCII. Zedit crashed my system too often and
- had ridiculous registration requirements (No color until
- registration... Gimme a break.). So I decided to write my own. I
- had first made it an external executable file, and a few people
- noticed it and requested it. I gave them a copy, and the editor
- found its way to Amber, upon which I immediately got a mass of
- network E-mail with comments on it. I had no idea it had even
- gotten out, but the response was incredible.
-
- Installation
- ~~~~~~~~~~~~
-
- To install the editor, copy it and the help screen into any
- directory you wish. Then run INIT, and choose "Full Screen
- Editors", choose "Insert", and enter the following info:
-
- Editor name: FEdit
-
- Remote command line: \dirname\FEDIT %1 %2 %3 %4
-
- Sysop command line : \dirname\FEDIT %1 %2 %3 %4 S
-
- There are also other options you may add to the end of these
- command lines. All options must have a space before it:
-
- S SysOp Side local editing
-
- I Change inputting method. Rather than go through DOS routes,
- hooks itself directly to WWIV's keyboard getting routine. This
- has the side effect of disabling macros entirely, but may work
- when the other inputting method fails.
-
- E Use an ASCII text divider rather than the extended ASCII bar.
- This is useful for primarily non-IBM based boards.
-
- So, for example, if you wanted all options, the command line might
- look like this:
-
- FEDIT %1 %2 %3 %4 S I E
-
- The S I E are not order sensitive, they can be in any order you
- like.
-
- Macros
- ~~~~~~
-
- Fedit v1.03 and above support macros without any kind of
- modification to the WWIV source. However, if you are using the "I"
- option, macros, like older versions of Fedit, will refuse to work,
- even with a Ctrl-P before the macro. To enable them,
- load EXTRN.C and remove the line that reads:
-
- okskey=0;
-
- /TI, /SN, /SY Abilities
- ~~~~~~~~~~~~~~~~~~~~~~~
-
- Fedit now supports use of the above commands in the editor.
- WWIV, however, does not normally support these commands from an
- editor. To enable these options, a file must be passed to Fedit
- and back to WWIV. Fedit 1.03a and above support this. To make it
- work however, a modification must be installed. The modification
- is as follows:
-
- Load MSGBASE.C
-
- Search for:
-
- "void inmsg("...
-
- Just before the void, insert and modify lines to make it read:
-
- =================================================================
-
- typedef struct /* Add */
- { /* Add */
- char tlen, /* Add */
- ttl[81], /* Add */
- anon; /* Add */
- } infstruct; /* Add */
-
- void inmsg(messagerec *m1, char *title, int *anony, in ...
- {
- char s[LEN],s1[LEN],s2[LEN],ro[81],fnx[81],chx,*ss,* ...
- int maxli,curli,done,save,savel,i,i1,i2,i3,i4,i5,f,s ...
- messagerec m;
- long ll,l1;
- char *lin, *b;
- int real_name=0;
-
- FILE *stream; /* Add */
- infstruct fedit_data; /* Add */
-
- if ((fsed!=0) && (!okfsed()))
-
-
- =================================================================
-
- Now, search for "Aborted", and make all lines near it read:
-
- =================================================================
-
- pl("Aborted.");
- m.stored_as=0xffffffff;
- *m1=m;
- if (!fsed)
- farfree((void *)lin);
- return;
- }
-
- if (fsed) { /* Add */
-
- fedit_data.tlen=60; /* Add */
- strcpy(fedit_data.ttl,title); /* Add */
- fedit_data.anon=0; /* Add */
-
- stream=fopen("FEDIT.INF","wb"); /* Add */
- fwrite(&fedit_data,sizeof(infstruct),1,stream); /* Add */
- fclose(stream); /* Add */
- } /* Add */
-
- =================================================================
-
- That will make it write out the file. Now, we must read in the
- "results" from Fedit. Search for the string "Reading" and make
- lines around it read:
-
- ================================================================
-
- if (save) {
- pl("Reading in file...");
- }
- use_workspace=0;
- }
- }
-
- if (fsed) { /* Add from here */
- stream=fopen("FEDIT.INF","rb");
- fread(&fedit_data,sizeof(infstruct),1,stream);
- fclose(stream);
-
- strcpy(title,fedit_data.ttl);
- setanon=fedit_data.anon;
- unlink("FEDIT.INF");
- } /* To here. */
-
-
- ================================================================
-
- And that should do it.
-
-
-
- Technical Stuff
- ~~~~~~~~~~~~~~~
-
- FEDIT requires a WWIV BBS system to operate. WWIV must be
- running for FEDIT to operate properly, as it hooks itself up with
- some of WWIV's special I/O commands, as well as color codes. I've
- tried to add checks for an "Existing" WWIV system, but they aren't
- 100% foolproof, if you try using FEDIT without WWIV's
- "supervision", you may be subject to lock-ups.
-
- FEDIT has many advantages over a line editor, wich becomes
- plainly obvious when you go to do a "TEDIT". You can easily edit
- files with the option in the editor. But another useful feature
- I've implimented is FEDIT at the //DOS shell. If you see a file
- you want to edit when in a DOS shell, you can execute FEDIT with
- the following syntax:
-
- FEDIT filename.ext
-
- FEDIT realizes it doesn't have all the parameters that are used for
- a normal WWIV-edit and takes on some "Defaults". These defaults
- are:
-
- Screen columns: 80 Maximum lines: 300 Screen lines: 24
-
- The full FEDIT command string is:
-
- FEDIT Filename.ext CharsPerLine Columns LinesPerPage MaxLines [SIE]
-
- If there are neither 1 nor 4 parameters, FEDIT will refuse to run.
-
- FEDIT will not accept a MaxLines of over 300. This is a reasonable
- limit that will satisfy most memory conditions. If you find the
- need for more lines than 300, but the limit is set just incase WWIV
- gives the editor some incredible value which could never be
- handled.
- Due to color handling, FEDIT does many calculations at "word-wrap"
- time. For this reason, I do not suggest running FEDIT on anything
- slower than an 8mhz XT.
-
- Disclaimer
- ~~~~~~~~~~
-
- FEDIT has been used on many systems to this date and has not
- caused any major problems what-so-ever. However, I will not be
- responsible for any problems indirectly or directly related to this
- editor. Nor will I be responsible if a spaceship comes down and
- magnetizes all your floppies.
-
-
- Registration
- ~~~~~~~~~~~~
-
- Many hours of hard work went into Fedit. If you like and use
- FEDIT, a $10 registration fee is requested. Registration will get
- you a registration number and registration instructions which will
- remove the minor unregistered notices which appear when you first
- load Fedit. It will personalize your executable file to your name
- and BBS only. To get this registration number to you, you must do
- one of two things:
-
- 1) Have a WWIVNet or WWIVLink address taht I can email you the
- registration number for your board information.
-
- 2) Send a self addressed stamped envelope with your registration
- so I can send you the registration number.
-
- Send check and registration form to:
-
- Rob Raper
- 11042 Hillhaven Ave
- Tujunga, CA 91042
-
- If you have any questions or comments, you may get in contact with
- me either at 1@18852 WWIVlink, or on my BBS "The Treasure Chest" at
- (818)-352-8959.
-
- Source code for this version of FEdit will NOT be available unless the
- user is registered and needs it FOR A GOOD REASON.
-
- Revision History
- ~~~~~~~~~~~~~~~~
-
- 1.00b The one that got out. Was 90% functional.
-
- 1.01 The first real release, DEL, Home, and End keys added.
- Added /LI function due to user attempts. Fixed some
- small bugs concerning Ctrl-Y and screen updates.
-
- 1.02 Added sysop side scrolling. Fixed bugs
-
- 1.03 Informal release of Fedit.
-
- 1.03a Added line joining ability, and /SY,/SN, and /TI
- abilities. Fixed homing bug, and colors now represent
- what they should when they are changed. Due to the amount
- of people who flat out forgot to register, I've included
- a "reminder" routine. Fixed CHARACTER DROPPING problem.
-
- 1.03b Arrghh, fixed /CLR and /C: conflict bug, /C: now works
- instead of clears screen.
-
-
- =================================================================
- (Registration Form)
-
-
- User Alias/Handle ________________________________
-
- Full Real Name ________________________________
-
- Phone Number ( ___ ) ___ - ____
-
- Address ________________________________
-
- ________________________________
-
- BBS Name ________________________________
-
- Computer Type ________________________________
-
- Birth Date ___ / ___ / ___
-
- Password (In case you might ever log onto The Treasure Chest).
-
- ________________________________
-
-
- Network Node: _________ [ ] WWIVlink [ ] WWIVNet
- [ ] I do not belong to either.
- I have, however, included
- A self addressed stamped
- envelope.
-
- This info is needed as I create a user account for each registered
- user to keep tabs on who's registered.
-
-