The value of F2 will be dependent on the TERM value. VT100 will be different than TVI925, etc. You could build in a "TERM check" or if everyone will be using the same emulation, you can hard code it. Do you know what the TERM type will be?
crowe