Subject: bin/28912: ksh incorrectly handles history file
To: None <,>
From: Denis Lagno <>
List: netbsd-bugs
Date: 01/08/2005 20:21:00
>Number:         28912
>Category:       bin
>Synopsis:       ksh incorrectly handles history file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 20:21:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 2.99.11
System: NetBSD flam.gado 2.99.11 NetBSD 2.99.11 (FLAM) #2: Thu Dec 30 03:22:19 MSK 2004 dina@flam.gado:/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAM i386
it is SMP machine
Architecture: i386
Machine: i386
pdksh in base system repeatedly corrupts its history file
if history file has big size and several ksh instances
exit simultaneously
it is pity because otherwise ksh is the only usable interactive
shell in base system
have 700kb history file 
then run screen with a lot of ksh instances
and reboot