NetBSD Problem Report #34724

From reed@reedmedia.net  Thu Oct  5 23:22:24 2006
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 55C1363B8C9
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  5 Oct 2006 23:22:24 +0000 (UTC)
Message-Id: <21889-1160086080@reedmedia.net>
Date: Thu, 05 Oct 2006 17:08:01 -0500
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@NetBSD.org
Subject: ksh line wrapping is unusable
X-Send-Pr-Version: 3.95

>Number:         34724
>Category:       bin
>Synopsis:       ksh prompt line wrapping is often unreadable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 05 23:25:00 +0000 2006
>Originator:     Jeremy C. Reed
>Release:        NetBSD 3.99.24
>Organization:

>Environment:


System: NetBSD glacier.reedmedia.net 3.99.24 NetBSD 3.99.24 (JCR20060802) #0: Mon Sep 25 12:22:43 CDT 2006 reed@new-host-8:/usr/src/sys/arch/i386/compile/JCR20060802 i386
Architecture: i386
Machine: i386
>Description:
If your ksh command line becomes long, it often doesn't wrap around
console to next line well.

Frequently you can't even see the line you are working on nor see where you
are typing. This is a great inconvenience.
>How-To-Repeat:
I can repeat it every time and for a long time.

Simple have a long command line that wraps to next line and then try to
go back and forth with left and right arrow key and guess where you are at.

Also this can easily be repeated by having a long custom PS1 prompt. This makes the problem worse and really makes the prompt become unreadable.

Start typing a long command like "this is a long line and 2 this is a long line and 3 this is a long line and 4 this is a long line and 5 this is a long line and ..." (no quotes).

And then try again after setting a long PS1. It gets worse.
>Fix:

sh and csh and Bash will show long lines wrapped. Maybe ksh should
do the same?

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.