====== WWIVEdit Dos Version 2.5 under DOSEmu ======


1. Download the wwivedit zip from a trusted source

2. Extract to /sbbs/exec/wwivedit

3. Edit wwivedit\config\default.def and make sure the settings are as follows:

<code>
LOCAL: [N]
SETUP: [2]
RESULT: [2]
REPLY: [1]
QUOTER: [0]
COMPORT: [1]
FOSSIL: [1]
BBS: [0]
</code>

4. After editing the file, you will need to go into dosemu and run "h:\wwivedit\wwivedit -f" to compile the config. Simply run "usr/bin/dosemu.bin", then type:

<code>
lredir H: linux\fs\sbbs\exec
H:
cd wwivedit
wwivedit -f
exitemu
</code>

5. Next, you need to make sure you have x00 fossil driver in your /sbbs/xtrn/dosutils dir. You may need to make this dir, and download x00 from somewhere.

6. Change /sbbs/ctrl/emusetup.bat to use x00:

<code>
rem @fossil.com
rem bnu.com /P1 /L0=11520
e:\xtrn\dosutils\x00.exe eliminate
</code>

7. Now go into /sbbs/exec/scfg, External Programs, External Editors and add a new entry for WWIVEDIT:

<code>
 1: Name                            Legacy: WWIVEdit 2.5a
 2: Internal Code                   WWIVEDIT
 3: Command Line                    %!wwivedit\wwivedit %f %w %r %l -set:FOS
 4: Access Requirements             ANSI
 5: Intercept I/O                   No
 6: Native Executable               No
 7: Use Shell / New Context         No
 8: Record Terminal Width           No
 9: Word-wrap Quoted Text           Yes, for terminal width
10: Automatically Quoted Text       Prompt User
11: Editor Information Files        WWIV EDITOR.INF/RESULT.ED
12: Expand Line Feeds to CRLF       Yes
13: Handle Soft Carriage Returns    Convert to CRLF
14: Strip FidoNet Kludge Lines      No
15: Support UTF-8 Encoding          No
16: BBS Drop File Type              WWIV            CHAIN.TXT
</code>

8. Restart or recycle the BBS

===== Deuce's Unix WWIVEdit Port =====

These instructions are written for Debian Linux, so you may need to adjust steps here and there if you are on something else.

1. Download wwivedit from http://doors.bbsdev.net/ and extract it to a temp dir
2. Make sure you have ncurses 32-bit installed: 

<code>
dpkg -add-architecture i386
apt-get install libncurses5:i386
</code>

3. Inside the temp dir, run ./install.linux. Specify /sbbs/exec as the BBS dir and /sbbs/exec/wedit as the editor dir. Say NO when it asks if you want it to setup the command lines (it is talking about running under WWIV). 
4. Now manually copy wwivedit.linux from your temp dir into /sbbs/exec/wedit
5. Edit config/default.def and change values to these:

<code>
RESULT: [2]
ESCTICKS: [2]
QUOTER: [0]
</code>

(NOTE: synchronet's quotes.txt implementation is not compatible with the original wwivedit as it ignores the first 2 lines of quotes.txt--thus it is disabled in the config)


6. Go into scfg and make a new external editor entry like this:

<code>
 1: Name                            Legacy: WWIVEdit 2.5a (Deuce Linux Port)
 2: Internal Code                   WEDIT
 3: Command Line                    %!wedit/wwivedit.linux %f
 4: Access Requirements             ANSI AND SYSOP
 5: Intercept I/O                   Standard, WWIV Color
 6: Native Executable               Yes
 7: Use Shell / New Context         No
 8: Record Terminal Width           No
 9: Word-wrap Quoted Text           Yes, for terminal width
10: Automatically Quoted Text       Prompt User
11: Editor Information Files        WWIV EDITOR.INF/RESULT.ED
12: Expand Line Feeds to CRLF       No
13: Handle Soft Carriage Returns    Retain
14: Strip FidoNet Kludge Lines      No
15: Support UTF-8 Encoding          No
16: BBS Drop File Type              RBBS/QuickBBS   dorinfo#.def
</code>

7. Recycle the BBS



===== See Also =====
  * [[:howto:editor:|howto:editor index]]

{{tag>}}
