NetBSD Problem Report #54339

From dholland@netbsd.org  Tue Jul  2 18:21:51 2019
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D42957A18E
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Jul 2019 18:21:51 +0000 (UTC)
Message-Id: <20190702182151.96B0084D02@mail.netbsd.org>
Date: Tue,  2 Jul 2019 18:21:51 +0000 (UTC)
From: dholland@NetBSD.org
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: sh (or libedit?) pasting oddity
X-Send-Pr-Version: 3.95

>Number:         54339
>Category:       bin
>Synopsis:       sh (or libedit?) pasting oddity
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 02 18:25:00 +0000 2019
>Originator:     David A. Holland
>Release:        NetBSD 8.99.25 (20181103)
>Organization:
>Environment:
System: NetBSD valkyrie 8.99.25 NetBSD 8.99.25 (VALKYRIE) #28: Thu Jan 17 20:46:50 EST 2019  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

Open an xterm. exec sh, do "set -o emacs". Type
"abcdefgijklmnopqrstuvwxyz ". Hit backwards-word and cut this string
with ^K, then paste it with ^Y repeatedly. After 37 pastes (if I
counted right) further pastes do not go but beep instead.

Type a few characters, then try ^Y again. It will beep. Type a few
more after that (18 total seems to be enough here) and then ^Y; it
will paste. Repeat pasting, and after a bunch more pastes the same
thing happens. Type some more, and you can paste again. Repeat,
apparently, indefinitely, until you get tired of watching libedit get
confused by lines longer than the screen.

This seems strange. Is the input line length supposed to be limited,
or not?

>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.