7 ms·
Ergonomica – A cross-platform shell written in Python
- Vexs 10y agoHuh, neat project, but it points me towards asciicinema, which is a really neat service/idea I've never heard of before. What a good lil niche service.
- kevin_thibedeau 10y agoA better alternative is ttyrec + tty-player which doesn't depend on a third party service to host your data.
- nerflad 10y agoTheir name is actually spelled asciinema, which they really should not have chosen. I keep misreading it as 'ascii enema' :\
- deleted 10y ago[deleted]
- fermigier 10y agoCool project. How much does it converge / diverge w/ Xonsh (http://xon.sh/ http://xon.sh/)? Besides the obvious fact that Xonsh is (from what I can tell at first glance) a Python-like shell scripting language, and Ergo a bash-like shell language written in Python.
- StreakyCobra 10y agoI would love to drop bash/zsh for some other python-based shell like xonsh. I tried it already a few times, and having access to the python language and built-ins right from the prompt is amazing. The way the found to mix both command prompt and python syntax seems really smart. Nevertheless, the effort to update all my (quite extensive) zsh setup, as well as the cognitive effort to re-educate my brain, is huge. So I want to have to do it only once. This means it should be A) a project that has chances to survive in the long term, so not dependent on a single developer, and B) that has chances to become the reference one, gathering most of the users/contributors. I don't know about the current craving for such technologies -- if it is a good idea or not -- nor the place of xonsh in all this. My main concern with xonsh is a blog article (Nov 2015) [1], that implies some issues regarding the management and the direction of the project. Does anyone have opinion/experience on these python-based shells, the existing alternatives, and more specifically about xonsh? [1] http://www.skepticism.us/2015/11/xonsh-is-no-longer-a-possible-replacement-for-zsh/ http://www.skepticism.us/2015/11/xonsh-is-no-longer-a-possib...
- fermigier 10y agoRegarding the blog post: Xonsh now has 125 contributors on GH, is tested by Travis, Circle & Appveyor, and is analysed by Lanscape (https://landscape.io/github/xonsh/xonsh/2936 https://landscape.io/github/xonsh/xonsh/2936). I see the Landscape score is not that great, but also that lots of the errors reported are false positive. So IMHO there are some serious QA efforts going on on Xonsh, and the concerns reported by the blog post you are citing are probably past history.
- StreakyCobra 10y agoThanks for the review! Indeed it seems that this criticism is part of the history now.
- rajathagasthya 10y agoI usually use iPython shell and prefix commands with '!' so it works as a shell command. It's pretty handy if you always have Python interpreter open. Not sure if this is what you want though.
- StreakyCobra 10y agoIt's a nice idea, I haven't thought of doing so. Maybe if I change the ipython prompt to something more fancy it can be a nice solution.
- yoavm 10y agoI'm a Zsh user who tried xon.sh for 3 months now and reverted to Zsh just a few days ago. Performance. I easily have ~20 shell instances running (under tmux), and having each one of them run python simply slowed down my computer. I got back to Zsh and while I miss some of xon.sh features (most notable one is calculating things just by typing "1+1"), everything feels so much snappier now.
- StreakyCobra 10y agoExcept for the performance problem (I'll probably not be concerned with my workflow), what are the pros/cons of xonsh for you? Some of my concerns are: - Does having direct access to Python really make your work in command line faster/easier? - Is there some paradigms that are more difficult to express in xonsh (redirect, pipes, …) - Did you happen to encounter bugs, or made mistakes without intent to do it (like overwriting/removing files, …) ? In other words, without the performance problem, would you continue to use xonsh and recommend it?
- ice109 10y agowow this is great!
- lschumm 10y agoauthor here—the idea for this shell would be to have something that worked like python, but was more ergonomica(a :) ). Something like what rajathagasthya suggested (using iPython as your terminal) is also very cool, and so is xonsh. Take it or leave it, it's a different style of shell that I figured I'd try making.
- base698 10y agoWatching the screen share it's apparent they don't use efficient terminal movements. Ctrl-A/E,end of line beginning of line, and Alt-B/F, move forward and backward by word are your friend. Lots of innocent keyboards abused for no reason.
- majkinetor 10y agoScreen share is so irritating with author continuing deleting phrases that I lost interest ASAP.
- junke 10y agoJust pressing Enter at the end would have been a lot less irritating.
- innocentoldguy 10y agoThat was the first thing I noticed too. No CTRL+U? It looks like a cool project, but I'll hold off until there are better navigation options (unless there already are, and the video producer simply wasn't using them).
- deleted 10y ago[deleted]
- lschumm 10y agohaha thanks i'm a real keyboard n00b
- vasilia 10y agohmm, it's pretty strange. I don't understand why it was implemented in Python, not in JavaScript.
- bsg75 10y agoOK, I will bite. Why JavaScript? What would it bring to an interactive environment that Python does not?
- sime2009 10y agoWhen it comes to Linux machines and servers, it has been a long time since I've seen one that didn't have some form of Python already installed on it by default. I don't think I can say the same for nodejs.
- lschumm 10y agopython's `os` and `subprocess` molecules, basically. Javascript was designed for the web, not to be run locally on a computer (that's why there isn't a clear "import file" directive). I also like Python more :).
- ndh2 10y agoThe 'Homepage' link to https://mtklabs.github.io/ergonomica https://mtklabs.github.io/ergonomica 404s.
- filmor 10y agoThis one works: https://ergonomica.github.io/ https://ergonomica.github.io/
- wynemo 10y agohttps://github.com/ergonomica/ergonomica/wiki/Installation https://github.com/ergonomica/ergonomica/wiki/Installation the installation is somewhat weird.
- deleted 10y ago[deleted]