chared.h (92917) | chared.h (108533) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)chared.h 8.1 (Berkeley) 6/4/93 37 * $NetBSD: chared.h,v 1.5 2000/09/04 22:06:29 lukem Exp $ | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)chared.h 8.1 (Berkeley) 6/4/93 37 * $NetBSD: chared.h,v 1.5 2000/09/04 22:06:29 lukem Exp $ |
38 * $FreeBSD: head/lib/libedit/chared.h 92917 2002-03-21 23:54:04Z obrien $ | 38 * $FreeBSD: head/lib/libedit/chared.h 108533 2003-01-01 18:49:04Z schweikh $ |
39 */ 40 41/* 42 * el.chared.h: Character editor interface 43 */ 44#ifndef _h_el_chared 45#define _h_el_chared 46 47#include <ctype.h> 48#include <string.h> 49 50#include "histedit.h" 51 52#define EL_MAXMACRO 10 53 54/* | 39 */ 40 41/* 42 * el.chared.h: Character editor interface 43 */ 44#ifndef _h_el_chared 45#define _h_el_chared 46 47#include <ctype.h> 48#include <string.h> 49 50#include "histedit.h" 51 52#define EL_MAXMACRO 10 53 54/* |
55 * This is a issue of basic "vi" look-and-feel. Defining VI_MOVE works | 55 * This is an issue of basic "vi" look-and-feel. Defining VI_MOVE works |
56 * like real vi: i.e. the transition from command<->insert modes moves 57 * the cursor. 58 * 59 * On the other hand we really don't want to move the cursor, because 60 * all the editing commands don't include the character under the cursor. 61 * Probably the best fix is to make all the editing commands aware of 62 * this fact. 63 */ --- 97 unchanged lines hidden --- | 56 * like real vi: i.e. the transition from command<->insert modes moves 57 * the cursor. 58 * 59 * On the other hand we really don't want to move the cursor, because 60 * all the editing commands don't include the character under the cursor. 61 * Probably the best fix is to make all the editing commands aware of 62 * this fact. 63 */ --- 97 unchanged lines hidden --- |