Live data from Hacker News

Upterm – A terminal emulator and interactive shell based on Electron

github.com

31–40 of 127 posts

Re: Upterm – A terminal emulator and interactive shell based on Electron

#31
post #20

I'm not going to spend hundreds of megabytes to display text on the screen. Not to mention the input latency this will have between keystrokes. The style of autocompletion shown can already be achieved with zsh - autocompletion should not be a function of your terminal emulator, but rather your shell. However, this is all just my opinion and maybe there will be a load of users, me and people who share my opinions wil…

I wish the same autocompletion could be achieved in ZSH. Then I wouldn't start this project at all. The problem with ZSH is that you have to * Make a decision you want completion. * Press tab for it to appear. * Guess when your token is precise enough to be unambiguous or else cycle through results. Not to mention fuzzy search. It may sound as not that much of an overhead, but it's so much slower than what I have in,…

https://github.com/zsh-users/zsh-autosuggestions

Shouldn't be too hard to modify it to display completion data instead of entries from your history.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#32

that autocompletion is great! it would be awesome if you had some way to support more commands - especially if done in a more automatized way.. parsing the manuals (?)

We kind of experimented with parsing man files, but it'll never be as good as manually crafted suggestions: you can do stuff like suggest changed files for "git add", tokens from diff for "git commit" message, show process names for "kill", and much more. The vision is to have manual suggestions for at least the most popular tools.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#33

> based on Electron. No thanks

It's your choice, of course, but in my opinion Electron is the only decent cross-platform UI framework. Without Electron there would be no Linux version.

What about qt ? tcl/tk ? OpenGL ?

I'm not against electron app, in fact I think it's a really good idea. But saying it's the only good ui framework is disingenuous.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#35
post #2

Hi, author of Upterm here. Ask me anything.

I made a superficially similar thing but I've never released it. My differences: (1) The shell is in pure js. It's a thin wrapper around shelljs but I had plans to move to a builder type syntax, eg. fs.cp().f("/tmp/foo").t("/tmp/bar").x(); (2) I made an api so people could quickly code up graphical output for commands. Just wondering if you'd be interested in integrating a feature like this. Do you have a chat channe…

Yes there is a gitter channel: https://gitter.im/upterm/Lobby

Re: Upterm – A terminal emulator and interactive shell based on Electron

#36
post #22
post #2

Hi, author of Upterm here. Ask me anything.

Almost all my terminals are ssh'd into some remote machine. Do you still get the features like enhanced command line completion in this scenario? What about integrated screen/some other kind of reconnection?

It's theoretically possible to have all the Upterm niceties over SSH, but not possible at the moment. As of screen and tmux, we have no plans to integrate with them.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#37
I've not been able to find an adequate terminal emulator for Windows.

I found Conemu clunky (maybe I needed to spend more time configuring it, but out of the box it was fairly ugly, and borked out under some curses applications and when using tmux), PuTTY/KiTTY to be lacking some important features (like tabs) -- ditto cmd.exe.

IMO there's a real gap in the Windows market, be that a new terminal emulator entirely, or improvements to Conemu making it more intuitive and user friendly.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#38

> based on Electron. No thanks

It's your choice, of course, but in my opinion Electron is the only decent cross-platform UI framework. Without Electron there would be no Linux version.

    [...] Electron is the only decent cross-platform UI framework
That's just not true.

What about Qt, wxWidgets, Tcl/Tk, or even Kivy?

Re: Upterm – A terminal emulator and interactive shell based on Electron

#39
post #2

Hi, author of Upterm here. Ask me anything.

Autocompletion for env variables is great: i.e. `cd $THAT_ENV_DIRECTORY` however I always get `The directory "$THAT_ENV_DIRECTORY" doesn't exist. ` although clearly it does as it is autocompletion suggested

It's a known bug, please vote to fix it faster. Variables interpolation doesn't work in built-in commands at the moment. https://github.com/railsware/upterm/issues/597

Re: Upterm – A terminal emulator and interactive shell based on Electron

#40

> based on Electron. No thanks

It's your choice, of course, but in my opinion Electron is the only decent cross-platform UI framework. Without Electron there would be no Linux version.

it's not like there are hundreds of cross-platform win/mac/linux software that have no problem being written in other frameworks than electron. See all the KDE apps, Krita, Inkscape, GIMP, Wireshark, Audacity, Unity3d, Maya, Houdini, Blender, LibreOffice etc etc which are all hundreds of time more featureful that your average Electron app.
Post reply on HN