3 ms·
The article at https://opensource.com/article/18/1/introduction-domterm-terminal-emulator https://opensource.com/article/18/1/introduction-domterm-ter... is a g
by Per_Bothner 8y ago
The article at https://opensource.com/article/18/1/introduction-domterm-terminal-emulator https://opensource.com/article/18/1/introduction-domterm-ter... is a good overview of what DomTerm is about. I've long been interested in how we can improve terminals/REPLs/consoles - I wrote the Emacs term mode in attempt to integrate shell mode with a real terminal emulator (though the attempt to replace shell mode did not "take").
(I reposted at the encouragement of moderator Daniel - thanks!)
Some of the things I've been working on since the opensource.com article include:
- better input editing: most of the functionality of readline with mouse/selection/clipboard integration. Main thing to be worked on is command (tab-) completion. I'm mulling the best way to do that.
- more generally, I want the functionality of UpTerm/FinalTerm. But writing out own shell is a mistake (well, I'm thinking about that, too ...). Better to use an existing shell - possibly fish as it has builtin auto-completion.
- Menus (menubar and popup) for "generic" (non-Electron non-Qt) front-ends: http://per.bothner.com/blog/2018/jsMenus/ http://per.bothner.com/blog/2018/jsMenus/
- better display of complex nested data, integrating show/hide buttons with pretty-printing, wih dynamic re-flpw on window re-size
- watersb 8y agoThanks for DomTerm! I am pleased with the current ascendancy of Jupyter notebooks, interactive sessions of data manipulation. When I first encountered Mathematica notebooks in early 1990s, I thought that this would be the way forward. A few years later, XMLTerm with Mozilla.. and it doesn't find an audience. I was thinking of an uncanny valley between CLI and GUI, but I am writing this in a web browser on an iPad, which is better than any interaction paradigm we might have held in 1990. We need more work on DOMTerm, notebook-style interaction design. I'm a bit surprised that Windows PowerShell does not play in this space.
- Per_Bothner 8y agoA main goal of DomTerm is to support "rich" REPL environments, similar to Jupyter.
- still_grokking 8y ago> But writing out own shell is a mistake (well, I'm thinking about that, too ...). Better to use an existing shell - possibly fish as it has builtin auto-completion. Maybe consider xonsh shell [1]. » Xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.4+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike. « [1] http://xon.sh/ http://xon.sh/
- Per_Bothner 8y agoSee https://kashell.org https://kashell.org for where my ideas are going (with a very incomplete prototype).