[PATCH] ui/ncurses: Periodically refresh display

Samuel Mendoza-Jonas sam at mendozajonas.com
Wed Jul 12 14:53:23 AEST 2017


On Wed, 2017-07-12 at 11:05 +1000, Cyril Bur wrote:
> On Wed, 2017-07-12 at 09:29 +1000, Stewart Smith wrote:
> > Samuel Mendoza-Jonas <sam at mendozajonas.com> writes:
> > > When connecting to IPMI or serial consoles quite often the user must hit
> > > a key or exit and restart petitboot-nc to cause it to appear. This
> > > occurs when the user connects after petitboot-nc has drawn the current
> > > screen. This can be a little confusing to users, especially in text
> > > screens where keys such as 'Enter' won't have an affect.
> > > To add some user friendliness create a timer callback that every five
> > > seconds re-draws the current screen automatically.
> > 
> > After having done the math on how slow I've seen some IPMI SoL
> > implementations, I think this should end up being fine, and even still
> > usable on effectively 9600bps with the worst case scenario of drawing.
> > 
> 
> I was wondering the same thing, I figured Sam knew what he was doing,
> now that both Sam AND Stewart have come to a consensus, I'm not even
> needed here.
> 
> Good day!

So I found out in testing this breaks the user experience in a hilarious
way - I may do a v2 on some UI refactoring I have going on in the
background, which will be neater and should avoid this issue.

> 
> > Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>
> > 
> 
> _______________________________________________
> Petitboot mailing list
> Petitboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/petitboot



More information about the Petitboot mailing list