Live data from Hacker News

Cool-retro-term: terminal emulator which mimics look and feel of CRTs

github.com

91–100 of 123 posts

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#91
post #26
post #2

People go so overboard on this stuff, the amount of ghosting on the DOS example is insane. I don’t want to spoils anyone’s fun but that’s not really what most screens looked like back then.

It's almost like a caricature of a CRT. I can see the novelty, but hope that people aren't lead to believe monitors looked like this. I think what bothers me most is the horizontal line that slowly moves across the screen every few seconds. It's an artifact of recording a CRT on film and doesn't occur when you look at a real monitor...

A horizontal-line artifact (not the one depicted in the shader) could totally happen, if you were over-driving a monitor with a higher pixel clock than it was happy with. With this kind of artifact, the two halves of the image would also be slightly horizontally misaligned with respect to one-another, too.

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#92

Earlier quoted context omitted.

Bit disappointed that Galaxy is the only one without a preview, what does it look like?

lol I'm smart apparently. It's not the "galaxy" shader, it's the "starfield" shader! I should double check before commenting I guess. https://github.com/0xhckr/ghostty-shaders/blob/main/starfiel... I'm not sure what "galaxy" looks like but it might not have worked or shown nothing.

Oh, that one's really pretty! I actually went to check if wezterm supported shaders after seeing the preview on your site, but tragically it doesn't.

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#93
post #88

See also “Phosphor”¹, a screen saver, part of XScreenSaver², but also usable as a terminal: /usr/libexec/xscreensaver/phosphor -scale 2 -delay 0 -program $SHELL 1. https://www.youtube.com/watch?v=G6ZWTrl7pV0 > 2. https://www.jwz.org/xscreensaver/ >

Wow the owner of the XScreenSaver really hates HN lol...

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#94
post #75
post #39

Earlier quoted context omitted.

which is a historic X11 font: https://en.wikipedia.org/wiki/Luxi_fonts interesting

Whoa, this sent me back. I cut my teeth on Red Hat Linux 5.2 (pre-RHEL), and I remember when they first added Bluecurve… oh jeez, this means im old, doesn’t it?

Current Go fonts are really close to Luxi but being under a TTF format.

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#95
post #68
post #2

People go so overboard on this stuff, the amount of ghosting on the DOS example is insane. I don’t want to spoils anyone’s fun but that’s not really what most screens looked like back then.

> that’s not really what most screens looked like back then Agreed. It’s sad but I think that unless you were born in the 70s, you may not be old enough to have seen enough CRT terminals to know the difference. We need at least one CRT terminal in each city so that kids have a chance to experience a real one.

Lolwut. I had a CRT TV until well into university, and that was around 2009. CRT’s aren’t that old yet. They just disappeared almost overnight.

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#96
post #2

People go so overboard on this stuff, the amount of ghosting on the DOS example is insane. I don’t want to spoils anyone’s fun but that’s not really what most screens looked like back then.

if you're talking about cutting edge CRTs, many of the last generation actually beat flat panels for years. Some may still in some aspects. There were plenty of junk CRTs out there used for text only display with insane levels of persistence and other issues that lead to a very unique appearance. It's also sort of moot at this point. The existing CRTs out there that have this behavior have degraded over the years. No…

CRTs still run circles around basic cheapo TN panels when it comes to color fidelity, dynamic range, viewing angles, and refresh rate. Upper-mid-to-high-end LCD screens have gotten vastly better, but the baseline is still pretty low.

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#98

Earlier quoted context omitted.

I have ghostty set up with this “starfield” shader: https://github.com/0xhckr/ghostty-shaders/blob/main/starfiel... I also have it set up to do adaptive theme, so in light mode the galaxy is mostly just a little noise on the black text but in dark mode it’s like I’m piloting a space ship. Highly recommend. I also documented a few other shaders on my blog here: https://catskull.net/fun-with-ghostty-shaders.html Edit:…

If only the “just snow” one would have had the snow floating down (instead of, inexplicably, up)!

I added DIRECTION, and use it agains the `q`. 0.25 makes them fall slowly.

    #define DIRECTION 0.25

    // usage:
    vec2 q = DIRECTION * uv * (1.0 + fi * DEPTH);
be sure to tweak the rest, it's fun!

Re: Cool-retro-term: terminal emulator which mimics look and feel of CRTs

#99
post #13

I used to daily drive this, most of the effects were minimized but I found that a little bit of white noise really helped make my terminal a lot easier on the eyes to read. I wonder if it is related to how some people find that film grain has a pleasing effect. For those looking at the screenshots note that the terminal is incredibly customizable, you don't have to have all the effects dialed up to 11! Sadly bit rot…

> Also a lack of tab support really hurts it as a daily driving terminal. For some, perhaps. I've not needed tabbed terminals ever since vim got proper terminal support. I run shells within vim, so have them in splits, tabs, etc in a plain xterm. Sorta like a tmux replacement, but with better editor support :-)

You hardcore vim folks are a different breed :-)
Post reply on HN