From owner-cvs-sys Sat Aug 10 06:38:53 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21422 for cvs-sys-outgoing; Sat, 10 Aug 1996 06:38:53 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21397; Sat, 10 Aug 1996 06:38:46 -0700 (PDT) Date: Sat, 10 Aug 1996 06:38:46 -0700 (PDT) From: Joerg Wunsch Message-Id: <199608101338.GAA21397@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ddb db_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/08/10 06:38:45 Modified: sys/ddb db_input.c Log: Finally implement a simple commandline history in DDB. Emacs-style line editing has already been there (did anybody ever notice this? :), so i `only' had to add ^P and ^N. The approach is fairly minimalistic, with the advantage of keeping the bloat as small as 864 bytes of .text and 16 bytes of .bss, plus 10*120 bytes malloc'ed history buffer at the first use. Revision Changes Path 1.14 +71 -2 src/sys/ddb/db_input.c