From: Eric S. Raymond Date: Fri, 11 Aug 2023 15:33:03 +0000 (-0400) Subject: Include fulll fqdn in log header. X-Git-Tag: 2.8~69 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3daeb5168b9a3c039b186ba8c35e91cf55a01142;p=super-star-trek.git Include fulll fqdn in log header. --- diff --git a/sst.py b/sst.py index 5200f24..16d39e9 100755 --- a/sst.py +++ b/sst.py @@ -6772,7 +6772,7 @@ if __name__ == '__main__': logfp.write("# options %s\n" % " ".join(arguments)) logfp.write("# SST2K version %s\n" % version) logfp.write("# recorded by %s@%s on %s\n" % \ - (getpass.getuser(),socket.gethostname(),time.ctime())) + (getpass.getuser(),socket.getfqdn(),time.ctime())) rnd.seed(seed) scanner = sstscanner() for arg in arguments: diff --git a/test/test01.chk b/test/test01.chk index 37c0d59..4eaa3c7 100644 --- a/test/test01.chk +++ b/test/test01.chk @@ -4,7 +4,7 @@ Would you like a regular, tournament, or saved game? # SST2K version 2.4 # Test bringing game up, viewing galaxy, quitting -# recorded by esr@snark on Wed Apr 24 01:46:01 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 01:46:01 2019 #seed(1556084761) r Would you like a Short, Medium, or Long game? s diff --git a/test/test01.log b/test/test01.log index 4f18bb5..67a2fb0 100644 --- a/test/test01.log +++ b/test/test01.log @@ -2,7 +2,7 @@ # options # SST2K version 2.4 # Test bringing game up, viewing galaxy, quitting -# recorded by esr@snark on Wed Apr 24 01:46:01 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 01:46:01 2019 #seed(1556084761) r s diff --git a/test/test02.chk b/test/test02.chk index 972cb2e..efe5061 100644 --- a/test/test02.chk +++ b/test/test02.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test critical hit on sensors -# recorded by esr@snark on Wed Apr 24 06:29:47 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test02.log b/test/test02.log index b5ace15..e753ea4 100644 --- a/test/test02.log +++ b/test/test02.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test critical hit on sensors -# recorded by esr@snark on Wed Apr 24 06:29:47 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019 chart m a 3 6 m a 7 8 10 20 diff --git a/test/test03.chk b/test/test03.chk index b8bd98e..3941efb 100644 --- a/test/test03.chk +++ b/test/test03.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test Tholian boxing us in followed by death by tractor beam -# recorded by esr@snark on Wed Apr 24 09:48:31 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 09:48:31 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test03.log b/test/test03.log index 38275b9..8667f28 100644 --- a/test/test03.log +++ b/test/test03.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test Tholian boxing us in followed by death by tractor beam -# recorded by esr@snark on Wed Apr 24 09:48:31 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 09:48:31 2019 chart sh down m a 3 1 1 10 diff --git a/test/test04.chk b/test/test04.chk index 3599157..764efca 100644 --- a/test/test04.chk +++ b/test/test04.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test starbase destruction, planet destruction, docking after destruction. -# recorded by esr@snark on Fri Aug 11 08:59:1 3 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 08:59:1 3 2023 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test04.chk-old b/test/test04.chk-old index c14ba11..8026c64 100644 --- a/test/test04.chk-old +++ b/test/test04.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test ill-formed torpedo command -# recorded by esr@snark on Wed Apr 24 11:16:25 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:16:25 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test04.log b/test/test04.log index b760cfa..34cfcee 100644 --- a/test/test04.log +++ b/test/test04.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test starbase destruction, planet destruction, docking after destruction. -# recorded by esr@snark on Fri Aug 11 08:59:1 3 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 08:59:1 3 2023 chart m a 3 7 1 2 sh up diff --git a/test/test04.log-old b/test/test04.log-old index 69c2fdb..7c27b54 100644 --- a/test/test04.log-old +++ b/test/test04.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test ill-formed torpedo command -# recorded by esr@snark on Wed Apr 24 11:16:25 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:16:25 2019 chart m a 3 7 1 2 sh up diff --git a/test/test05.chk-old b/test/test05.chk-old index 28344d0..223e2ef 100644 --- a/test/test05.chk-old +++ b/test/test05.chk-old @@ -17,7 +17,7 @@ The Enterprise is currently in Quadrant 2 - 6 Sector 7 - 7 Good Luck! YOU'LL NEED IT. COMMAND> # Test deep-space probes and battle death -# recorded by esr@snark on Wed Apr 24 11:34:04 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test05.log-old b/test/test05.log-old index de3801d..078b930 100644 --- a/test/test05.log-old +++ b/test/test05.log-old @@ -1,7 +1,7 @@ # seed 1556120044 # options regular short good fancy # Test deep-space probes and battle death -# recorded by esr@snark on Wed Apr 24 11:34:04 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019 chart m a 1 10 s hup diff --git a/test/test06.chk b/test/test06.chk index cc00a2f..a3180a9 100644 --- a/test/test06.chk +++ b/test/test06.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test shuttle landing with no crystals -# recorded by esr@snark on Wed Apr 24 12:02:47 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test06.log b/test/test06.log index 4df8e8d..1575901 100644 --- a/test/test06.log +++ b/test/test06.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test shuttle landing with no crystals -# recorded by esr@snark on Wed Apr 24 12:02:47 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019 chart p a 148 diff --git a/test/test07.chk-old b/test/test07.chk-old index 0206de6..ec567cb 100644 --- a/test/test07.chk-old +++ b/test/test07.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test supercommander destruction -# recorded by esr@snark on Wed Apr 24 12:34:44 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:34:44 2019 COMMAND> m a 7 10 diff --git a/test/test07.log-old b/test/test07.log-old index 31b80f2..ddec29f 100644 --- a/test/test07.log-old +++ b/test/test07.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test supercommander destruction -# recorded by esr@snark on Wed Apr 24 12:34:44 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:34:44 2019 m a 7 10 s hup diff --git a/test/test08.chk-old b/test/test08.chk-old index 8b18174..a7b5ce4 100644 --- a/test/test08.chk-old +++ b/test/test08.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.4 # Test winning end of game -# recorded by esr@snark on Wed Apr 24 12:57:36 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:57:36 2019 chart STAR CHART FOR THE KNOWN GALAXY 1 2 3 4 5 6 7 8 diff --git a/test/test08.log-old b/test/test08.log-old index cc36e81..bc2eb5d 100644 --- a/test/test08.log-old +++ b/test/test08.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.4 # Test winning end of game -# recorded by esr@snark on Wed Apr 24 12:57:36 2019 +# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:57:36 2019 chart m a 7 8 m a 7 7 diff --git a/test/test09.chk-old b/test/test09.chk-old index 099fb00..8dc7a21 100644 --- a/test/test09.chk-old +++ b/test/test09.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.5 # Test that escaping a quadrant with a Tholian in it removes him. -# recorded by esr@snark on Thu Apr 25 09:27:17 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 09:27:17 2019 COMMAND> m a 8 10 diff --git a/test/test09.log-old b/test/test09.log-old index 67a0833..a53edbd 100644 --- a/test/test09.log-old +++ b/test/test09.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.5 # Test that escaping a quadrant with a Tholian in it removes him. -# recorded by esr@snark on Thu Apr 25 09:27:17 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 09:27:17 2019 m a 8 10 diff --git a/test/test10.chk-old b/test/test10.chk-old index 392050b..759bca0 100644 --- a/test/test10.chk-old +++ b/test/test10.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.5 # Test game end due to running out of time -# recorded by esr@snark on Thu Apr 25 10:58:03 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 10:58:03 2019 COMMAND> sh up Shields raised. diff --git a/test/test10.log-old b/test/test10.log-old index 3e4efd7..d97f2a0 100644 --- a/test/test10.log-old +++ b/test/test10.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.5 # Test game end due to running out of time -# recorded by esr@snark on Thu Apr 25 10:58:03 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 10:58:03 2019 sh up m a 1 6 4 1 diff --git a/test/test11.chk b/test/test11.chk index 2f03037..e63af04 100644 --- a/test/test11.chk +++ b/test/test11.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.5 # Test loss by energy exhaustion. -# recorded by esr@snark on Thu Apr 25 13:21:59 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019 COMMAND> m a 1 4 diff --git a/test/test11.log b/test/test11.log index 4b5935b..a4cf44b 100644 --- a/test/test11.log +++ b/test/test11.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.5 # Test loss by energy exhaustion. -# recorded by esr@snark on Thu Apr 25 13:21:59 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019 m a 1 4 diff --git a/test/test12.chk-old b/test/test12.chk-old index 1e0797c..da29ae2 100644 --- a/test/test12.chk-old +++ b/test/test12.chk-old @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.5 # Test dilithium-crystal mining -# recorded by esr@snark on Thu Apr 25 20:35:21 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 20:35:21 2019 COMMAND> sh up Shields raised. diff --git a/test/test12.log-old b/test/test12.log-old index 8dee682..8384adf 100644 --- a/test/test12.log-old +++ b/test/test12.log-old @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.5 # Test dilithium-crystal mining -# recorded by esr@snark on Thu Apr 25 20:35:21 2019 +# recorded by esr@snark.thyrsus.com on Thu Apr 25 20:35:21 2019 sh up diff --git a/test/test13.chk b/test/test13.chk index b9b3912..cc29dd6 100644 --- a/test/test13.chk +++ b/test/test13.chk @@ -18,7 +18,7 @@ Good Luck! YOU'LL NEED IT. COMMAND> # SST2K version 2.5 # Test multiple critical hits ending in defeat by Supercommander -# recorded by esr@snark on Fri Apr 26 11:21:47 2019 +# recorded by esr@snark.thyrsus.com on Fri Apr 26 11:21:47 2019 torp 3 7 4 8 4 9 2 Track for torpedo number 1- 7 - 4 diff --git a/test/test13.log b/test/test13.log index 2c35bc6..e5f3d15 100644 --- a/test/test13.log +++ b/test/test13.log @@ -2,7 +2,7 @@ # options regular short good fancy # SST2K version 2.5 # Test multiple critical hits ending in defeat by Supercommander -# recorded by esr@snark on Fri Apr 26 11:21:47 2019 +# recorded by esr@snark.thyrsus.com on Fri Apr 26 11:21:47 2019 torp 3 7 4 8 4 9 2 torp 3 6 6 8 10 10 8 diff --git a/test/test14.chk b/test/test14.chk index 82d1587..9727fca 100644 --- a/test/test14.chk +++ b/test/test14.chk @@ -4,7 +4,7 @@ Would you like a regular, tournament, or saved game? # SST2K version 2.7 # Test death by black hole -# recorded by esr@snark on Fri Aug 11 10:49:27 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 10:49:27 2023 r Would you like a Short, Medium, or Long game? s Are you a Novice, Fair, Good, Expert, or Emeritus player? n diff --git a/test/test14.log b/test/test14.log index 1a781d6..fc6263c 100644 --- a/test/test14.log +++ b/test/test14.log @@ -2,7 +2,7 @@ # options # SST2K version 2.7 # Test death by black hole -# recorded by esr@snark on Fri Aug 11 10:49:27 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 10:49:27 2023 r s n diff --git a/test/test15.chk b/test/test15.chk index af7195d..ac27893 100644 --- a/test/test15.chk +++ b/test/test15.chk @@ -24,7 +24,7 @@ INTRUDER! YOU HAVE VIOLATED THE ROMULAN NEUTRAL ZONE. LEAVE AT ONCE, OR YOU WILL BE DESTROYED! COMMAND> # SST2K version 2.7 # Test encounter with Romulan and multiline torpedo firing -# recorded by esr@snark on Fri Aug 11 11:05:56 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:05:56 2023 m a 5 9 diff --git a/test/test15.log b/test/test15.log index 20d1a4a..6396496 100644 --- a/test/test15.log +++ b/test/test15.log @@ -2,7 +2,7 @@ # options regular medium good fancy # SST2K version 2.7 # Test encounter with Romulan and multiline torpedo firing -# recorded by esr@snark on Fri Aug 11 11:05:56 2023 +# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:05:56 2023 m a 5 9 m a 4 3 torp