3 ms·
So I was looking through the sources of nano and I seemed to have discovered a previously-unknown (at least based on a quick search) easter egg. First modify t
by joshumax 9y ago
So I was looking through the sources of nano and I seemed to have discovered a previously-unknown (at least based on a quick search) easter egg.
First modify the buffer somehow. It really doesn't matter if you just type in "test"
Hit ^X to exit nano. When it asks you if you want to save the buffer hit Y
Save the file as "zzy" and press ENTER to trigger the Easter egg
^X+Y+zzy is likely a reference to xyzzy, a cheat code originally used in Colossal Cave Adventure[1]
1: https://en.wikipedia.org/wiki/Xyzzy_%28computing%29?wprov=sfla1 https://en.wikipedia.org/wiki/Xyzzy_%28computing%29?wprov=sf...
- miduil 9y agoUh, really cool! Spoiler recording https://asciinema.org/a/aWR9hmT5CuEMbxfUUYEx4ATS4 https://asciinema.org/a/aWR9hmT5CuEMbxfUUYEx4ATS4 PS: You can quit this text-animation by any keypress and then store the actual file zzy, if required.
- sk5t 9y ago"xyzzy" also made an appearance in the Infocom games Enchanter and/or Wishbringer.
- j0e1 9y ago'xyzzy' was also what enabled cheat-mode in Road Rash[1]. Ah.. good 'ol days.. 1: https://en.wikipedia.org/wiki/Road_Rash https://en.wikipedia.org/wiki/Road_Rash