Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 08:33:14 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        freebsd-current@FreeBSD.org, ugen@latte.worldbank.org
Subject:   Re: dset & userconfig
Message-ID:  <199509112303.IAA20273@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199509111555.BAA18486@godzilla.zeta.org.au> from "Bruce Evans" at Sep 12, 95 01:55:19 am

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans stands accused of saying:
> The problem with serial consoles seems to be that dolist() redraws
> stuff while in the middle of an escape sequence, so input is lost
> (input is polled).  Typing the escape sequence works.  It works in
> pcvt.  Type `Esc [ A' and `Esc [ B' to move up and down.

Ah puke.   Thanks a million Bruce; that looks like it.  The immediate patch is
to add the marked line below :

	if (delta)
	{
	    showparams(ofsent(*ofs,*list));
	    drawline(row+*ofs,detail,ofsent(*ofs,*list),1,dhelp);
>>>	    delta = 0;		<<<  Add this line
	}

At the top of dolist() in sys/i386/i386/userconfig.c

I'll mail a small patch to Jordan to cover this and a few other things
straight away.

You're currently getting a redraw after _every_ keypress, which isn't
what's supposed to happen 8(

Now to deal with pcvt 8)

> Bruce

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and                                      [[
]] realtime instrument control          (ph/fax) +61-8-267-3039         [[
]] My car has "demand start" -Terry Lambert  UNIX: live FreeBSD or die! [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509112303.IAA20273>