[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] windowlist script and contrib/
From: |
Mike Meyer |
Subject: |
Re: [RP] windowlist script and contrib/ |
Date: |
Tue Oct 23 03:04:07 2001 |
Doug Kearns <address@hidden> types:
> On Tue, Oct 23, 2001 at 02:39:00AM -0500, Mike Meyer wrote:
> > Doug Kearns <address@hidden> types:
> > > Once we can dump the values of the def* commands to stdout this should
> > > become even simpler and the second call to rp will become unnecessary.
> >
> > I know it violates the "make it look like screen" idead, but I'd vote
> > for nuking all the defXXXX commands and replacing them with a single
> > "set" command and a table of variables. Or maybe a "def" command, and
> > a kludge to make "defXXXXX" equivalent to "def XXXXX". Hmmm....
>
> What does that buy you? Anything other than a _possible_ improvement in
> architecture?
A shorter command table, hence faster table searches. You're replacing
it with having to do a variable search for the set command, which
means that slows down. Hopefully, it means you can centralize the
argument parsing/printing for all those commands as well, as the
variable table would include a pointer to functions to parse and print
that argument type.
[FWIW, why is the barloc still a number instead of a gravity????]
> > > However, I've been using it for a month and it hasn't failed yet :-)
> > There's a bug in RP that is exercised by a tweaked version of that
> > script. I haven't tried your original script yet. The crucial
> > condition was that the screen is split vertically. If you haven't
> > tried your script after a vsplit, you might want to.
> I can't reproduce this using my current script or the one you provided
> in the recent message ( Subject: Bug report ).
>
> Incidentally, I assume that script is broken intentionally?
Yes, I was playing with the script to try out variations, and started
seeing the lockups. I stop playing with it. Later, I reproduced it for
that bug report. As reported, it reliably locks up for me *if* the
screen is split. Just a single vsplit does the trick.
<mike
--
Mike Meyer <address@hidden> http://www.mired.org/home/mwm/
Q: How do you make the gods laugh? A: Tell them your plans.