[fpc-pascal] Interactive command recognition & mapping to program functions & other 'cli' features as a unit

Lukasz Sokol el.es.cr at gmail.com
Fri Jul 31 16:12:30 CEST 2015

On 31/07/15 14:46, Mark Morgan Lloyd wrote:
> Lukasz Sokol wrote:
>> Hi,
>> I tried piecing something like in $topic together,
>> intended as an 'interactive' command interpreter for my program. 
>> (which will in time grow an 'embedded' web server and intended to
>> run as a (windows) service, but it's too early for that at the
>> moment)
>> Any hints, Any keywords, any lmgtfy's are welcome :)
> This might be better in the Lazarus mailing list.

Thanks, I'll post there too, however I though i start here...

> I've knocked together a special-purpose terminal emulator, it's
> actually an IBM 2741 terminal which uses totally non-standard codes
> internally and I wanted something for APL, early ALGOL
> implementations and so on. This is obviously character-by-character,
> and I was just about able to get something working for TMemo,
> TRichMemo and TListBox. Somebody else mentioned TCmdBox (?) but I
> wasn't able to get it working adequately and in the end discarded
> most of my attempts, it might be worth looking at if you're trying to
> process lines rather than characters.

Will check TCmdBox... thanks!

> I think this was discussed a few months ago, and consensus was that
> there wasn't an adequate terminal emulator component. See below.
> http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Xterm-konsole-etc-td4031905.html

>From the above thread, http://wiki.freepascal.org/CmdLine popped up which I think of looking at.

Thanks again,

el es

More information about the fpc-pascal mailing list