Added terminal packet

to old terminal code.