NetBSD Problem Report #484

From gnats  Sun Sep 18 01:10:25 1994
Received: from munch.eecs.umich.edu (root@munch.eecs.umich.edu [141.212.99.198]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id BAA00918 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 18 Sep 1994 01:10:22 -0700
Message-Id: <199409180801.EAA00800@munch.eecs.umich.edu>
Date: Sun, 18 Sep 1994 04:01:17 -0400
From: Brian Moore <ziff@munch.eecs.umich.edu>
Reply-To: ziff@munch.eecs.umich.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: Deleting a tab from sh or csh prompt leaves leftmost character
X-Send-Pr-Version: 3.2

>Number:         484
>Category:       misc
>Synopsis:       Deleting a tab from sh or csh prompt leaves leftmost character
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 18 01:20:04 +0000 1994
>Closed-Date:    Sun Sep 18 18:32:54 +0000 1994
>Last-Modified:  
>Originator:     Brian Moore
>Release:        1.0_BETA 9/16/94
>Organization:
"My humble little abode"
>Environment:

System: NetBSD munch.eecs.umich.edu 1.0_BETA NetBSD 1.0_BETA (MUNCH) #0: Sun Sep 18 01:38:36 EDT 1994 ziff@munch.eecs.umich.edu:/usr/src/sys/arch/i386/compile/MUNCH i386


>Description:
	This is a nit-picky little bug, but it happens often because I'm
	used to tcsh/zsh.  Within sh or csh, when you type a tab, the cursor
	will tab over, but if you try to delete that tab, it will not delete 
	the whole tab.  It will only delete back to the original cursor 
	location plus one to the right.  
>How-To-Repeat:
	An example: ( Cursor = | )

	Before Tab < within csh >
	#echo Help|

	After Tab
	#echo Help        |

	After Delete
	#echo Help |

	After more text
	#echo Help Me|

	After a return
	#echo Help Me
	HelpMe
	#|

>Fix:
	Unfortunately, I don't have a fix as of now, and am kind of stumped
	as to what's causing it.  It works fine from vi, so I don't think it 
	is a termcap bug.  Let me list the scenarios where I have
	and haven't seen it:

	At console( with pccons) with sh: Problem
	  ""                     ""  csh: Problem
	At console( with pcvt) with sh: Problem
	  ""                   ""  csh: Problem
	At xterm with sh/csh: Problem
	Within vi from console or X with sh/csh: No problem
	Telnet to sun from NetBSD with sh/csh: No problem
	Telnet to NetBSD from NetBSD with sh/csh: Problem
	Telnet to NetBSD from telnet to sun from NetBSD: No problem

	Once again, it's just a nit-picky thing, so it's not a big deal.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: deraadt 
State-Changed-When: Sun Sep 18 11:32:54 PDT 1994 
State-Changed-Why:  
Fixed in tty.c 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.