Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Add "-i -E" to /bin/sh called from sysinst
details: https://anonhg.NetBSD.org/src/rev/d9ae5813eaf2
branches: trunk
changeset: 373491:d9ae5813eaf2
user: abs <abs%NetBSD.org@localhost>
date: Sun Feb 12 20:14:32 2023 +0000
description:
Add "-i -E" to /bin/sh called from sysinst
This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)
In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored
diffstat:
usr.sbin/sysinst/menus.mi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b9154864885c -r d9ae5813eaf2 usr.sbin/sysinst/menus.mi
--- a/usr.sbin/sysinst/menus.mi Sun Feb 12 19:27:20 2023 +0000
+++ b/usr.sbin/sysinst/menus.mi Sun Feb 12 20:14:32 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.mi,v 1.27 2022/07/22 16:51:14 christos Exp $ */
+/* $NetBSD: menus.mi,v 1.28 2023/02/12 20:14:32 abs Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -270,7 +270,7 @@
exitstring MSG_exit_menu_generic;
display action { toplevel(); };
option MSG_Run_bin_sh,
- action (endwin) { system("/bin/sh"); };
+ action (endwin) { system("/bin/sh -i -E"); };
option MSG_Set_timezone,
action { set_timezone(); };
option MSG_Configure_network,
Home |
Main Index |
Thread Index |
Old Index