Notcurses is licensed under Apache2, a demonstration that I have transcended your petty world of material goods, fiat currencies, and closed sources. Implement Microsoft Bob in it. Charge rubes for it. Put it in your ballistic missiles so that you have a nice LED display of said missile's speed and projected yield; right before impact, scroll "FUCK YOU" in all the world's languages, and close it out with a smart palette fade. Carve the compiled objects onto bricks and mail them to Richard Stallman, taunting him through a bullhorn as you do so.
Someone clearly understands what open source is about. It's a pet peeve of mine when devs pick permissive licenses and then act all appalled when it's inevitably not taken as do-no-evil copyleft.
If you have expectations, spell them out! We are not mind readers, different people and projects happen in very different contexts and backgrounds. Assuming or even worse, asserting, that there are some common principles or standards beyond whats written down is just narrowminded and maybe even hypocritical.
Well, to be fair the brick could be wrapped in a copy of the gpl and stallman would be fine. Presumably the requested source code could also be delivered by a second brick.
I'm reminded of a similar 'dark' quote from Theo de Raadt in 2001:
"...But software which OpenBSD uses and redistributes must be free to all (be they people or companies), for any purpose they wish to use it, including modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia..."[0]
The same primary author just recently published a novel as well. If you enjoy the writing style of the readme/faq you may enjoy it too. Feels like it might be a good vacation read.
No affiliate link there (at least not intentionally) that’s the link that Amazon app brings up with share/copy link functionality.
Mods feel free to alter/delete as needed.
Bought his book just to support his efforts, yes I'm the one guy. He's got the type of chaotic energy real hackers generate. Love everything he's put on youtube.
It can show actual videos using the Sixel protocol. You already have terminals that support it too. Just run `xterm -ti 340`. In that terminal, run an application such as Gnuplot:
The api is lower–level than that. It is very similar to ncurses which just gives you a primitive window; a rectangular subsection of the screen that can be scrolled independently of the rest. It doesn’t give you a bunch of UI widgets like buttons and checkboxes that can be conveniently shown off in screenshots. You can build a whole TUI without ever even using those windows, because in a lot of UIs the content of the windows don’t need to scroll.
(And of course there’s all that stuff about colors, and notcurses adds functions for rendering bitmaps and videos into windows that ncurses doesn’t have.)
The link at the starting of the second sentence "Things can be done with Notcurses that simply can't be done with NCURSES." does more justice for what it can do than any screenshots would.
Watched a bit of the demo video. Maybe I'm not the target audience but is this kind of an emacs approach to the terminal, in the sense of trying to put every possible graphical function into a TUI? For me at least the charm of TUIs is their graphical and functional simplicity, and if I wanted complex animations and layering and whatever all else that is I would look elsewhere... still cool though
Demos might seem superficial, but very often in CLI applications, there's this one little thing that if only could be done via bitmap would improve usability by a lot. And it's possible.
> If your terminal has an option about default interpretation of "ambiguous-width characters" (this is actually a technical term from Unicode), ensure it is set to Wide, not narrow (if that doesn't work, ensure it is set to Narrow, heh)
For the handful slightly fancy TUI applications I wrote, I had some fun in just using raw escape sequences.
I really like the buildkit output style, I couldn't figure out how to do something like this – multiline output without a full-term application – with curses, so I did it myself.
Yeah, I built a TUI framework for fun. I was playing with making a TUI browser where everything is rendered server side like html and streamed over grpc.
Absolutely, yes, should've mentioned that. Most of these tools are for internal use at my company and I know what terminals they run in – even better: I can just test it.
But honestly, some of these run in tmux on my machine and in the Windows Terminal in production and both do the same thing.
I guess if you assume modern, emulated terminals and don't do exotic stuff (I mostly move the cursor and clear lines), you can go some way without termcap. It's a tool from a time when terminals where physical machines.
I remember when I decided I wanted to create a TUI for ROS2, I went through tens of libraries trying to figure out which would be best suited for what I wanted. I remember stumbling upon Nick's book "Hacking the planet with Notcurses". I Loved his attitude and passion, and felt it was fitting for what I was working on.
I was always impressed by how clean and consistent Notcurses was, I never found myself wanting for functionality or power. It was always performant and stayed out of my way when I was doing the un-orthodox. I consider it a shining example of the kind of culture that got me into this sort of thing. I look forward to working with it again when I find the excuse!
Computer scientist, nuclear engineer, clandestine chemist, novelist. nick black holds numerous degrees from Georgia Tech, and has worked at Nvidia, Google, and Intel, in addition to founding several companies. He's currently a principal engineer on Microsoft's Orbital space team.
Are there escape codes for some of these things? Or most of them? I know you can draw a sixel image but can you shrink it etc. with some escapes read over ssh?
Can I use Notcurses in my closed-source program?
Notcurses is licensed under Apache2, a demonstration that I have transcended your petty world of material goods, fiat currencies, and closed sources. Implement Microsoft Bob in it. Charge rubes for it. Put it in your ballistic missiles so that you have a nice LED display of said missile's speed and projected yield; right before impact, scroll "FUCK YOU" in all the world's languages, and close it out with a smart palette fade. Carve the compiled objects onto bricks and mail them to Richard Stallman, taunting him through a bullhorn as you do so.