home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / softsys / andrew / 1180 < prev    next >
Encoding:
Text File  |  1992-08-26  |  4.0 KB  |  79 lines

  1. Newsgroups: comp.soft-sys.andrew
  2. Path: sparky!uunet!stanford.edu!morrow.stanford.edu!decwrl!adobe!usenet
  3. From: zstern@adobe.com (Zalman Stern)
  4. Subject: Re: Hasn't the message line bogosity gone on long enough?
  5. Message-ID: <1992Aug26.215345.23827@adobe.com>
  6. Sender: usenet@adobe.com (USENET NEWS)
  7. Organization: Adobe Systems Incorporated
  8. References: <keauijW00WoiAlJUlh@andrew.cmu.edu>
  9. Date: Wed, 26 Aug 1992 21:53:45 GMT
  10. Lines: 67
  11.  
  12. In article <keauijW00WoiAlJUlh@andrew.cmu.edu> rr2b+@ANDREW.CMU.EDU (Robert  
  13. Andrew Ryan) writes:
  14. > Excerpts from internet.other.info-andrew: 26-Aug-92 Re: Hasn't the
  15. > message line.. Zalman Stern@decwrl.dec. (810)
  16. > > If it overflows, build a dialog box with a large message line and pop
  17. > > that  up instead. See how people like that.
  18. > Unfortunately this can't really cover the case of a input request, since
  19. > the message line could grow substantially during input.
  20.  
  21. I'm actually proposing to make this test on each Update. As soon as it gets  
  22. too long, you "promote" it to a dialog box. This is probably 50% saracastic.
  23.  
  24. > Excerpts from internet.other.info-andrew: 26-Aug-92 Re: Hasn't the
  25. > message line.. Zalman Stern@decwrl.dec. (810)
  26. > > You could dynamically resize the  
  27. > > message line instead. Both of these should be relatively easy to do if I  
  28. > recall frameview at all. (Which I probably don't).
  29. > Yes this could be done without too much hacking on frameview, but the
  30. > runtime cost for the redraws could be prohibitive esp over slow
  31. > networks.  Another possible solution to this might be to give text a
  32. > notion of horizontal scrolling. (though not with a scrollbar please :-)
  33.  
  34. Designing a graphical user interface on the basis of "slow networks" is  
  35. pretty stupid. But pointing that out to the UNIX community is wholely  
  36. unproductive.
  37.  
  38. However in this case, the conceptual redraw can be quite efficient. Given a  
  39. text window (or something with the same "bit gravity" as a text window)  
  40. above the message line, all you have to do is make the bottom section of the  
  41. lpair larger, and redraw the top scrollbar. (I.e. a line of text disappears  
  42. off the bottom of the top textview.) Getting lpair and textview to  
  43. accomplish this may be a hassle because they probably blast the rectangle to  
  44. white and FullUpdate. (In fact the ATK Update/FullUpdate protocol may not  
  45. allow this. Its been a while... If not, it should be fixed :-))
  46.  
  47. [Rob claims message lines are a win.]
  48.  
  49. Macintosh Programmers Workshop (MPW) has a notion of a console window with a  
  50. special key sequence (either the Enter key or CMD-Return) that means send  
  51. the current line (or current selection) as input. Programs write prompts out  
  52. to the window and the user types something and hits CMD-Return. (The prompt  
  53. will most likely show up in the input to the program in this scenario.) If  
  54. you want the message line to behave as a text buffer with history, you end  
  55. up doing something like this. (ATK could win by having the prompts marked  
  56. with a special style so the text could be removed before handing back a  
  57. reply.) If I were going to do this, I'd have a single message line window  
  58. per application and throw the input focus to that window when a question is  
  59. asked. (It might even be plausible to have a single message line window for  
  60. all ATK applications running at one time.)
  61.  
  62. [Aside: I don't recall the timestamped message line log that Adam described.  
  63. I'm pretty certain it wasn't in any implementation of framemessage while I  
  64. was at the ITC. So its either relatively recent or perhaps from bx or BE I?]
  65.  
  66. Finally, forcing filename prompting into a message line is a lose. A good  
  67. Macintosh file dialog is faster and easier to use. (Checkout Super Boomerang  
  68. sometime.) On large screens, you can avoid losing context by having the file  
  69. dialog show up in a standard window location that the user chooses. This  
  70. space can then be kept more or less empty. 
  71. --
  72. Zalman Stern           zalman@adobe.com            (415) 962 3824
  73. Adobe Systems, 1585 Charleston Rd., POB 7900, Mountain View, CA 94039-7900
  74.   "Yeah. Ask 'em if they'll upgrade my shifters too." Bill Watterson
  75.