Subject: lib/17533: Typing in fields leaves cursor in wrong position during entry.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@wasabisystems.com>
List: netbsd-bugs
Date: 07/10/2002 09:02:13
>Number:         17533
>Category:       lib
>Synopsis:       Typing in fields leaves cursor in wrong position during entry.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 09 05:58:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tyler Retzlaff
>Release:        NetBSD 1.6B
>Organization:
	Wasabi Systems
>Environment:
System: NetBSD elysium 1.6B NetBSD 1.6B (elysium) #0: Wed Jul 3 00:39:26 EST 2002 rtr@elysium:/usr/src/sys/arch/i386/compile/elysium i386
Architecture: i386
Machine: i386
>Description:
	When entering text into a form field after pressing the key the
	cursor is left at the end of the field instead of being positioned
	after the last character typed.

	e.g.

	field: [      ]
		^ cursor position
	field: [A     ]  <-- an 'A' is entered
	               ^ cursor position after entering A

	Typing another character will cause the next character to appear in
	the correct location, though the cursor always ends up located after
	the end of the field.

	While I didn't even notice this on a vt100 term, it became shockingly
	annoying when running it under pc3.

	

>How-To-Repeat:
	Just create a form with a field and enter a character.
>Fix:
	I'm not sure of the exact location in the source but I suspect
	you only need call mvcur() to after refreshing the fields.

>Release-Note:
>Audit-Trail:
>Unformatted: