Acme-KeyboardMarathon
view release on metacpan or search on metacpan
lib/Acme/KeyboardMarathon.pm view on Meta::CPAN
}
# Add shift distance
for my $key ( qw/! @ # $ % ^ & * ( ) _ + < > ? : " { } | ~ '/, 'A' .. 'Z' ) {
$self->{k}->{$key} += $shift_distance;
}
# override
$self->{k}->{"\a"} = 0; # alarm
$self->{k}->{"\b"} = 0; # backspace
$self->{k}->{"\e"} = 0; # escape
$self->{k}->{"\f"} = 0; # form feed
$self->{k}->{"\r"} = 0; # carriage return
return $self;
}
# split is 2m27.476s for 9.3megs of text (9754400 chars)
sub distance {
my $k = shift->{k};
Later, the nine team-dogs gathered together and sought shelter in the
forest. Though unpursued, they were in a sorry plight. There was not
one who was not wounded in four or five places, while some were wounded
grievously. Dub was badly injured in a hind leg; Dolly, the last husky
added to the team at Dyea, had a badly torn throat; Joe had lost an eye;
while Billee, the good-natured, with an ear chewed and rent to ribbons,
cried and whimpered throughout the night. At daybreak they limped warily
back to camp, to find the marauders gone and the two men in bad tempers.
Fully half their grub supply was gone. The huskies had chewed through
the sled lashings and canvas coverings. In fact, nothing, no matter how
remotely eatable, had escaped them. They had eaten a pair of Perrault's
moose-hide moccasins, chunks out of the leather traces, and even two
feet of lash from the end of Francois's whip. He broke from a mournful
contemplation of it to look over his wounded dogs.
"Ah, my frien's," he said softly, "mebbe it mek you mad dog, dose many
bites. Mebbe all mad dog, sacredam! Wot you t'ink, eh, Perrault?"
The courier shook his head dubiously. With four hundred miles of trail
still between him and Dawson, he could ill afford to have madness break
out among his dogs. Two hours of cursing and exertion got the harnesses
necessary to save them. They were coated solidly with ice, and the two
men kept them on the run around the fire, sweating and thawing, so close
that they were singed by the flames.
At another time Spitz went through, dragging the whole team after him up
to Buck, who strained backward with all his strength, his fore paws on
the slippery edge and the ice quivering and snapping all around. But
behind him was Dave, likewise straining backward, and behind the sled
was Francois, pulling till his tendons cracked.
Again, the rim ice broke away before and behind, and there was no escape
except up the cliff. Perrault scaled it by a miracle, while Francois
prayed for just that miracle; and with every thong and sled lashing and
the last bit of harness rove into a long rope, the dogs were hoisted,
one by one, to the cliff crest. Francois came up last, after the sled
and load. Then came the search for a place to descend, which descent was
ultimately made by the aid of the rope, and night found them back on the
river with a quarter of a mile to the day's credit.
By the time they made the Hootalinqua and good ice, Buck was played out.
The rest of the dogs were in like condition; but Perrault, to make
Buck remembered the man in the red sweater, and retreated slowly; nor
did he attempt to charge in when Sol-leks was once more brought
forward. But he circled just beyond the range of the club, snarling with
bitterness and rage; and while he circled he watched the club so as to
dodge it if thrown by Francois, for he was become wise in the way of
clubs. The driver went about his work, and he called to Buck when he was
ready to put him in his old place in front of Dave. Buck retreated two
or three steps. Francois followed him up, whereupon he again retreated.
After some time of this, Francois threw down the club, thinking that
Buck feared a thrashing. But Buck was in open revolt. He wanted, not to
escape a clubbing, but to have the leadership. It was his by right. He
had earned it, and he would not be content with less.
Perrault took a hand. Between them they ran him about for the better
part of an hour. They threw clubs at him. He dodged. They cursed him,
and his fathers and mothers before him, and all his seed to come after
him down to the remotest generation, and every hair on his body and drop
of blood in his veins; and he answered curse with snarl and kept out of
their reach. He did not try to run away, but retreated around and around
the camp, advertising plainly that when his desire was met, he would
come in and be good.
But in spite of this great love he bore John Thornton, which seemed
to bespeak the soft civilizing influence, the strain of the primitive,
which the Northland had aroused in him, remained alive and active.
Faithfulness and devotion, things born of fire and roof, were his; yet
he retained his wildness and wiliness. He was a thing of the wild, come
in from the wild to sit by John Thornton's fire, rather than a dog
of the soft Southland stamped with the marks of generations of
civilization. Because of his very great love, he could not steal from
this man, but from any other man, in any other camp, he did not hesitate
an instant; while the cunning with which he stole enabled him to escape
detection.
His face and body were scored by the teeth of many dogs, and he
fought as fiercely as ever and more shrewdly. Skeet and Nig were too
good-natured for quarrelling,--besides, they belonged to John Thornton;
but the strange dog, no matter what the breed or valor, swiftly
acknowledged Buck's supremacy or found himself struggling for life with
a terrible antagonist. And Buck was merciless. He had learned well the
law of club and fang, and he never forewent an advantage or drew back
from a foe he had started on the way to Death. He had lessoned from
From the bull's side, just forward of the flank, protruded a feathered
arrow-end, which accounted for his savageness. Guided by that instinct
which came from the old hunting days of the primordial world, Buck
proceeded to cut the bull out from the herd. It was no slight task. He
would bark and dance about in front of the bull, just out of reach
of the great antlers and of the terrible splay hoofs which could have
stamped his life out with a single blow. Unable to turn his back on
the fanged danger and go on, the bull would be driven into paroxysms of
rage. At such moments he charged Buck, who retreated craftily, luring
him on by a simulated inability to escape. But when he was thus
separated from his fellows, two or three of the younger bulls would
charge back upon Buck and enable the wounded bull to rejoin the herd.
There is a patience of the wild--dogged, tireless, persistent as life
itself--that holds motionless for endless hours the spider in its web,
the snake in its coils, the panther in its ambuscade; this patience
belongs peculiarly to life when it hunts its living food; and it
belonged to Buck as he clung to the flank of the herd, retarding
its march, irritating the young bulls, worrying the cows with their
half-grown calves, and driving the wounded bull mad with helpless rage.
( run in 0.367 second using v1.01-cache-2.11-cpan-c21f80fb71c )