zsh-workers
 help / color / mirror / code / Atom feed
From: Максим <herobrine135111@gmail.com>
To: zsh-workers@zsh.org
Subject: $watch, log and Cyrillic usernames
Date: Fri, 6 Oct 2023 00:29:15 +0300	[thread overview]
Message-ID: <CAHJ=x4aS18Rez8yw=KBNqyNrdxAavshA36muRE=M3QzctD90Rw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

Hello again. I found another bug with cyrillic usernames in zsh (again on
Cygwin, but can be reproduced on Linux)

Tested on latest master:

1. Create user "Студент" (for example, via /etc/passwd editing)
2. Create /var/run/utmp file if it is missing (may be necessary on Cygwin)
3. Login into "Студент" (via login or ssh)
4. % zsh-5.9.0.1-dev -f

% whoami
    Студент

% watch=(all); log # (everything is ok)
    root has logged on /proc/10045/fd/2 from .
    Студент has logged on pts/29 from 127.0.0.1.

% watch=(notme); log # ("Студент" record is not filtered)
    root has logged on /proc/10045/fd/2 from .
    Студент has logged on pts/29 from 127.0.0.1.

% watch=(Студент); log # ("Студент" record is missing)

Sent via Gmail

[-- Attachment #2: Type: text/html, Size: 1623 bytes --]

             reply	other threads:[~2023-10-05 21:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 21:29 Максим [this message]
2023-10-05 21:42 ` Bart Schaefer
2023-10-07  2:05 ` Oliver Kiddle
2023-10-07 16:49   ` Максим
2023-10-08  0:24     ` Oliver Kiddle
2023-10-08  6:20       ` Максим
2023-10-08 21:47   ` metafy() (was Re: $watch, log and Cyrillic usernames) Oliver Kiddle
2023-10-09  2:01     ` Bart Schaefer
2023-10-10 21:46       ` Oliver Kiddle

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='CAHJ=x4aS18Rez8yw=KBNqyNrdxAavshA36muRE=M3QzctD90Rw@mail.gmail.com' \
    --to=herobrine135111@gmail.com \
    --cc=zsh-workers@zsh.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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).