[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About frame title case [Windows]
From: |
Eli Zaretskii |
Subject: |
Re: About frame title case [Windows] |
Date: |
Mon, 08 May 2017 20:00:47 +0300 |
> From: Angelo Graziosi <address@hidden>
> Date: Sun, 7 May 2017 23:28:22 +0200
> Cc: address@hidden
>
> Il 07/05/2017 18:49, Eli Zaretskii ha scritto:
> > Emacs doesn't up-case the system-name, it uses the exact string we get
> > from the system API we use to get the machine name (GetComputerName).
>
> Looking at src/w32.c it seems you are implementing (sys_)gethostname()
> which, if I understood, is also used on other *nix systems.
>
> gethostname() seems the right routine because on MSYS2 shell I get:
>
> $ env | grep -i foobar
> HOSTNAME=FooBar
> COMPUTERNAME=FOOBAR
>
> or, if you prefer,
>
> $ echo $COMPUTERNAME $HOSTNAME
> FOOBAR FooBar
Does it help to set PRELOAD_WINSOCK=1 in the environment before
starting Emacs?