Live data from Hacker News

Libghostty is coming

mitchellh.com

201–210 of 275 posts

Re: Libghostty is coming

#201
post #155

Earlier quoted context omitted.

Seriously. I've been using Macs since... ahem... 1985... and did not know this.

It means cancel, stop. You can use it to stop progress bars, dismiss dialog boxes, terminate some well-behaved spinning beach balls, cancel a drag before dropping, etc. It's been on the platform since the classic Mac OS days.

I was wondering why the shortcut for stopping a running program in Xcode was cmd+. Now I know

Re: Libghostty is coming

#202

Earlier quoted context omitted.

I just want to say, what a dream. To have wealth and be able to create projects for the sake of going the projects. To not have to make the concessions of quality for profits. There's an old Knuth quote: > In fact what I would like to see is thousands of computer scientists let loose to do whatever they want. That's what really advances the field. And I think we're seeing more and more that these projects made with l…

What we are missing is a sponsorship model that is able to fun this kind of thing. It's not infeasible - look at university grants dispersement as an example of the overwrought predecessor of this. A ton of money moves through such institutions, and funds a lot of interesting projects. One thing I've been envisioning is something like a "certified B corporation" style qualification that companies can get that indicat…

Having recently come out of grad school, tell me about it...

But the same general problem exists in industry. Our fear of doing things non-optimally only results in a less optimal solution. It's a risky move to take no risks.

In both academia and industry you see the same people doing the same things in the same way. It's no wonder things don't change. You can't have a paradigm shift by following the paradigm (playing it safe). I feel like this is a big shame in both tech and academia as the histories of these have always been made by those who rocked the boat. At some point we just have to admit we're not very good at predicting the future and instead of trying to predict what will be the most successful we should fund passion. I'm sure charlatans will get funded too, but its not like we're doing a good job at preventing that from happening now anyways...

Re: Libghostty is coming

#203
post #138
post #45

Earlier quoted context omitted.

Hashimoto is an absolute wizard, but what I find most compelling about him is his absolutely uncanny ability to segment and abstract systems and interfaces in a way for maximum composability and minimal entanglement. He's like the walking embodiment of Rich Hickey's Simple Made Easy philosophy. It's like he designs software systems in such a way that they have no choice but to operate correctly and predictably. Also…

I only wish after 1.3 he could hand over Ghostty to others for maintenance and move to improve other things. The software world really needs people like him to drive things forward .

Ghostty is his hobby project: why would he do that?

Re: Libghostty is coming

#204
post #191

Earlier quoted context omitted.

How is this not driving things forward? It's the best terminal emulator I've ever used.

The person you replied to agreed, but the maintenance could be done by other people while Hashimoto could continue to improve other technologies.

It's Mitchell's hobby project. If he had an interest in improving other technologies, he would. People are allowed to have hobbies.

Re: Libghostty is coming

#205

I really want to like Ghostty but: - Still no ⌘F for find. - No way (that I know of) to select previous output or specific string and copy with only keyboard shortcuts. - No ⌘. sending CTRL-C (muscle memory and being advertised as native to the Mac is what one would expect). - Fonts still don't render as nicely as in Terminal.app. I've fiddled with `font-thicken-strength` and it's close, but not quite. Probably impos…

Not to mention that every time you ssh to another server your keyboard stops working correctly. The solution is on their website: > infocmp -x xterm-ghostty | ssh YOUR-SERVER -- tic -x - I mean... I could learn what it does, but no way on earth I am going to be typing something like that every time I want to ssh somewhere. (This is somehow fixed in 1.2 but it requires additional entry in the config for whatever reaso…

  SetEnv TERM=xterm-256color
in your ssh config stanza will fix that

Re: Libghostty is coming

#206

Earlier quoted context omitted.

Haha, thanks again :) I've been delaying a major migration to NeoVim on [modern-terminal-I-can-never-decide-which] for years. Wezterm, Ghostty, iTerm2. None is exactly perfect, so I just keep watching them develop.

I recently migrated from vim to neovim and you can just migrate everything. I forgot where I found this but put this in ~/.config/nvim/init.vim " Load vim configs set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc Then in my zshrc (well... I organize differently) I have the function function _exists() { command -v "$1" &> /dev/null } alias_vim() { if (_exists nvim) then ali…

FWIW, zsh has a commands hash to make stuff like this potentially easier and cleaner. The following isn't quite how I'd do it, but is functionally equivalent.

    (( $+commands[vim] )) && alias vi=vim
    (( $+commands[nvim] )) && alias vi{,m}=nvim

Re: Libghostty is coming

#207

Earlier quoted context omitted.

Not to mention that every time you ssh to another server your keyboard stops working correctly. The solution is on their website: > infocmp -x xterm-ghostty | ssh YOUR-SERVER -- tic -x - I mean... I could learn what it does, but no way on earth I am going to be typing something like that every time I want to ssh somewhere. (This is somehow fixed in 1.2 but it requires additional entry in the config for whatever reaso…

> (This is somehow fixed in 1.2 but it requires additional entry in the config for whatever reason. Can't it just work?) "For whatever reason": because it requires modifying `ssh` and doing that by default is a really sketchy thing to do because it is a very security sensitive tool. No program (Ghostty included) should be mucking with that by default. We want users to be aware. "Can't it just work?": No, because the…

In theory one can set TERMINFO to the actual terminfo string, but sadly openssh (and I suspect other ssh clients/servers) don't pass that on.

Has the ghostty terminfo been added to ncurses?

Re: Libghostty is coming

#208
post #138

Earlier quoted context omitted.

I only wish after 1.3 he could hand over Ghostty to others for maintenance and move to improve other things. The software world really needs people like him to drive things forward .

Ghostty is his hobby project: why would he do that?

Because maintaining is not as fun as starting? Because other people can maintain a well structured project but not as many people can start something from scratch? Because his skills can be better used elsewhere?

Re: Libghostty is coming

#209
Ghostty is amazing. The attention to detail means that the basics work right, which I couldn't say about any other "modern" terminal apps. I still wish for xterm-like text selection, but otherwise this is the best terminal out there, at least on macOS (Apple Terminal.app is second).
Post reply on HN