Re: Bug or feature: DISPLAY after OPEN WINDOW....
Posted in 1994
bernha@david.wheaton.edu (Todd A Bernhardt) writes: >OPEN WINDOW w1 AT 10, 10 WITH 4 ROWS, 60 COLUMNS > ATTRIBUTE(BOLD, BORDER, PROMPT LINE LAST) > DISPLAY "Something or other helpful here." > PROMPT "Tell me what you know in one char or less: " FOR CHAR ch > PROMPT "Is ", ch, " so (y/n):" FOR CHAR yn >CLOSE WINDOW w1 >What I had hoped, yea expected, to happen was for the DISPLAY and the >PROMPT to both appear inside the window. You can imagine my >disappointment when I saw the window appear, disappear and then the >DISPLAY and PROMPT text appear on or around the 23rd and 24th lines of >my DEC vt320 terminal. This is expected behavior, IMO. DISPLAY without an AT attachment displays at the current cursor position, which I would guess would be at the bottom right corner of the window. The only time I use DISPLAY without AT if I am running a batch program with no screen interaction and want to put a message in nohup.out. If we "fix" this "bug", I suspect you'd hear howling from across the globe... ============================================================ Dennis J. Pimple Informix Software Inc Senior Consultant Denver Colorado USA dennisp@informix.com Voice:303-850-0210 Fax:303-779-4025