From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 30505@debbugs.gnu.org
Subject: bug#30505: marionette/virtio-console issues lead to test failures
Date: Mon, 19 Feb 2018 21:35:05 +0100 [thread overview]
Message-ID: <87d110g1l2.fsf@gnu.org> (raw)
In-Reply-To: <20180219180849.3a509e80@scratchpost.org> (Danny Milosavljevic's message of "Mon, 19 Feb 2018 18:08:49 +0100")
Hello,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
>>I hadn’t noticed this is now part of ‘%base-services’. It would be nice
> if it were enabled on ARM only. Thoughts?
>
> Why? It's not ARM-specific and there are people using headless x86 servers
> posting on the mailing list :)
>
> It's only enabled when you specify a serial port as console on the Linux
> command line - that's not going to happen accidentially.
>
> And once Linux uses the console for its messages it's nice to also have a
> login process running in the end - otherwise it's kinda annoying having
> only a read-only line when you sit right in front of the machine.
Oh OK, got it, that makes sense. :-)
> On Mon, 19 Feb 2018 16:54:44 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Commenting out (display "\x1b%G" (fdes->outport fd)) in (gnu services
>> base) appear to solve the problem. It seems that it used to affect just
>> the terminal behind FD and now somehow broadcasts to all existing
>> terminals?
>
> It was a bad idea to do the "\x1b%G" in the first place.
Because it’s redundant with IUTF8?
> There's a Linux kernel command-line parameter "vt.default_utf8" which
> is set to true anyway. In that case the iflag IUTF8 is set automatically
> by Linux drivers/tty/vt/vt.c and the driver also does the same as "\x1b%G"
> does in that case.
>
> So what do these things in (gnu services base) accomplish? Sounds like
> they change nothing.
>
> Maybe that was only done in later Linux kernels? I checked 3.4.103, it did that
> already.
This ‘unicode-start’ procedure is essentially a port of the
‘unicode_start’ script from ‘kbd’. I suppose the justification is to
make sure we’re using UTF-8 input regardless of what the kernel defaults
or command-line options are.
Thoughts?
Ludo’.
next prev parent reply other threads:[~2018-02-19 20:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-18 0:01 bug#30505: marionette/virtio-console issues lead to test failures Ludovic Courtès
2018-02-18 10:48 ` Danny Milosavljevic
2018-02-19 15:54 ` Ludovic Courtès
2018-02-19 17:08 ` Danny Milosavljevic
2018-02-19 20:35 ` Ludovic Courtès [this message]
2018-02-19 22:35 ` Danny Milosavljevic
2018-02-21 22:21 ` bug#30505: Starting console/terminal Unicode support Ludovic Courtès
2018-02-21 23:01 ` Danny Milosavljevic
2018-02-23 21:41 ` Ludovic Courtès
2018-02-25 12:31 ` Danny Milosavljevic
2018-02-25 12:57 ` Danny Milosavljevic
2018-02-26 17:09 ` Ludovic Courtès
2018-02-26 22:23 ` Danny Milosavljevic
2018-02-27 9:25 ` Ludovic Courtès
2018-03-15 10:41 ` Ludovic Courtès
2018-02-19 21:53 ` bug#30505: marionette/virtio-console issues lead to test failures Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d110g1l2.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30505@debbugs.gnu.org \
--cc=dannym@scratchpost.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.