From 01d629adc01012941b2cd16612fca70120377eae Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 8 Oct 2006 16:48:18 +0200 Subject: [PATCH] A healthy dose of sillyness --- arch/attach-ia32-linux.S | 7 +++++++ arch/attach-none-none.c | 4 ++++ arch/detach-ia32-linux.S | 12 ++++++++++++ arch/detach-none-none.c | 5 +++++ blindtty.c | 8 ++++++++ bytecode.pl | 6 ++++++ getarch.sh | 5 +++++ retty.c | 7 +++++++ 8 files changed, 54 insertions(+) diff --git a/arch/attach-ia32-linux.S b/arch/attach-ia32-linux.S index 6b35ee8..c12002b 100644 --- a/arch/attach-ia32-linux.S +++ b/arch/attach-ia32-linux.S @@ -2,6 +2,13 @@ /* When you modify it, check that the length is dword-aligned. */ +/* + * Thrice he cried. Thrice the great ram boomed. And suddenly upon the last + * stroke the Gate of Gondor broke. As if stricken by some blasting spell it + * burst asunder: there was a flash of searing lightning, and the doors + * tumbled in riven fragments to the ground. + */ + .equ SYS_open, 5 .equ SYS_close, 6 .equ SYS_getpid, 20 diff --git a/arch/attach-none-none.c b/arch/attach-none-none.c index f67e19a..9b9ddb4 100644 --- a/arch/attach-none-none.c +++ b/arch/attach-none-none.c @@ -1 +1,5 @@ +/* + * But none have ever ventured in to search its secrets, since Baldor, son of + * Brego, passed the Door and was never seen among men again. + */ #error Unsupported architecture / operating system diff --git a/arch/detach-ia32-linux.S b/arch/detach-ia32-linux.S index 5527005..be401c4 100644 --- a/arch/detach-ia32-linux.S +++ b/arch/detach-ia32-linux.S @@ -2,6 +2,18 @@ /* When you modify it, check that the length is dword-aligned. */ +/* + * Ghvn-buri-Ghvn squatted down and touched the earth with his horny brow + * in token of farewell. Then he got up as if to depart. But suddenly he stood + * looking up like some startled woodland animal snuffling a strange air. + * A light came in his eyes. + * + * 'Wind is changing!' he cried, and with that, in a twinkling as it seemed, + * he and his fellows had vanished into the glooms, never to be seen by any + * Rider of Rohan again. + */ + + .equ SYS_close, 6 .equ SYS_getpid, 20 .equ SYS_kill, 37 diff --git a/arch/detach-none-none.c b/arch/detach-none-none.c index f67e19a..3cc5d16 100644 --- a/arch/detach-none-none.c +++ b/arch/detach-none-none.c @@ -1 +1,6 @@ +/* + * This was the livery of the heirs of Elendil, and none wore it now in all + * Gondor, save the Guards of the Citadel before the Court of the Fountain + * where the White Tree once had grown. + */ #error Unsupported architecture / operating system diff --git a/blindtty.c b/blindtty.c index 5c12ed3..db322a8 100644 --- a/blindtty.c +++ b/blindtty.c @@ -8,6 +8,14 @@ * Copyright (c) 2006 Petr Baudis, Jan Sembera */ +/* + * 'But the night will be too short,' said Gandalf. 'I have come back here, + * for I must have a little peace, alone. You should sleep, in a bed while you + * still may. At the sunrise I shall take you to the Lord Denethor again. No, + * when the summons comes, not at sunrise. The Darkness has begun. There will + * be no dawn.' + */ + #include #include #include diff --git a/bytecode.pl b/bytecode.pl index e40df85..4f7a63e 100755 --- a/bytecode.pl +++ b/bytecode.pl @@ -1,5 +1,11 @@ #!/usr/bin/perl +# 'There are evil things written on this hilt,' he said; 'though maybe your +# eyes cannot see them. Keep it, Aragorn, till we reach the house of Elrond! +# But be wary, and handle it as little as you may! Alas! the wounds of this +# weapon are beyond my skill to heal. I will do what I can - but all the more +# do I urge you now to go on without rest.' + $state = 0; while ($l = ) { chomp($l); diff --git a/getarch.sh b/getarch.sh index 894c0ae..9429ceb 100755 --- a/getarch.sh +++ b/getarch.sh @@ -1,5 +1,10 @@ #!/bin/sh +# 'Ah yes, I recognized the name. I recollect the time when young Frodo Baggins +# was one of the worst young rascals of Buckland. But it wasn't mushrooms I was +# thinking of. I had just heard the name Baggins before you turned up. What do +# you think that funny customer asked me?' + check_support() { if [ ! -f arch/attach-$1.[cS] ]; then ARCH="none" diff --git a/retty.c b/retty.c index 4e39b38..8b7768d 100644 --- a/retty.c +++ b/retty.c @@ -17,6 +17,13 @@ * / \ */ +/* + * 'So!' cried Denethor. 'Thou hadst already stolen half my son's love. Now + * thou stealest the hearts of my knights also, so that they rob me wholly of + * my son at the last. But in this at least thou shalt not defy my will: to + * rule my own end.' + */ + #define _GNU_SOURCE // grantpt & family #include #include -- 2.11.4.GIT