On Sat, Feb 22, 2020 at 10:21:56PM +0000, Stuart Henderson wrote:
> On 2020/02/22 17:24, Stefan Sperling wrote:
> > On Sat, Feb 22, 2020 at 02:56:54PM +0100, Mark Kettenis wrote:
> > > IMHO it is a bad idea to make the output of ifconfig locale-dependent.
> > 
> > Fine. I'll drop this diff.
> > 
> 
> Pity, it is quite useful if you are somewhere that uses UTF-8 SSIDs,
> otherwise it's a complete pain to decode to figure out if you're
> connecting to the correct network.

If ifconfig cannot be locale-dependent then there is no way to do this
safely. This requirement alone means that we must stay with the status
quo and this can never be improved in base. We are not going to add
another tool in base alongside ifconfig just for this.
Adding a new tool via a port might have more luck, but that would be
colorls all over again unless the port also provides other features
we're missing (such as safe WPA enterprise or wifi network selection
via desktop menus).

I don't understand why the installer would matter. Nothing would actually
change for the installer. We're sure as hell not going to add UTF-8 there.
The installer's ifconfig would just deal in hex all the way as it does today.
During install finding the right network could be tricky, but that's not a
new problem. Upgrades would just work once hostname.if contains the right hex.

Reply via email to