This is being typed while "branched-out" to Pedit.exe
If this works:
When I exit Pedit (saving changes), I'll be back to the mail compose
screen with the cursor in the "To" field and all of this text in the
body of the message.
__________
IT WORKED!!!!!
Here are the changes to \arachne\system\gui\sendmail.ah
which made this possible.
_________
<TEXTAREA COLS=74 ROWS=26 NAME="$BODY" WRAP="Yes"
ARACHNEROWS ARACHNEEDITOR=TEXTAREA.TXT></TEXTAREA>
[line split for eMail purpose]
(added "ARACHNEEDITOR=TEXTAREA.TXT")
The buttons table is completely changed.
(replace your entire table with this new one)
<!--buttons table-->
<TABLE CELLSPACING=0 CELLPADDING=0>
<TD>
<INPUT TYPE=SUBMIT NAME=$SMTP VALUE="Send mail NOW">
<TD>
<INPUT TYPE=SUBMIT NAME=$SAVE VALUE="Save to Outbox">
</FORM>
<TD>
<FORM ACTION="arachne:back">
<INPUT TYPE=SUBMIT VALUE="Cancel">
</FORM>
<TD>
<FORM ACTION="file:cmpsxedit.dgi">
<INPUT TYPE=SUBMIT VALUE="External Editor">
<TD NOWRAP WIDTH=100>
<A HREF="#help">Scroll to Help</A>
<TR>
<TD>
<TEXTAREA COLS=74 ROWS=4 NAME="MAILLIST" WRAP="Yes" ARACHNEROWS
ARACHNEEDITOR=MAILLIST.TXT></TEXTAREA>
</FORM>
</TABLE>
<!--buttons end-->
_________
(Yes, I was able to combine BOTH the external editor function AND the
maillist function) :-)
If you don't want the MAILLIST, delete the 3 lines after the "help line"
<TR>
<TD>
<TEXTAREA COLS=74 ROWS=4 NAME="MAILLIST" WRAP="Yes" ARACHNEROWS
ARACHNEEDITOR=MAILLIST.TXT></TEXTAREA>
You will also need this line in mime.cfg
file/cmpsxedit.dgi |@call xedit.bat textarea.txt
And this .BAT file in your Arachne_main directory
---xedit.bat---
c:\pedit\pedit.exe %1
_______________
The reason for "calling" xedit.bat......
If you choose to change which editor program to use, just change xedit.bat
instead of mime.cfg
(to use edit.com, make xedit.bat as follows)
---xedit.bat---
c:\dos\edit.com %1
_______________
or even
---xedit.bat---
c:\editors\joe.exe %1
_______________
Oh, I almost forgot to mention........
***********You can only exit ONCE.*******
If you exit a second time, all further changes you made while back on
the mail compose screen will be lost.
The "work around".....
Before exiting, press Cntrl+W and save the screen to TEXTAREA.TXT
Now, you can go to the external editor and your changes will go with you.
I just did that and I'm in Pedit again.
The same must be done if you started the message before going out to
the external editor.<Cntrl+W TEXTAREA.TXT>
In addition,
The next time you compose a letter, the last one will be shown in the
mail compose screen.
I'm still working on a way to automatically delete TEXTAREA.TXT after
we're done with it.
____
OK, back on the mail compose screen and ready to "Save to outbox". :-)
--
Glenn McCorkle [EMAIL PROTECTED] North Jackson, Ohio, USA
DOS prog. for QV cameras http://www.angelfire.com/id/glenndoom/qvplay.html
Other stuff http:[EMAIL PROTECTED]/
Arachne, The Web Browser for DOS
Open the 'DOOR' to the WWW. Keep the 'windows' closed.
http://arachne.browser.org/ http://arachne.cz/