#keytable tvkeys
"\003"	tv> input-mode edit;
"\012"	tv> window redisplay;
"\015"	tv> window redisplay;
"\033"	tv> input-mode edit;
" "	tv> window mark vertical enter cursor;
"-1"	tv> window view full y; tv> window view stretch -1 cursor 0;
"-2"	tv> window view full y; tv> window view stretch -2 cursor 0;
"-3"	tv> window view full y; tv> window view stretch -3 cursor 0;
"-4"	tv> window view full y; tv> window view stretch -4 cursor 0;
"-5"	tv> window view full y; tv> window view stretch -5 cursor 0;
"-6"	tv> window view full y; tv> window view stretch -6 cursor 0;
"-7"	tv> window view full y; tv> window view stretch -7 cursor 0;
"-8"	tv> window view full y; tv> window view stretch -8 cursor 0;
"-9"	tv> window view full y; tv> window view stretch -9 cursor 0;
"+"	tv> label user enter cursor;
"-A"	tv> cut mark cut delete; tv> window hide mark cut; tv> fit mark fit delete; tv> fit delete; tv> window hide mark fit; tv> label user delete all; tv> normalization mark delete; tv> recalibration marker delete all;
"-C"	tv> cut mark cut delete; tv> window hide mark cut;
"-D"	tv> window hide fit decomposition;
"-F"	tv> fit mark fit delete; tv> fit delete; tv> fit delete activ; tv> window hide mark fit;
"-P"    tv> fit mark peak delete 0 uncalib 8192 uncalib;
"-p"    tv> fit mark peak delete cursor;
"-B"	tv> fit mark bg-region delete all;
"-b"	tv> fit mark bg-region delete cursor;
"-cg"	tv> cut mark gate delete cursor;
"-cb"	tv> cut mark bg-gate delete cursor;
"-l"	tv> label user delete cursor;
"-n"	tv> normalization mark delete;
"-r"	tv> fit mark region delete cursor;
"-wn"   tv> window scaling function-y normalization off;
"-R"	tv> recalibration marker delete cursor;
","	tv> window view full y; tv> window view shift -70.0 0.0
"."	tv> window view full y; tv> window view shift 70.0 0.0
"0"	tv> window view full y; tv> window view stretch -1 cursor 0;
"1"	tv> window view full y; tv> window view stretch 1 cursor 0;
"2"	tv> window view full y; tv> window view stretch 2 cursor 0;
"3"	tv> window view full y; tv> window view stretch 3 cursor 0;
"4"	tv> window view full y; tv> window view stretch 4 cursor 0;
"5"	tv> window view full y; tv> window view stretch 5 cursor 0;
"6"	tv> window view full y; tv> window view stretch 6 cursor 0;
"7"	tv> window view full y; tv> window view stretch 7 cursor 0;
"8"	tv> window view full y; tv> window view stretch 8 cursor 0;
"9"	tv> window view full y; tv> window view stretch 9 cursor 0;
"<"	tv> window view full y; tv> window view shift -70.0 0.0
"="	tv> spectrum update all;
">"	tv> window view full y; tv> window view shift 70.0 0.0
"?"	tv> keyalias;
"B"	tv> fit param backgr free; tv> fit param expo free; tv> fit param fact free; tv> fit background-create; tv> fit param backgr hold; tv> fit param expo hold; tv> fit param fact hold; tv> window show fit function/marker;
"C"	tv> cut create cut;
"D"	tv> window show fit decomposition;
"E"	tv> calibration position read *cal;
"F"	tv> fit region-create active; tv> fit status short; tv> window show fit function/marker;
"Gf"	tv> fit read bin position cursor; tv> window show fit function/marker;
"Gc"	tv> cut read cut position cursor
"Gh"	tv> cut read head position cursor
"GG"	tv> cut marker gate enter cursor
"HP"	tv> fit parameter peak hold;
"HW"	tv> fit parameter width hold;
"I"	tv> fit integration-create active; tv> fit status short;
"L"	tv> window setup keyboard-focus cursor;
"M"	tv> window create cut Cut; tv> edit; tv> cut environment
"Nn"	tv> window show spectrum next; tv> window redisplay;
"Np"	tv> window show spectrum previous; tv> window redisplay;
"O"	tv> spectrum norm shown
"Ppf0"  tv> fit para position0 free;
"Ppf1"  tv> fit para position1 free;
"Ppf2"  tv> fit para position2 free;
"Ppf3"  tv> fit para position3 free;
"Ppf4"  tv> fit para position4 free;
"Pph0"  tv> fit para position0 hold;
"Pph1"  tv> fit para position1 hold;
"Pph2"  tv> fit para position2 hold;
"Pph3"  tv> fit para position3 hold;
"Pph4"  tv> fit para position4 hold;
"Ppn0"  tv> fit para position0 none;
"Ppn1"  tv> fit para position1 none;
"Ppn2"  tv> fit para position2 none;
"Ppn3"  tv> fit para position3 none;
"Ppn4"  tv> fit para position4 none;
"Pp=0"  tv> edit; tv> fit para position0 = ?
"Pp=1"  tv> edit; tv> fit para position1 = ?
"Pp=2"  tv> edit; tv> fit para position2 = ?
"Pp=3"  tv> edit; tv> fit para position3 = ?
"Pp=4"  tv> edit; tv> fit para position4 = ?
"Pbh"	tv> fit param backgr hold; tv> fit param exponent hold; tv> fit param factor hold;
"Pbf"	tv> fit param backgr free; tv> fit param exponent free; tv> fit param factor free;
"Pwe"	tv> fit parameter width equal;
"Pu"	tv> edit; tv> window plot create unix-plot
"Px"	tv> edit; tv> window plot create xfig
"Q"	tv> fit mark fit delete; tv> fit delete; tv> fit mark peak enter cursor; tv> fit mark region enter offset -10 offset 20; tv> window view full y; tv> fit region-create; tv> fit status short; tv> window show fit function/marker;
"Rbf"	tv> fit read bin first;
"Rbn"	tv> fit read bin next;
"Rbp"	tv> fit read bin position cursor; tv> window redisplay;
"Rbc"	tv> fit read bin position cursor; tv> window redisplay;
"Rcc"	tv> cut read cut cursor;
"Rcf"	tv> cut read cut first;
"Rcn"	tv> cut read cut next;
"Rff"	tv> fit read fit first;
"Rfn"	tv> fit read fit next;
"Rhc"	tv> cut read head cursor; tv> cut create cut;
"Rhf"	tv> cut read head first; tv> cut create cut;
"Rhn"	tv> cut read head next; tv> cut create cut;
"Rif"	tv> fit read integration first;
"Rin"	tv> fit read integration next;
"Rr"	tv> recalibration marker enter cursor;
"RR"	tv> edit; tv> recalibration create
"Sf"	tv> fit write;
"Sc"	tv> cut write cut;
"U"	tv> window setup keyboard-focus none;
"a"	tv> edit; tv> spectrum activate
"b"	tv> fit mark bg-region enter cursor;
"c"	tv> cut mark cut enter cursor;
"e"	tv> window view expand;
"f"	tv> window view full both; tv> window view expand;
"g"	tv> edit; tv> spectrum get
"h"	tv> window mark horizontal enter cursor;
"i"	tv> edit; tv> window view full y; tv> window view position 100
"k"	tv> edit; tv> spectrum delete;
"l+"	tv> spectrum delete all; tv> spectrum ls-file get ++; 
"l-"	tv> spectrum delete all; tv> spectrum ls-file get --;
"lc"	tv> edit; tv> spectrum ls-file close;
"lg"	tv> edit; tv> spectrum ls-file get
"lo"	tv> edit; tv> spectrum ls-file open
"mP"	tv> window show peaklist; tv> window show labellist peaklist; tv>  fit open activ;
"mb"	tv> window show fit bin-list; tv> fit open activ;
"md"	tv> window show fit decomposition; tv> fit open activ;
"mf"	tv> window show fit function/marker;
"mn"	tv> window show spectrum next;
"mp"	tv> window show spectrum previous;
"ms"	tv> edit; tv> window show spectrum index
"n"	tv> edit; tv> window show spectrum index
"o"	tv> normalization mark enter cursor;
"p"	tv> fit mark peak enter cursor;
"r"	tv> fit mark region enter cursor;
"s"	tv> fit status full;
"t"	tv> spectrum update shown;
"uP"	tv> window hide peaklist; window hide labellist peaklist;
"ub"	tv> window hide fit bin-list;
"uc"	tv> window hide cut-gate-marker;
"ud"	tv> window hide fit decomposition;
"uf"	tv> window hide fit function/marker;
"umc"	tv> window hide marker cut;
"umf"	tv> window hide marker fit;
"umi"	tv> window hide marker integration;
"umn"	tv> window hide marker normalization;
"umr"	tv> window hide marker recalibration;
"ums"	tv> window hide marker searchlist;
"we"	tv> fit parameter width equal
"wf"	tv> fit parameter width free
"wi"	tv> window scaling function-y linear; tv> window scaling function-y normalization on; tv> window scaling function-y normalization off;
"wl"	tv> window scaling function-y logarithmic; tv> window scaling function-y normalization on; tv> window scaling function-y normalization off;
"wn"    tv> window scaling function-y normalization on;
"ws"	tv> window scaling function-y squared; tv> window scaling function-y normalization on; tv> window scaling function-y normalization off;
"x"	tv> window view full x; tv> window view expand;
"y"	tv> window view full y; tv> window view expand;
"|"	tv> window view full y; tv> window view center x cursor;
"["	tv> @inspector;
"]"	tv> command-file resume;
