On Tue, 16 May 2000 00:39:00 -0500, Samuel W. Heywood wrote:

> Hello to all my fellow frustrated internal editor users:

> I do not agree with Glenn's recommendations here, and I have written to
> him privately concerning the problem.  I hope we can develop a good
> solution that will prove satisfactory to all.

Sorry, there goes that "brain freeze" again.<g>

Here is the *correct* information.....

For adding external editor function to F4:

You'll need xedit.bat in your Arachne-main-directory
---xedit.bat---
c:\pedit\pedit.exe %1
_______________

Place this line into mime.cfg

file/txedit.dgi   |@call xedit.bat $l

Replace your current textedit.ah with this new one.

---begin new \arachne\system\gui\textedit.ah---
<HTML>
<BODY NORESIZE>
<A NAME="top">
<FORM ACTION="arachne:internal-htmledit">
<TEXTAREA COLS=74 ROWS=34 ARACHNEEDITOR ARACHNEROWS ACTIVE>
</TEXTAREA>
<TABLE>
<TD><BUTTON TYPE=SUBMIT>Save &amp; view [F2]</BUTTON><TD>
<FORM ACTION="arachne:again">
<BUTTON>Cancel</BUTTON><TD NOWRAP>

<!--- external editor --->
<FORM ACTION="file:txedit.dgi">
<INPUT TYPE=SUBMIT VALUE="External Editor"><TD>
<!--- end external editor section --->

<A HREF="#help">Scroll&nbsp;to&nbsp;Help</A><TD>
<FONT COLOR=#777777 SIZE=-1><I>
<INPUT TYPE=OUTPUT ARACHNEDOC SIZE=25>
</TABLE>

<!--- editor help !!!! --->
<BR>
<BR>

<A NAME="help">
<A HREF="#top">Scroll back to internal editor</A>
<P>

<BASEFONT SIZE=-1>
Input fields and text windows are edited using built-in Arachne editor.
In editor, you can use standard editing keys (cursor keys, &lt;Backspace&gt;,
&lt;Delete&gt;, &lt;Home&gt;, &lt;End&gt;, &lt;Page Up&gt;,
&lt;Page Down&gt;). &lt;Shift&gt; + cursor keys marks block, and 
following commands are available:

<TABLE BORDER>
<TD width=140 NOWRAP>&lt;Ctrl+X&gt;
<TD width=183 NOWRAP>Cut to clipboard (*)
<TD width=143>Left mouse button
<TD width=140>Move/mark block (*)
<TR>
<TD NOWRAP>&lt;Ctrl+V&gt;
<TD NOWRAP>Paste from clipboard (*)
<TD>Middle mouse button
<TD>Paste block 
<TR>
<TD>&lt;Ctrl+C&gt;
<TD>Copy to clipboard (*)
<TD>Right mouse button
<TD>Copy to clipboard
<TR>
<TD NOWRAP>&lt;Ctrl+Page Up&gt;
<TD>Goto top of file (*)
<TD>&lt;Ctrl+K&gt; B
<TD>Begin block
<TR>
<TD NOWRAP>&lt;Ctrl+Page Down&gt;
<TD>Goto end of file (*)
<TD>&lt;Ctrl+K&gt; K
<TD>End block
<TR>
<TD>&lt;Ctrl+Home&gt;
<TD>Page Left
<TD>&lt;Ctrl+K&gt; M (V)
<TD>Move block
<TR>
<TD>&lt;Ctrl+End&gt;
<TD>Page Right
<TD>&lt;Ctrl+K&gt; Y
<TD>Delete block
<TR>
<TD>&lt;Ctrl+Left&gt;
<TD>Previous word
<TD>&lt;Ctrl+K&gt; C
<TD>Copy block
<TR>
<TD>&lt;Ctrl+Right&gt;
<TD>Next word
<TD>&lt;Ctrl+K&gt; H
<TD>Hide block
<TR>
<TD>&lt;Ctrl+T&gt;
<TD>Toggle wordwrap (*)
<TD>&lt;F7&gt; (&lt;Ctrl+Q&gt;)
<TD>Search for string
<TR>
<TD>&lt;Insert&gt;
<TD>Toggle insert/overwrite
<TD>&lt;Ctrl+L&gt;
<TD>Search next
<TR>
<TD>&lt;F2&gt;
<TD>Submit form or save file (*)
<TD>&lt;Ctrl+Y&gt;
<TD>Delete line
<TR>
<TD>&lt;F3&gt; (&lt;Ctrl+R&gt;)
<TD>Insert file (block) (*)
<TD ROWSPAN=3>Left doubleclick
<TD>Mark line (*)
<TR>
<TD>&lt;Ctrl+W&gt;
<TD>Write to file (*)
<TD>Unmark block (*)
<TR>
<TD>&lt;Tab&gt;
<TD>Goto next input field
<TD>Submit URL
<TR>
<TD>&lt;Shift+Tab&gt;
<TD>Goto previous input field
<TD >Right doubleclick
<TD>Delete block (*)
<TR>
<TD>&lt;Enter&gt;
<TD>Goto next input field (**)
<TR>
<TD>&lt;Esc&gt;
<TD>Exit editor mode
</TABLE>
<I>
(*) Multi-line windows only
(**) Submits form if in last single-line input field in form</I>
</Body>
</HTML>
_______________________________________________


--
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/
-- 
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/

Reply via email to