Subject: misc/484: Deleting a tab from sh or csh prompt leaves leftmost character
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Brian Moore <ziff@munch.eecs.umich.edu>
List: netbsd-bugs
Date: 09/18/1994 01:20:05
>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 (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 18 01:20:04 1994
>Originator:     Brian Moore
>Organization:
"My humble little abode"
>Release:        1.0_BETA 9/16/94
>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.
	
>Audit-Trail:
>Unformatted: