"Brian Donaldson" <[log in to unmask]> wrote in message news:tbSdndMH0qeh9yyiRVn-sA@fidnet.com... > Listers: > > Can anyone help me with this? I am trying to preserve what's on the screen > when I press the F8 key to exit application. > > I set bit11-12=10 but it doesn't seem to work. Maybe my logic is wrong: > > THE USER TIMEOUT=>+0015< > > OCTAL TABLE =>0000000000110001< > the bit settings=>+000000049< > THE TERMOPTIONS=>+0049< > > > MOVE ZEROES TO COM-TERMOPTIONS. > ADD 32 TO COM-TERMOPTIONS. > (this enables the timeout function to happen -- works fine) > IF WS-VPLUS-SUPPRESS-BELL = "Y" THEN > (don't know if this is working or not) > ADD 1 TO COM-TERMOPTIONS > END-IF. > IF WS-VPLUS-CLEAR-SCREEN NOT = "Y" THEN > (apparently doesn't work but don't know why) > ADD 16 TO COM-TERMOPTIONS > END-IF. > > I also tried just moving the decimal value of 49 to COM-TERMOPTIONS. The > timeout function works fine, don't know about the bell suppression working as > my pc does not have sound, and the screen blanks out every time I exit the > application regardless of bit 11-12 settings. > > Or am I misinterpreting what bits 11-12 are really for? > > > Brian Donaldson. > Err. If you're exiting the application presumably it's shutting down VPlus and that will reset the terminal to character mode. Or am I misunderstanding? Regards -- Mark Undrill Affirm Limited * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *