Did a FOI to get what they used for the Cyber security campaign.
The watch program from the #procps package has a new trick. Someone asked if there was a way to truncate the output instead of line-wrapping.
Watch already detects the width of the screen because it uses ncurses to output the lines so it needs to know where on the screen the next character will go. It was just a matter of hooking into the "run out of width" part of the code and eat the input until we hit an end of line.
So soon if you want to chomp those lines, you can!
Image stolen from @pulplibrarian on twitter.
I had this book as a kid. I couldn't afford an assembler so I had to write in machine code by hand assembly.
Just like the picture I'd write the operators on the left and convert it to decimal.
E.g loading the accumulator was
LDA 42 = 169,42
I had a 6510 not a 6502 but they were pretty close. Clearly the picture is not 6502 because 0x3E is ISC not LDA and LDB is not ASL.
The fourth opcode is probably STA.
Are you one of those people with some mad system with lots of CPUs? Having a hard time trying to see them all? Well top is coming out with two new features.
The first is two CPUs per row for wide (about over 160 columns) screens.
The second is to be able to group cpus into, um groups, so you can see pairs of cpu stats aggregated or 4 aggregated etc.
Networking - the hidden glue in IT
@mwlucas I think the other books are scared.
Free Software programmer, network engineer and Debian developer.
100% tomato verified. 🍅✔
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!