[kwlug-disc] MKS - really the "lc" command
Steve Izma
sizma at golden.net
Mon Aug 1 17:27:35 EDT 2022
On Sat, Jul 30, 2022 at 11:11:57AM -0400, John Sellens wrote:
> Subject: Re: [kwlug-disc] MKS - really the "lc" command
>
> I can't function without "lc".
** Neither can I. **
> So more than a few years ago, I took my copy of lc, and managed to
> get it added to the freebsd ports tree:
> https://cgit.freebsd.org/ports/tree/misc/lc
> where it seems to still exist today.
>
> And you can get it yourself here:
> https://www.generalconcepts.com/resources/software/
>
> There might possibly be some new situations or file types it doesn't
> know about, but I use it at least a hundred times a day. There may
> be some official UW updates since my copy of course, but I don't
> think all the UW/MFCF developed software was ever made available.
The source code I have from the 1990s looks like an earlier
version of yours, John (I guess the earlier U of W version that
was floating around). Significantly, the earlier version lacks
TIOCGWINSZ, which I assume gets the terminal size in order to
increase columns for wide screens. I can't seem to get it to work
with my Linux terminals: the number of columns is always five.
This is the one thing I've been wanting to improve on over the
years, but I've never spent the time looking into it. Do I need
to do something else to get TIOCGWINSZ to work?
-- Steve
--
Steve Izma
-
Home: 35 Locust St., Kitchener, Ontario, Canada N2H 1W6
E-mail: sizma at golden.net phone: 519-745-1313
cell (text only; not frequently checked): 519-998-2684
==
The most erroneous stories are those we think we know best – and
therefore never scrutinize or question.
-- Stephen Jay Gould, *Full House: The Spread of Excellence
from Plato to Darwin*, 1996
More information about the kwlug-disc
mailing list