DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦9ff45db4a⟧ TextFile

    Length: 839 (0x347)
    Types: TextFile
    Notes: UNIX file
    Names: »whatkb«

Derivation

└─⟦08d12fb7c⟧ Bits:30004153 SW95705I.2 386/ix Multi-User Rel 2.2 boot
└─⟦08d12fb7c⟧ UNIX Filesystem
    └─⟦this⟧ »etc/whatkb« 

TextFile

#
M="/etc/kbmap /usr/lib/keyboard/kb"
TF=/tmp/kdinit
echo
while :;do
echo > $TF
echo '# Initialize keyboard' >> $TF
echo
echo "		     Keyboard nationality:"
echo
echo "			1:	Danish"
echo
echo "			2:	Swedish"
echo
echo "			3:	German"
echo
echo "			4:	English"
echo
echo "			5:	French"
echo
echo "			6:	US Ascii"
echo
echo "Type the number corresponding to the nationality of your keyboard: \c"
read a
case $a in
	1)
	echo "$M.danish" >> $TF
	break
	;;
	2)
	echo "$M.swedish" >> $TF
	break
	;;
	3)
	echo "$M.german" >> $TF
	break
	;;
	4)
	echo "$M.english" >> $TF
	break
	;;
	5)
	echo "$M.french" >> $TF
	break
	;;
	6)
	echo "$M.usa" >> $TF
	break
	;;
	*)
	echo "\007\n\n\n		     Unknown terminal type\n\n\n"
	continue
	;;
esac
done
chmod +x $TF
if [ $# = "0" ]; then
	echo "/bin/chcp 850" >> $TF
fi
mv $TF /etc/rc.d/kdinit
/etc/rc.d/kdinit