daveb@rtech.UUCP (Dave Brower) (11/30/85)
I would appreciate it immensely if someone could post some code that actually uses the 7300's windowing, expecially by using the form(3) and menu(3) library routines. The example programs in the manual don't work. They always seem to zap the current (eg., the shell) window rather than creating a new one. It also seems that the tam wgetsel() always returns junk. Am I on drugs or is something funny going on here? -- {cbosgd|dual|sun|zehntel}\ | {ucbvax|decvax}!mtxinu---->!rtech!daveb | "Something can always go wrong" ihnp4!amdahl_____________/ |
rlk@chinet.UUCP (Richard L. Klappal) (12/04/85)
In article <770@rtech.UUCP> daveb@rtech.UUCP (Dave Brower) writes: >I would appreciate it immensely if someone could post some code that >actually uses the 7300's windowing, expecially by using the form(3) and >menu(3) library routines. The example programs in the manual don't >work. They always seem to zap the current (eg., the shell) window rather >than creating a new one. > >It also seems that the tam wgetsel() always returns junk. Am I on drugs >or is something funny going on here? > The form/menu/etc. calls all assume you are running from the user agent (ua), which will clean up the mess automatically when your call exits. Try creating a dimensionless window before using form() or menu(), but after winit(). Then wexit() will return to the dimensionless window setting on its way out, and leave you with a full screen, not the little box in the middle. Sorry I don't have any code here, (my home system isn't the 7300). I'll try to remember some code tomorrow, and post some short examples. -- --- UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021 ---