[sbopkg-discuss] Re: Terminals needing refreshing to see sbopkg

Mauro Giachero mauro.giachero at gmail.com
Tue Feb 17 09:41:51 UTC 2009


Hello Phillip,

On Tue, Feb 17, 2009 at 1:53 AM, Phillip Warner
<phillip.c.warner at gmail.com>wrote:

>
> The code does not work well for me.  Instead it actually creates a
> memory sink hole and the excessive grepping hogs the CPU (bogging down
> my poor PII).


Do you mean that what is in SVN is worse than the wrapper?


> I recommend taking it out of SVN.


Will do, if we don't get to a better solution.


> Perhaps instead a trap can be used to manually call a refresh.  The
> user presses CTRL+l (lower 'L) and the screen refreshes then.


I'd prefer to work a while on something not trashing the program usability
before...


> As an alternative, a wrapper could be written for all of the dialog
> commands.  That way the code can still be clean, but the wrapper will
> manually cause a refresh.


Let's try some alternatives before such an invasive change.
Does the situation improve if you apply the attached patch?

On Mon, Feb 16, 2009 at 9:40 PM, Phillip Warner
<phillip.c.warner at gmail.com>wrote:
>
> I have not gotten a chance to try this out yet, but after looking at the
> patch I'd suggest a minor change.  Right now the function is only called if
> Term="rxvt", but what about rxvt-unicode or screen?


I can match "^rxvt.*", for sure.
Have you had any problem on $TERM==screen? We don't want the workaround
enabled on good configurations.


> Instead of checking for TERM, I suggest that you simply have a switch to
> activate the function.  That way the admin can decide on the fly without
> having to modify the script itself.


I don't agree here, at least not as our first attempt (maybe as a fallback).
I'd prefer sbopkg to work right out of the box without requiring the admin
to enable strange workarounds.


> --phillip
>

Thank you for your feedback
-- 
Mauro Giachero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "sbopkg-discuss" group.
To post to this group, send email to sbopkg-discuss at googlegroups.com
To unsubscribe from this group, send email to sbopkg-discuss+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/sbopkg-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20090217/0144a701/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-the-rxvt-workaround-easier-on-the-CPU-and-matc.patch
Type: text/x-diff
Size: 1446 bytes
Desc: not available
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20090217/0144a701/attachment.bin>


More information about the sbopkg-users mailing list