Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Wols Lists
On 18/01/2022 00:20, Andrew Pitonyak wrote: On Monday, January 17, 2022 17:17 EST, Wol wrote: On 14/01/2022 22:24, Wols Lists wrote: > On 14/01/2022 21:26, Chris Sherlock wrote: >> I will work on a patch for Linux that parses /etc/os-release with a >> fallback to just the kernel version if

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Andrew Pitonyak
On Monday, January 17, 2022 17:17 EST, Wol wrote:  On 14/01/2022 22:24, Wols Lists wrote: > On 14/01/2022 21:26, Chris Sherlock wrote: >> I will work on a patch for Linux that parses /etc/os-release with a >> fallback to just the kernel version if that is not available >> (virtually all desktop

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Wol
On 14/01/2022 22:24, Wols Lists wrote: On 14/01/2022 21:26, Chris Sherlock wrote: I will work on a patch for Linux that parses /etc/os-release with a fallback to just the kernel version if that is not available (virtually all desktop systems use systemd now). Are you sure? Okay, it's mostly

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Eike Rathke
Hi, On Friday, 2022-01-14 02:38:34 +1100, Chris Sherlock wrote: > On 12 Jan 2022, at 2:45 pm, Kohei Yoshida wrote: > > Excel these days returns correct system information, instead of just always > > returning "Windows (32-bit) NT 5.01". It was my understanding that we > > couldn't change the

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Eike Rathke
Hi, On Saturday, 2022-01-15 08:26:22 +1100, Chris Sherlock wrote: > > Though, maybe we could add the word "Linux" somewhere just in case someone > > may use this to try to detect Linux platform independent of distros? > > That’s very reasonable. > > My only issue now, however, is how to

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-17 Thread Eike Rathke
Hi, On Friday, 2022-01-14 21:13:00 +, Wols Lists wrote: > anthony@thewolery /usr/qmsys/terminfo/p $ uname -osrv > Linux 5.10.76-gentoo-r1 #1 SMP Sun Nov 14 17:30:04 GMT 2021 GNU/Linux The -v (kernel version) IMHO is unnecessary. Eike -- GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-14 Thread Wols Lists
On 14/01/2022 21:26, Chris Sherlock wrote: I will work on a patch for Linux that parses /etc/os-release with a fallback to just the kernel version if that is not available (virtually all desktop systems use systemd now). Are you sure? Okay, it's mostly the mad hold-outs, but Devuan, funtoo,

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-14 Thread Chris Sherlock
Hi Kohie, >> I would prefer the string to be in the format: >> Fedora 17 (Beefy Miracle) Kernel: 5.xxx (whatever it might be) >> This is close to what is returned for the Mac and Windows versions. > > To me that's a very reasonable format of choice. > > Though, maybe we could add the word

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-14 Thread Wols Lists
On 14/01/2022 16:01, Kohei Yoshida wrote: Hi Chris, On 13.01.2022 20:14, Chris Sherlock wrote: I would prefer the string to be in the format: Fedora 17 (Beefy Miracle) Kernel: 5.xxx (whatever it might be) This is close to what is returned for the Mac and Windows versions. To me that's a

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-14 Thread Kohei Yoshida
Hi Chris, On 13.01.2022 20:14, Chris Sherlock wrote: I would prefer the string to be in the format: Fedora 17 (Beefy Miracle) Kernel: 5.xxx (whatever it might be) This is close to what is returned for the Mac and Windows versions. To me that's a very reasonable format of choice. Though,

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-13 Thread Chris Sherlock
> On 14 Jan 2022, at 10:24 am, Leyan Ouyang wrote: > >  > > >> On 1/13/22 17:27, Wols Lists wrote: >> On 13/01/2022 15:57, Kohei Yoshida wrote: >>> On 13.01.2022 10:38, Chris Sherlock wrote: >>> That’s my take also. But apparently, it isn’t important on Linux so we shouldn’t

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-13 Thread Leyan Ouyang
On 1/13/22 17:27, Wols Lists wrote: On 13/01/2022 15:57, Kohei Yoshida wrote: On 13.01.2022 10:38, Chris Sherlock wrote: That’s my take also. But apparently, it isn’t important on Linux so we shouldn’t change it. Because no-one uses Excel on Linux, therefore they would never use this

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-13 Thread Wols Lists
On 13/01/2022 15:57, Kohei Yoshida wrote: On 13.01.2022 10:38, Chris Sherlock wrote: That’s my take also. But apparently, it isn’t important on Linux so we shouldn’t change it. Because no-one uses Excel on Linux, therefore they would never use this function if they use Linux. I wasn't there

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-13 Thread Kohei Yoshida
On 13.01.2022 10:38, Chris Sherlock wrote: That’s my take also. But apparently, it isn’t important on Linux so we shouldn’t change it. Because no-one uses Excel on Linux, therefore they would never use this function if they use Linux. I wasn't there obviously so I don't know the nuance of the

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-13 Thread Chris Sherlock
On 12 Jan 2022, at 2:45 pm, Kohei Yoshida wrote: > > On 11.01.2022 17:32, Jean-Baptiste Faure wrote: >> Le 11/01/2022 à 12:16, Chris Sherlock a écrit : >>> Hi all, >>> The output of =INFO(“OSVERSION”) currently gives the wrong version for >>> MacOS (it says it is Windows). >> From the help, it

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-11 Thread Kohei Yoshida
On 11.01.2022 17:32, Jean-Baptiste Faure wrote: Le 11/01/2022 à 12:16, Chris Sherlock a écrit : Hi all, The output of =INFO(“OSVERSION”) currently gives the wrong version for MacOS (it says it is Windows). From the help, it is not a bug: =INFO("osversion") aswers always "Windows (32-bit) NT

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-11 Thread Jean-Baptiste Faure
Le 11/01/2022 à 12:16, Chris Sherlock a écrit : Hi all, The output of =INFO(“OSVERSION”) currently gives the wrong version for MacOS (it says it is Windows). From the help, it is not a bug: =INFO("osversion") aswers always "Windows (32-bit) NT 5.01", for compatibility reasons

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-11 Thread Chris Sherlock
> On 12 Jan 2022, at 1:52 am, Thorsten Behrens wrote: > > Hi Chris, > > Chris Sherlock wrote: >> 1. What should the Linux version of this function provide? >> > My 2 cents - if it ain't broken, don't fix it. People might > (unreasonably) rely on what's returned there as of today, so why

Re: tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-11 Thread Thorsten Behrens
Hi Chris, Chris Sherlock wrote: > 1. What should the Linux version of this function provide? > My 2 cents - if it ain't broken, don't fix it. People might (unreasonably) rely on what's returned there as of today, so why touch it? Cheers, -- Thorsten signature.asc Description: PGP signature

tdf#140286 - CALC formula =INFO("OSVERSION") gives wrong output

2022-01-11 Thread Chris Sherlock
Hi all, The output of =INFO(“OSVERSION”) currently gives the wrong version for MacOS (it says it is Windows). I have a proposed patch for this in https://gerrit.libreoffice.org/c/core/+/127921 There are two issues: 1. What should the Linux