Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: readcmd 0.9

69 views
Skip to first unread message

Oleg Nemanov

unread,
Oct 18, 2021, 4:11:41 AM10/18/21
to
Hi all.

readcmd is a package for command line editing(like a readline lib):

https://github.com/lego12239/readcmd.tcl

It is not completed yet. But it already usable. The main purpose is an
implementing of cli for programs.
As an example of use, there is tclshrc file with autocompletion of vars, commands and namespaces.

Any suggestions are appreciated.

Harald Oehlmann

unread,
Oct 18, 2021, 5:05:10 AM10/18/21
to
Thank you, Oleg, to share your work and make it available to the
community. This is appreciated.

Best regards,
Harald

Oleg Nemanov

unread,
Oct 18, 2021, 5:12:42 AM10/18/21
to
понедельник, 18 октября 2021 г. в 12:05:10 UTC+3, Harald Oehlmann:
> Thank you, Oleg, to share your work and make it available to the
> community. This is appreciated.

I will be glad if this package will be useful to someone.

Ted Nolan <tednolan>

unread,
Oct 18, 2021, 8:29:47 AM10/18/21
to
In article <2e60cfd2-6918-4284...@googlegroups.com>,
Have you looked at tclreadline? (I think this is the one I've used:
https://github.com/flightaware/tclreadline ). IIRC they've got a tclsh
with some of this that might be helpful.

--
columbiaclosings.com
What's not in Columbia anymore..

Oleg Nemanov

unread,
Oct 19, 2021, 3:55:06 AM10/19/21
to
понедельник, 18 октября 2021 г. в 15:29:47 UTC+3, Ted Nolan <tednolan>:
> Have you looked at tclreadline? (I think this is the one I've used:
> https://github.com/flightaware/tclreadline ).

Not yet. Thanks for the link!

> IIRC they've got a tclsh
> with some of this that might be helpful.

What features do you think are most useful?

Ted Nolan <tednolan>

unread,
Oct 19, 2021, 8:18:21 AM10/19/21
to
In article <142c8448-89d7-437b...@googlegroups.com>,
To be honest, I have mostly used their tclsh for communicating with
embedded interpreters by ripping out the eval part and replacing it
with a tcp send so I can have a command line to the embedded interpreter.
I do like the up-arrow and bang for repeating the last command (though
the bang substitution sometimes breaks code)
0 new messages