%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                           %
% UniTerm Users Guide, Copyright 1986, 1987 Simon Poole     %
%                                                           %
% This file may not be changed without permission, all      %
% rights reserved.                                          %
%                                                           %
% Simon Poole                                               %
% Bahnhofstr. 51 b                                          %
% CH-5430 Wettingen                                         %
% Switzerland                                               %
%                                                           %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{The KeyEdit Program}

  If you  have  got  a  complete  release  of  \UniTerm,  you  
should  have  a  copy  of \filen{KEYEDIT.PRG} (Please check 
that  it is for version 1.6f or higher!).  This  program  enables  
you   to  edit  the  keyboard  table stored in an  UniTerm  setup  
file,   additionally  you can create an executable keyboard table 
loader or just output the table itself.  


\section{Editing a \UniTerm\ Setup File}\index{Editing Setup File}    


   Start \filen{KEYEDIT.PRG}\  and press \key{Return}\ when you see 
the opening 
dialog  box.   It  will take a few seconds to create the display. 
You  can  only  edit  a  existing  setup  file  with  predictable 
results,   so  select \button{Load UniTerm File}\ and select the file  you 
want  to  edit.  Select  the  key  you want to change (select the 
appropriate  part  of  the table (normal, shifted or capslocked))
and  then  the character you want to assign to the key.  When you 
are finished with editing, select \button{Save UniTerm File}.

  
  Don't try to  change the characters on the  keypad,  cursorkeys 
or  function-keys  in  the  \UniTerm\  setup file.  These keys  are 
hardwired  via  keycode  to  specific  strings  (like  on  a real 
VT100).  

\section{Updating your Setup File}\index{Updating Setup File}

To move your custom keyboard table from a old version of \UniTerm\
to a new one, do the following:
\begin{itemize}
\item Rename the old setup file
\item Start \UniTerm\ and set all parameters that need changing
\item Save the setup as \filen{UNITERM.SET}
\item Leave \UniTerm\ and start KeyEdit
\item Load your old setup file
\item Save on top of \filen{UNITERM.SET}
\end{itemize} 
