1 /* @(#)str.c 1.8 18/07/02 Copyright 2006-2018 J. Schilling */ 2 #include <schily/mconfig.h> 3 #ifndef lint 4 static UConst char sccsid[] = 5 "@(#)str.c 1.8 18/07/02 Copyright 2006-2018 J. Schilling"; 6 #endif 7 /* 8 * Some selected strings from bsh needed by the command line editor. 9 * 10 * Copyright (c) 2006-2018 J. Schilling 11 */ 12 /* 13 * The contents of this file are subject to the terms of the 14 * Common Development and Distribution License, Version 1.0 only 15 * (the "License"). You may not use this file except in compliance 16 * with the License. 17 * 18 * See the file CDDL.Schily.txt in this distribution for details. 19 * A copy of the CDDL is also available via the Internet at 20 * http://www.opensource.org/licenses/cddl1.txt 21 * 22 * When distributing Covered Code, include this CDDL HEADER in each 23 * file and include the License file CDDL.Schily.txt from this distribution. 24 */ 25 26 #include <schily/stdio.h> 27 28 char mapname[] = ".bshmap"; 29 char historyname[] = ".history"; 30 31 char histname[] = "HISTORY"; /* Historic name */ 32 char savehistname[] = "SAVEHISTORY"; /* Historic name */ 33 char histsizename[] = "HISTSIZE"; /* POSIX name taken from ksh */ 34 char histfilename[] = "HISTFILE"; /* POSIX name taken from ksh */ 35 char ignoreeofname[] = "IGNOREEOF"; 36 char termname[] = "TERM"; 37 char termcapname[] = "TERMCAP"; 38 39 char ecantopen[] = "Can't open '%s'. %s"; 40 char enotfound[] = "Not found."; 41 char ebadpattern[] = "Bad pattern."; 42 43 char for_read[] = "r"; 44 char for_wct[] = "wct"; 45 46 char nullstr[] = ""; 47 char slash[] = "/"; 48 char eql[] = "="; 49 char on[] = "on"; 50 51 /* 52 * Conditions 53 */ 54 char sn_no_mem[] = "no_memory"; 55 56 /* 57 * Parser 58 */ 59 char special[] = ";&|()<>% \t"; 60