American Citizen on Sun, 22 Sep 2024 00:36:12 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
my attempt to find operating system
|
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: my attempt to find operating system
- From: American Citizen <website.reader3@gmail.com>
- Date: Sat, 21 Sep 2024 15:36:03 -0700
- Delivery-date: Sun, 22 Sep 2024 00:36:12 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726958167; x=1727562967; darn=pari.math.u-bordeaux.fr; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=pnPQH/QgyY7s/YL6FImny39Jf+Sfo5WSJ1Al9HyqNZ8=; b=WQ89Sc4bTmiGExlDHWTfGIGXv4wQtwgCxEaOSxd9UfF0UJ6LeGs76thaDNCX06NpwI m+J1NCuPNP1eJLSeMzIKMXlFzClw+9QpjTibEKSDhnvjlxaqrDYvt+AvMuQDVjF/cDfx 3Ik4Ydi1B4504jzMNOxSzaSMJ4dZR/nY0bwtPc5FVgwveaoF4Rz+jyaigKvZNsXR/IDu qwHq3RrWbrPcZByRNdvXkcw1YILK1XREsq1nsvmGE0JJr+MkQCyPono6ljMdazaU21dp 2H+eA3phQxl1Yu4TgrqSEXzosHhKAgixiCBv3iFUxAYZ64w8gXzzntIYO6W0y7X4497F o66w==
- In-reply-to: <f8518e75-2446-44e1-b4e3-c6db588d859a@gmail.com>
- References: <f8518e75-2446-44e1-b4e3-c6db588d859a@gmail.com>
- User-agent: Mozilla Thunderbird
This script seems to work for me
? \l
log = 1 (on)
[logfile is "pari.log"]
? \v
GP/PARI CALCULATOR Version 2.16.2 (development
git-cd66bbd045)
amd64 running linux (x86-64/GMP-6.3.0 kernel)
64-bit version
compiled: Apr 25 2024, gcc version 13.2.1 20240206 [revision
67ac78caf31f7cb3202177e6428a46d829b70f23] (SUSE Linux)
threading engine: single
(readline v7.0 enabled, extended help enabled)
? k=readstr("pari.log");
? k[4]
%2 = " amd64 running linux (x86-64/GMP-6.3.0 kernel)
64-bit version"
You could parse this line for the operating system.
and then turn off logging again
? \l
log = 0 (off)
[logfile was "pari.log"]