Authorities say an unemployed computer programmer went on a shooting rampage in this snowbound, back-country village, killing six of its 22 residents with a small-caliber gun before he fled about 20 miles on a snowmobile and was arrested by troopers.

In custody at Anchorage, charged with six counts of first-degree murder, was Louis D. Hastings, 39. He was being held in lieu of $300,000 cash bond, and authorities said they had no clue to what prompted the shootings.

Christopher Richards, one of two injured survivors, told police he remembered the words of the man who shot him:

"Look, you're already dead. If you'll just quit fighting, I'll make it easy for you."

Instead, Richards, 29, said, he grabbed a knife, slashed his assailant and fled in his stocking feet into the snow.

He was picked up by a neighbor on a snowmobile and taken to an airstrip in McCarthy, an old mining community in the Wrangell Mountains 225 miles east of Anchorage. McCarthy is inaccessible by road in winter.

A private pilot flew Richards 100 miles northwest to Glennallen, where troopers were told of the shootings. The troopers flew to the scene, arrested Hastings and said he offered no resistance, but they declined to say whether he was armed.

The other victim was identified as Donna Byram, 32, shot in the arm when she ran on the airstrip to wave off a mail plane during the shootings.

Radio contact with troopers who rushed to McCarthy was disrupted Tuesday night, and there is no telephone service