From nobody Mon Apr 11 18:16:24 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1BEEC11CF5D8; Mon, 11 Apr 2022 18:16:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KccVx0Hq5z4ycD; Mon, 11 Apr 2022 18:16:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649700985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SNjUFYprGvJr61lCMlFANtA1/NqcYmfz+TxGreQyUlM=; b=cFb/ff/KlN7fLSXzml4P9qzz05Zbn7paQ3h2FnyBB+E5oMncFxv+Ptp8yXwzSr/lix9boQ LoGNj5iHybWmjTZmr+sMXkIjCuvnS1oivy6Jy2HiArwAcqSjFx6Ip1htu/QSscN2jedfg4 l76OmLMYKD0HrFqPA7MD0P+gEWkHjObWvp5tOEZWM5JjpEEvTSc3l8zTUfziwzlOSiIw/v g0ju3ogxLAVVj4O75ajS9MYXDqifl9kGSjZkyNj26T3JgkvC966X2XKwPIYgfjx4fP+cKg NkNYJ007+prKJteylEcFVNYTGV3IMl698yT7p4baM1QIoArxFrYcdNwiuth9SQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DEBB927B6A; Mon, 11 Apr 2022 18:16:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23BIGOTu094153; Mon, 11 Apr 2022 18:16:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23BIGOT3094152; Mon, 11 Apr 2022 18:16:24 GMT (envelope-from git) Date: Mon, 11 Apr 2022 18:16:24 GMT Message-Id: <202204111816.23BIGOT3094152@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jens Schweikhardt Subject: git: 67f5810e07ca - main - Correct typos and more precise wording. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: schweikh X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 67f5810e07ca131503824a92e6cdeb7e1fdb93e8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649700985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SNjUFYprGvJr61lCMlFANtA1/NqcYmfz+TxGreQyUlM=; b=BmxvAM6P8LKs6iifK5MfUkSXh5PCgl6L8iTIlUw55hhvpqHBeWSrTEWZq9aRzECSuhMsLH l/FqoREL09IFyfrF5O6Dbj1Kv+MN0OKQHoa10uj5stq/rVAqKRmxoyi3KjC86RCcZkr0E6 P+Jdq6YSAUwZgTLpDPdHQhPFI3pIADqN3/lCnQ3p1Tc7DOnElrwYei7rF34w3P1dRFg/ye 5rB5uzhPmuQooZs6BBHx44zhhiNHnvyULhy8ge0+aE00/2p2NaRS+3gKopwJSJhVHu147Q u/s4ITrMVHiV2wiR7JSg/SR59IT/0Qw3x4F5TMQpm4Mh3w9bMsWcL2MMfiWGUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649700985; a=rsa-sha256; cv=none; b=rM4E+9Tgt6UDuIuBWE+XWWfbvYhjV95SW3sCh6Ysip8xBOO4CV30XKElqTwdJFssOmn4Y6 4rzam3QlELzDSGJNnHCepbeFt5kKHZkSqxe6QHFZFi8Zyh8CSNRHAhGZX0tCJJpz/vzi0J AHDfM25PGtYSb4ZeWYcaTu9GCjS28La8i8S0EcVLtVDZ/iTzrL4xUHLSGVrURpt4U63BcJ P5YJdlmxadJ61P7Qewz2YdYdTYcZp+MLYX/oMRrLD3YGU/VHMMCdKz7l17GZvdniky/S+I B7RUOog7elAchkgOw33BXqgm2SY+X3awfN2LwItCUEDtwmaBupRbFG8OogfYog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by schweikh: URL: https://cgit.FreeBSD.org/src/commit/?id=67f5810e07ca131503824a92e6cdeb7e1fdb93e8 commit 67f5810e07ca131503824a92e6cdeb7e1fdb93e8 Author: Jens Schweikhardt AuthorDate: 2022-04-11 18:15:12 +0000 Commit: Jens Schweikhardt CommitDate: 2022-04-11 18:16:18 +0000 Correct typos and more precise wording. --- stand/man/loader_lua.8 | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/stand/man/loader_lua.8 b/stand/man/loader_lua.8 index 32085748bf1c..3bc7985ea00a 100644 --- a/stand/man/loader_lua.8 +++ b/stand/man/loader_lua.8 @@ -53,16 +53,16 @@ The smaller one is a set of commands designed for direct use by the casual user, called "builtin commands" for historical reasons. The main drive behind these commands is user-friendliness. -The bigger component is the Lua interpter. +The bigger component is the Lua interpreter. .Pp During initialization, .Nm -will probe for a console and set the +probes for a console and set the .Va console variable, or set it to serial console .Pq Dq Li comconsole if the previous boot stage used that. -If multiple consoles are selected, they will be listed separated by spaces. +If multiple consoles are selected, they are listed separated by spaces. Then, devices are probed, .Va currdev and @@ -85,26 +85,25 @@ is not set to .Dq Li NO (not case sensitive), then an .Ic autoboot -will be tried. +is attempted. If the system gets past this point, .Va prompt -will be set and +is set and .Nm -will engage interactive mode. -Please note that historically even when +enters interactive mode. +Please note that, historically, even when .Va autoboot_delay is set to -.Dq Li 0 -user will be able to interrupt autoboot process by pressing some key -on the console while kernel and modules are being loaded. -In some -cases such behaviour may be undesirable, to prevent it set +.Dq Li 0 , +the user can interrupt the autoboot process by pressing a key +on the console while the kernel and modules are being loaded. +To prevent this set .Va autoboot_delay to -.Dq Li -1 , -in this case +.Dq Li -1 . +In this case .Nm -will engage interactive mode only if +enters interactive mode only if .Ic autoboot has failed. .Sh BUILTIN COMMANDS @@ -115,10 +114,10 @@ Presently, the only way to call them from a script is by using .Pa evaluate on a string. -If an error condition occurs, an exception will be generated, +If an error condition occurs, an exception is generated, which can be intercepted using Lua exception handling. -If not intercepted, an error message will be displayed and -the interpreter's state will be reset, emptying the stack and restoring +If not intercepted, an error message is displayed and +the interpreter's state is reset, emptying the stack and restoring interpreting mode. .Pp The commands are described in the @@ -181,7 +180,7 @@ If MD available, a file system can be embedded into the .Nm with .Pa /sys/tools/embed_mfs.sh . -Then, MD will be probed and be set to +Then, MD is probed and be set to .Va currdev during initialization. .Pp