Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/bin/sh/histedit.c,v rcsdiff: /ftp/cvs/cvsroot/src/bin/sh/histedit.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12 retrieving revision 1.13 diff -u -p -r1.12 -r1.13 --- src/bin/sh/histedit.c 1997/03/14 01:42:20 1.12 +++ src/bin/sh/histedit.c 1997/04/11 22:45:41 1.13 @@ -1,4 +1,4 @@ -/* $NetBSD: histedit.c,v 1.12 1997/03/14 01:42:20 christos Exp $ */ +/* $NetBSD: histedit.c,v 1.13 1997/04/11 22:45:41 christos Exp $ */ /*- * Copyright (c) 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)histedit.c 8.2 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$NetBSD: histedit.c,v 1.12 1997/03/14 01:42:20 christos Exp $"; +static char rcsid[] = "$NetBSD: histedit.c,v 1.13 1997/04/11 22:45:41 christos Exp $"; #endif #endif /* not lint */ @@ -161,6 +161,17 @@ sethistsize(hs) } } +void +setterm(term) + const char *term; +{ + if (el != NULL && term != NULL) + if (el_set(el, EL_TERMINAL, term) != 0) { + outfmt(out2, "sh: Can't set terminal type %s\n", term); + outfmt(out2, "sh: Using dumb terminal settings.\n"); + } +} + /* * This command is provided since POSIX decided to standardize * the Korn shell fc command. Oh well...