summaryrefslogtreecommitdiff
path: root/usr.bin/tset/tset.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tset/tset.c')
-rw-r--r--usr.bin/tset/tset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tset/tset.c b/usr.bin/tset/tset.c
index 9a236b83b22..87d38d2b4c3 100644
--- a/usr.bin/tset/tset.c
+++ b/usr.bin/tset/tset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tset.c,v 1.4 1997/07/25 22:13:25 mickey Exp $ */
+/* $OpenBSD: tset.c,v 1.5 1998/04/25 04:30:39 millert Exp $ */
/* $NetBSD: tset.c,v 1.4 1994/12/07 05:08:15 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tset.c 8.1 (Berkeley) 6/9/93";
#endif
-static char rcsid[] = "$OpenBSD: tset.c,v 1.4 1997/07/25 22:13:25 mickey Exp $";
+static char rcsid[] = "$OpenBSD: tset.c,v 1.5 1998/04/25 04:30:39 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -228,8 +228,8 @@ main(argc, argv)
*/
if ((p = getenv("SHELL")) &&
!strcmp(p + strlen(p) - 3, "csh")) {
- p = "set noglob;\nsetenv TERM %s;\nsetenv TERMCAP '";
- t = "';\nunset noglob;\n";
+ p = "set noglob histchars="";\nsetenv TERM %s;\nsetenv TERMCAP '";
+ t = "';\nunset noglob histchars;\n";
} else {
p = "TERM=%s;\nTERMCAP='";
t = "';\nexport TERMCAP TERM;\n";