add new "set -o utf8-hack", currently no effect

set automatically on startup if we have locale functions (on MirOS)
This commit is contained in:
tg
2006-11-05 12:11:14 +00:00
parent 02c14f2a62
commit 1547b04e66
5 changed files with 31 additions and 8 deletions

5
sh.h
View File

@@ -8,8 +8,8 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.47 2006/10/03 19:46:14 tg Exp $"
#define MKSH_VERSION "R28 2006/09/30"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.48 2006/11/05 12:11:14 tg Exp $"
#define MKSH_VERSION "R28 2006/11/05"
#include <sys/cdefs.h>
#if !defined(__RCSID) || !defined(__SCCSID)
@@ -283,6 +283,7 @@ enum sh_flag {
FSH, /* -o sh (dummy, for pdksh compatibility) */
FSTDIN, /* -s: (invocation) parse stdin */
FTRACKALL, /* -h: create tracked aliases for all commands */
FUTFHACK, /* utf-8 hack for command line editing */
FVERBOSE, /* -v: echo input */
FVI, /* vi command editing */
FVIRAW, /* always read in raw mode (ignored) */