[Users] X-Mailer information

Ralf Mardorf info.mardorf at rocketmail.com
Sun Nov 2 14:08:20 CET 2014

On Sun, 2 Nov 2014 13:49:53 +0100
Michael Rasmussen <mir at miras.org> wrote:

> On Sun, 2 Nov 2014 13:30:06 +0100
> Ralf Mardorf <info.mardorf at rocketmail.com> wrote:
> > From were does Claws get the information about the used operating
> > system for the X-Mailer line?
> > 
> > "unknown-linux-gnu" doesn't look that nice.
> > 
> I would guess uname -i or uname -p

[rocketmouse at archlinux ~]$ uname --help
  -p, --processor          print the processor type or "unknown"
  -i, --hardware-platform  print the hardware platform or "unknown"
  -o, --operating-system   print the operating system
[rocketmouse at archlinux ~]$ uname -opi
unknown unknown GNU/Linux
[rocketmouse at archlinux ~]$ cat /etc/issue
Arch Linux \r (\l)

Unlikely, likely it's -o since the guess isn't "FreeBSD", but
"unknown-linux-gnu". The output of -o is correct, "GNU/Linux", the
distro and as the circumstances require the release too, is specified
in /etc/issue. Since Arch Linux is a real rolling release, no release
is mentioned.

Don't get me wrong, it's not a drama, that the X-Mailer information
doesn't look nice :D.

More information about the Users mailing list