NetBSD Problem Report #34724

From  Thu Oct  5 23:22:24 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 55C1363B8C9
	for <>; Thu,  5 Oct 2006 23:22:24 +0000 (UTC)
Message-Id: <>
Date: Thu, 05 Oct 2006 17:08:01 -0500
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


System: NetBSD 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
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.
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.

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


NetBSD Home
NetBSD PR Database Search

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