programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Console line editor enhancements

From: Mike Ghan <mikeghan_at_logix-controls.com>
Date: Tue, 20 Jan 2004 10:27:59 -0800

Hello all,

I enhanced the console line editor with the following:
1) Allow up/down arrow keys to invoke auto-complete if not at line
start.
2) Save all lines 1 or more chars long into history buffer.
3) Ctl Shift Del = Delete to End of Line.
4) Ctl Home = Show History (last 10 entries).
5) F3 = Append Last to EOL (ala DOS).
6) Auto-complete comparison is now case-insensitive.
7) Fixed a few zero length bugs (ie DO >> ?DO).
8) Fixed the TAB on empty line crash.

These features are similar to the 4NT (4DOS) command shell line editor
(jpsoft.com). The file is available at our site:

http://www.logix-controls.com/SwiftForth/EditLineX.htm

Simple INCLUDE the file.

Note, this file performs a simple patch to existing code. While this
is usually a *bad idea*, it simply modifies a constant and was the
only simple way to modify the line editor behavior without recompiling
the entire kernel. Perhaps if these enhancements are popular, they
could be included in an future SwiftForth release.

Best Regards,
Mike Ghan

Logix Industrial Control Systems http://www.logix-controls.com
10518 NE 68th St
Kirkland, WA 98033 USA
(425)828-4149 Ext 102 (425)828-9682 Fax

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Jan 20 2004 - 10:31:15 PST

This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:11 PST