Module Name: src Committed By: abs Date: Sun Feb 12 20:14:32 UTC 2023
Modified Files: src/usr.sbin/sysinst: menus.mi Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/menus.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sysinst/menus.mi diff -u src/usr.sbin/sysinst/menus.mi:1.27 src/usr.sbin/sysinst/menus.mi:1.28 --- src/usr.sbin/sysinst/menus.mi:1.27 Fri Jul 22 16:51:14 2022 +++ src/usr.sbin/sysinst/menus.mi Sun Feb 12 20:14:32 2023 @@ -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 @@ menu utility, title MSG_NetBSD_VERSION_U 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,