Module Name: src Committed By: martin Date: Fri Feb 24 13:48:28 UTC 2023
Modified Files: src/distrib/amd64/cdroms [netbsd-10]: install.sh src/distrib/amd64/installimage [netbsd-10]: install.sh src/distrib/amd64/installimage-bios [netbsd-10]: install.sh src/distrib/evbarm/installimage [netbsd-10]: install.sh src/distrib/i386/cdroms [netbsd-10]: install.sh src/distrib/i386/installimage [netbsd-10]: install.sh src/distrib/sparc64/cdroms/installcd [netbsd-10]: install.sh src/distrib/vax/cdroms/installcd [netbsd-10]: install.sh src/usr.sbin/sysinst [netbsd-10]: menus.mi Log Message: Pull up following revision(s) (requested by abs in ticket #105): distrib/amd64/installimage-bios/install.sh: revision 1.3 distrib/i386/cdroms/install.sh: revision 1.5 distrib/vax/cdroms/installcd/install.sh: revision 1.3 distrib/amd64/cdroms/install.sh: revision 1.5 distrib/sparc64/cdroms/installcd/install.sh: revision 1.5 distrib/i386/installimage/install.sh: revision 1.3 distrib/i386/installimage/install.sh: revision 1.4 distrib/evbarm/installimage/install.sh: revision 1.2 distrib/amd64/installimage/install.sh: revision 1.4 usr.sbin/sysinst/menus.mi: revision 1.28 Enable basic command line editing in amd64 installer shells When a user selects "exist installer" or hits ^Z in sysinst, the calling install.sh runs a shell, plus shows a message indicating they can type "exit" to return to the installer. Add -E to the arguments to this shell, to enable command line editing, (primarily for arrow keys, but basic emacs sequences will also work) At this point this is only on amd64, as this is the port which is least likely to be installing on particularly esoteric terminal hardware, and is also likely to have the highest proportion of less experienced users Enable basic command line editing in i386 installer shells (Following the pattern in amd64) When a user selects "exit installer" or hits ^Z in sysinst, the calling install.sh runs a shell, plus shows a message indicating they can type "exit" to return to the installer. Add -E to the arguments to this shell, to enable command line editing, (primarily for arrow keys, but basic emacs sequences will also work) Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst Matches i386/cdroms/install.sh and amd64/installimage/install.sh resultant install image verified to still run sysinst correctly Enable basic command line editing in evbarm, sparc64 and vax installer shells (Following the pattern in amd64) When a user selects "exit installer" or hits ^Z in sysinst, the calling install.sh runs a shell, plus shows a message indicating they can type "exit" to return to the installer. Add -E to the arguments to this shell, to enable command line editing, (primarily for arrow keys, but basic emacs sequences will also work) With the change of all the install.sh scripts in amd64, evbarm, i386, sparc64 and vax are identical apart from NetBSD RCD tags and the sysctl -nx kern.consdev check (some of the latter are definitely either wrong, or have an incorrect comment attached. Will return to later) 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.4 -r1.4.26.1 src/distrib/amd64/cdroms/install.sh cvs rdiff -u -r1.3 -r1.3.2.1 src/distrib/amd64/installimage/install.sh cvs rdiff -u -r1.2 -r1.2.2.1 src/distrib/amd64/installimage-bios/install.sh cvs rdiff -u -r1.1 -r1.1.6.1 src/distrib/evbarm/installimage/install.sh cvs rdiff -u -r1.4 -r1.4.26.1 src/distrib/i386/cdroms/install.sh cvs rdiff -u -r1.2 -r1.2.44.1 src/distrib/i386/installimage/install.sh cvs rdiff -u -r1.4 -r1.4.26.1 src/distrib/sparc64/cdroms/installcd/install.sh cvs rdiff -u -r1.2 -r1.2.26.1 src/distrib/vax/cdroms/installcd/install.sh cvs rdiff -u -r1.27 -r1.27.2.1 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.