Go to file
Jeff Carr 1622468e30 forge config 2025-09-12 15:03:37 -05:00
.gitignore day1 2025-09-01 17:06:10 -05:00
LICENSE day1 2025-09-01 17:06:10 -05:00
Makefile day1 2025-09-01 17:06:10 -05:00
README.md day1 2025-09-01 17:06:10 -05:00
go.mod forge config 2025-09-12 15:03:37 -05:00
go.sum forge config 2025-09-12 15:03:37 -05:00
humanTable.go truncate lines at stty -a row (or col, notsure) 2025-09-04 00:14:02 -05:00
tablePB.go stub in something to handle tables 2025-09-12 14:52:28 -05:00
termSize.go add TerminalChomp() in honor of Larry Wall & Perl 2025-09-04 08:04:47 -05:00

README.md

// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

// you can replace all of COBOL with this amount of GO

// ah yes, COBOL. what an ancient throwback. for those that know // then you know exactly what is in this file. For those that don't, here it is:

// All this does is output human readable text formatted to be viewable on // a console with a fixed with font. AKA: a typerwriter. Which is exactly // what COBOL did in the 1970's (60s? notsure) And the 80s.

// So, you want to dump out stuff on the console. Let's see. Something like

/* forge --favorites

go.wit.com/apps/myapp          v0.2.0     (installed)
go.wit.com/lib/somethingfun    v0.0.7     (not downloaded)

*/

// anyway, you get the idea. This is also called COBOL because it does // truncate every line output to the columns you see with stty -a // my monitor is huge, so it's not going to work at 80x24. 160x48 is better // actually, I'd predict some of these will probably end up 240 wide // long live good eyesight and 4K monitors!

// TODO: fix this to truncate with stty cols width