public void readHistory(DataInput input) {
        try {
            int unused = input.readInt(); // VERSION = 1 
            int commandCount = input.readInt();
            if (directoryCombo == null) {
                directoryCombo = new JComboBox();
            }
            for (int i = 0; i < commandCount; ++i) {
                String nextString = input.readUTF();
                int itemCount = directoryCombo.getItemCount();
                boolean containsIt = false;
                for (int j = 0; j < itemCount; ++j) {
                    if (directoryCombo.getItemAt(j).toString().trim().equals(nextString)) {
                        containsIt = true;
                    }
                }
                if (!containsIt) {
                    directoryCombo.addItem(nextString);
                }
            }
        } catch (IOException e) {
            // NYI
        }
    }