newLisp ncurses shell console

For the Compleat Fan
Locked
Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

newLisp ncurses shell console

Post by Dmi »

I've done one: http://en.feautec.pp.ru/SiteNews/NewlispConsole

Features:
* written in newlisp
* splitted window with multi-line editor
* command history (stored in a file)
* user-mode functions for re-using console features in scripts

Restrictions:
* no debugging
* no scrolling

It is on alpha stage yet... but quite ready for the first look.

I think, this will be my piece of code for contest :-)
WBR, Dmi

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

...Aaaaaa great...continue continue...!!! Thats a good hit for the contest ;-)

PS: Terminal is not resetted back to default after (exit) in console mode.

Regards, Norman.
-- (define? (Cornflakes))

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

fixed. uploaded.
(exit) now overloaded and calls (endwin) implicitly.
(real 'exit placed into 'MAIN:real-exit)

Also there are minor fixes.
WBR, Dmi

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Improvements

Post by Dmi »

Added console output scrolling.
Use PgUP/PgDn in editor mode
WBR, Dmi

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Version 1.2 issued:

- slightly modified key bindings
- long lines are correctly wrapped on output now
- code indenting on input
WBR, Dmi

Locked