On 11/26/20 4:23 PM, Larry McVoy via cctalk wrote:
I'm sort of wondering why the solution for the problem isn't good
enough.
As indicated elsewhere the code generating the output (via print(f)
statements) is written in (m)awk.
I'm not aware of a good / convenient / nice / pretty / shiny inte
Did I miss a reason for the alternative? Because if you add a caching
layer this approach has been working for me for decades. I rewrote
dired in perl just because perl was everywhere and I could. I've been
dragging the perl one around since at least 1990 and it worked for me
on pretty much any
Larry, as was stated in the original post (and multiple times in the
replies), I believe they were looking for another solution.
On 11/26/20, Larry McVoy wrote:
> Um, as has been stated multiple time, this is why tputs(1) exists.
> Problem. Solved.
Um, as has been stated multiple time, this is why tputs(1) exists.
Problem. Solved.
On Thu, Nov 26, 2020 at 01:26:30PM -0500, Nemo Nusquam wrote:
> On 11/26/20 11:26, Ed Carp wrote:
> > You could write something in C using curses/ncurses (which will
> > do the ANSI sequences for you automatically
You could write something in C using curses/ncurses (which will do the
ANSI sequences for you automatically).
On 11/26/20 11:35 AM, Tony Aiuto via cctalk wrote:
Every time I see discussions about terminal control sequences
and Unix, I can not help but be reminded of Johnny Zweig's
eloquent analysis, as quoted in The Unix Haters Handboodk.
https://web.mit.edu/~simsong/www/ugh.pdf
~chuckle~
I'm going
> > You could write something in C using curses/ncurses (which will
> > do the ANSI sequences for you automatically).
>
> True but I wonder whether curses would be bit heavy handed for this.
You had me at "a bit heavy handed."
--
personal: http://www.cameron
Every time I see discussions about terminal control sequences and Unix, I
can not help but be reminded
of Johnny Zweig's eloquent analysis, as quoted in The Unix Haters
Handboodk. https://web.mit.edu/~simsong/www/ugh.pdf
Forcing programmers to be aware of how their programs talk to terminals
is m
On 11/26/20 11:26, Ed Carp wrote:
> You could write something in C using curses/ncurses (which will
> do the ANSI sequences for you automatically).
True but I wonder whether curses would be bit heavy handed for this.
N.
> One area that I think held awk back was the lack of standardized c bindings
> for easy extensibility.
I'm not sure I agree. I despise how half the extant Python and Perl code
requires compiled shared libraries (apart from the standard library). I
make it a point to write script code with minimal
On 11/25/20 4:17 PM, Warner Losh wrote:
One area that I think held awk back was the lack of standardized c
bindings for easy extensibility.
But "...system(...)...". ;-)
I jest, but that may be how I would interface with tput.
As it is, awk, combined with watch and netstat, is making a very n
On Wed, Nov 25, 2020, 4:11 PM Grant Taylor via cctalk
wrote:
> On 11/25/20 11:00 AM, Steffen Nurpmeso via cctalk wrote:
> > Is what i use for a make system.
>
> Thank you for the input Steffen.
>
> I'll re-read through what you've shared.
>
> I have a slight added complication that currently the
On 11/25/20 11:00 AM, Steffen Nurpmeso via cctalk wrote:
Is what i use for a make system.
Thank you for the input Steffen.
I'll re-read through what you've shared.
I have a slight added complication that currently the color generation
is in the body of an awk file.
I may need to have BEGIN
Steffen Nurpmeso wrote in
<20201125180048.ivtoi%stef...@sdaoden.eu>:
|Grant Taylor wrote in
| <9c1595cc-54a1-8af9-0c2d-083cb04dd...@spamtrap.tnetconsulting.net>:
||As I find myself starting yet another project that that wants to use
||ANSI control sequences for colorization of text, I find my
Grant Taylor wrote in
<9c1595cc-54a1-8af9-0c2d-083cb04dd...@spamtrap.tnetconsulting.net>:
|Hi,
|
|As I find myself starting yet another project that that wants to use
|ANSI control sequences for colorization of text, I find myself -- yet
|again -- wondering if there is a better way to gener
man 1 tput
is what I use.
On Wed, Nov 25, 2020 at 10:14:55AM -0700, Grant Taylor via TUHS wrote:
> Hi,
>
> As I find myself starting yet another project that that wants to use ANSI
> control sequences for colorization of text, I find myself -- yet again --
> wondering if there is a better way to
16 matches
Mail list logo