Live data from Hacker News

HyperTerm – JS/HTML/CSS Terminal

hyperterm.org

261–267 of 267 posts

Re: HyperTerm – JS/HTML/CSS Terminal

#261

Earlier quoted context omitted.

Gate One (web-based terminal) has had this functionality for years: https://github.com/liftoff/GateOne/ Just 'cat someimage.jpeg' or 'cat someimage.png' and it'll display it right there in the terminal. Works great if I do say so myself (I wrote it =).

I couldn't get this to work reliably. The tty messed with cr and lf characters unpredictably. I'm curious if you found a way around this issue.

It should work reliably but only with "modern" jpeg files. Older files have a slightly different (shorter; no exif stuff) header that makes them more ambiguous. So some of those might not get detected properly but it should work for anything taken by a modern camera/phone.

PNGs should always work as that format is very easy to detect.

Re: HyperTerm – JS/HTML/CSS Terminal

#262
post #149

Earlier quoted context omitted.

Gate One (web-based terminal) has had this functionality for years: https://github.com/liftoff/GateOne/ Just 'cat someimage.jpeg' or 'cat someimage.png' and it'll display it right there in the terminal. Works great if I do say so myself (I wrote it =).

I think I've come across this before. So it's a browser/web server solution, right? Seems like there could be some performance/security issues. Seems pretty full featured, though. Nice work!

Hundreds of thousands of users for three years now and there's yet to be any reports of a security issue. The closest thing was a very mild information disclosure issue with the bundled ssh_connect.py script... Because it imported readline you could hit ESC twice and see a listing of the files in the same directory as the script (one other file). Couldn't do anything with that info though, haha. Regardless, I fixed that years ago and there's been nothing since.

Re: HyperTerm – JS/HTML/CSS Terminal

#263

Just an idea: The only windowed applications I use are a terminal (st), my text editor (Atom), and a browser (Firefox). Suppose I switched to HyperTerm, Atom, and Chromium. I would have three copies of the Chromium renderer and V8 interpreter loaded in memory. Is there a project that merges these things into a single daemon, to improve individual app startup time, save memory, and reduce the binary size from 42 MB (f…

They are all based on electron. It seems like a thing electron should do. I.e spit out binaries that use chrome and node in the system.

Re: HyperTerm – JS/HTML/CSS Terminal

#264
post #20

Earlier quoted context omitted.

They're slow, big, and outrageously inefficient. Most electron apps also come with this weird web influenced "I'm kinda native y'all trust me" UI design which makes it even worse. My battery and eyes simply can't stand the things.

Interesting. I haven't experienced the slowness of Electron apps. And outrageously inefficient doesn't really matter to me if it's efficient enough for me not to notice any slowdown.

Electron means your app runs on Mac + Win + Linux without much effort. It could also potentially run on the web browser.

That is a huge sell.

Re: HyperTerm – JS/HTML/CSS Terminal

#265
post #20

Earlier quoted context omitted.

I'm curious why there's so much node/electron negativity circulating. (Although I guess asking for positivity when it comes to electron is a bit of a stretch :P)

They're slow, big, and outrageously inefficient. Most electron apps also come with this weird web influenced "I'm kinda native y'all trust me" UI design which makes it even worse. My battery and eyes simply can't stand the things.

I have tried to edit a file with a little bit of long JSON that came from a server (less than 50K) and atom completely froze trying to display it. This was two weeks ago. I've ditched Atom entirely.

Re: HyperTerm – JS/HTML/CSS Terminal

#266

Earlier quoted context omitted.

15 U.S. Code § 1125 [0]: ... (3) Exclusions The following shall not be actionable as dilution by blurring or dilution by tarnishment under this subsection: (A) Any fair use, including a nominative or descriptive fair use, or facilitation of such fair use, of a famous mark by another person other than as a designation of source for the person’s own goods or services, including use in connection with — (i) advertising…

This only covers trademark dilution which is one cause of action for trademark infringement, but not the only possible cause of action. Usually trademark dilution is argued when the products are dissimilar. In this case, they are not dissimilar. And as such, this is the regular definition of infringement and is not covered by 15 U.S.C. § 1125(c)(3). It falls distinctly under § 1125(a). PS - You linked to 15 U.S.C. §…

RE: PPS

Your link says that infringement is a type of dilution. Therefore, no dilution means no infringement.

Also note my other response to this comment: 1125(a) explicitly only includes commercial use.

Again, the US government has only the authority to regulate interstate commerce (ie. trade [hence, trademark]).

Re: HyperTerm – JS/HTML/CSS Terminal

#267

Earlier quoted context omitted.

Microsoft announced support for Linux/Unix tools in Windows 10 awhile back. You can get bash if you want. https://msdn.microsoft.com/en-us/commandline/wsl/about

bash might be there, but the terminal emulation is still pretty bad. (I'm a week or two behind on preview builds, but I still couldn't run a bunch of ncurses/tmux/mosh type apps). conhost.exe is a shame and it's kind of indicative how much joy it was just to get some basics (like QuickEdit by default, etc).

For windows, conemu ( http://conemu.github.io ) is a bit more annoying to configure than terminal.app, but works just as well, and even has the more powerful built in features like tmux. Of course you have to run something like msys2 (or maybe the bash for windows, but I haven't tried it yet) to get the "unix" environment.
Post reply on HN