Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 07:24:48 +1000 (EST)
From:      Peter Jeremy <peter@rulingia.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/169773: Resizing causes /bin/sh to repeat edit operations
Message-ID:  <201207102124.q6ALOmnF087586@server.rulingia.com>
Resent-Message-ID: <201207102130.q6ALUFR2072878@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169773
>Category:       bin
>Synopsis:       Resizing causes /bin/sh to repeat edit operations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 21:30:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 10.0-CURRENT sparc64
>Organization:
n/a
>Environment:
System: FreeBSD sb1500.rulingia.com 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r238247M: Tue Jul 10 18:28:55 EST 2012 root@sb1500.rulingia.com:/usr/obj/usr/src/sys/sb1500 sparc64
System: FreeBSD server.rulingia.com 8.3-STABLE FreeBSD 8.3-STABLE #17 r237444M: Sat Jun 23 18:22:46 EST 2012 root@server.rulingia.com:/var/obj/usr/src/sys/server amd64

>Description:
	Given an account with /bin/sh as the login shell, if you type
	some input, ending with an editing operation (eg backspace) and
	then resize the window multiple times without further input,
	the edit operation will be repeated on every second resize.

	This bug was identified during testing of r238173 but it
	predates the libedit changes in r237448.

>How-To-Repeat:
	Login to an account with /bin/sh as the login shell on a FreeBSD host.
	Type some text, ending with a backspace (deleting the last character
	entered).
	Resize the window (or send SIGWINCH to the shell) multiple times
	without entering additional input.
	The last character will be deleted (stortening the line by one
	character) on every second resize.

>Fix:
	Unknown


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



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