myhistedit.h revision 208755
150477Speter/*- 212031Sache * Copyright (c) 1993 386071Sache * The Regents of the University of California. All rights reserved. 4123682Sache * 5123682Sache * Redistribution and use in source and binary forms, with or without 6123682Sache * modification, are permitted provided that the following conditions 7108428Sache * are met: 8108428Sache * 1. Redistributions of source code must retain the above copyright 986071Sache * notice, this list of conditions and the following disclaimer. 1088473Sphantom * 2. Redistributions in binary form must reproduce the above copyright 1177980Sache * notice, this list of conditions and the following disclaimer in the 1277980Sache * documentation and/or other materials provided with the distribution. 1388473Sphantom * 4. Neither the name of the University nor the names of its contributors 1477980Sache * may be used to endorse or promote products derived from this software 1577980Sache * without specific prior written permission. 1687043Sache * 17117259Sache * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1888473Sphantom * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1977980Sache * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20125208Sache * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2188473Sphantom * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2277980Sache * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2377980Sache * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2477980Sache * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2588473Sphantom * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26180939Sdes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27180939Sdes * SUCH DAMAGE. 2877980Sache * 29105965Sache * @(#)myhistedit.h 8.2 (Berkeley) 5/4/95 3099961Sache * $FreeBSD: head/bin/sh/myhistedit.h 208755 2010-06-02 19:16:58Z jilles $ 31115921Sache */ 3270484Sphantom 3377980Sache#include <histedit.h> 3470484Sphantom 35120921Sacheextern History *hist; 36105444Sacheextern EditLine *el; 3788473Sphantomextern int displayhist; 3877980Sache 39174887Sachevoid histedit(void); 40143126Sruvoid sethistsize(const char *); 4188314Sachevoid setterm(const char *); 4252389Sacheint histcmd(int, char **); 4323228Swoschint not_fcnumber(const char *); 44136596Sruint str_to_event(const char *, int); 4512031Sacheint bindcmd(int, char **); 46136596Sru 4724275Sache