Updated init manual page to include GRUB in boot loader comment

as LILO is rarely used outside of the Slackware family these days.

Switched stty flags to use ECHOE instead of ECHOPRT. This should
give smoother, more natural backspac-erase behaviour on emergency
consoles. (Created in init -b mode.)
This commit is contained in:
Jesse Smith 2018-11-05 23:15:11 -04:00
parent 2fd897ff3a
commit 848ee05104
3 changed files with 8 additions and 2 deletions

View File

@ -34,6 +34,12 @@ sysvinit (2.92) unreleased; urgency=low
message appear less often. The -q flag causes messages to only appear at the message appear less often. The -q flag causes messages to only appear at the
10 minute, 5 minute and x-hour intervals. 10 minute, 5 minute and x-hour intervals.
The -Q flag maintains complete silence up until the final "now" warning. The -Q flag maintains complete silence up until the final "now" warning.
* Mention GRUB as a potential boot loader in init page since LILO is
rarely used anymore, outside of Slackware.
* Swapped out ECHOPRT for ECHOE in stty settings when init brings up
emergency console. Should make backspace-erasing characters work
more naturally.
Closes Debian bug #402847.
sysvinit (2.91) world; urgency=low sysvinit (2.91) world; urgency=low

View File

@ -218,7 +218,7 @@ The system console. This is really inherited from the kernel; however
if it is not set \fBinit\fP will set it to \fB/dev/console\fP by default. if it is not set \fBinit\fP will set it to \fB/dev/console\fP by default.
.SH BOOTFLAGS .SH BOOTFLAGS
It is possible to pass a number of flags to \fBinit\fP from the It is possible to pass a number of flags to \fBinit\fP from the
boot monitor (eg. LILO). \fBInit\fP accepts the following flags: boot monitor (eg. LILO or GRUB). \fBInit\fP accepts the following flags:
.TP 0.5i .TP 0.5i
.B -s, S, single .B -s, S, single
Single user mode boot. In this mode \fI/etc/inittab\fP is Single user mode boot. In this mode \fI/etc/inittab\fP is

View File

@ -832,7 +832,7 @@ void console_stty(void)
#endif /* IUTF8 */ #endif /* IUTF8 */
; ;
tty.c_oflag = OPOST|ONLCR; tty.c_oflag = OPOST|ONLCR;
tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOPRT|ECHOKE; tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOE|ECHOKE;
#if defined(SANE_TIO) && (SANE_TIO == 1) #if defined(SANE_TIO) && (SANE_TIO == 1)
/* /*