Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
VMS 5.3, DECW V2 I have a command window whose prompt is set to '>>>' as part of the UIL description. From within the program I want to change the prompt if the user must enter some additional information (yes, that's right folks... a CLI emulator of sorts). However the prompt, which could be something like "Enter file name: " looks like it's getting centered in a window that will not grow beyond the size of the original prompt size. Is this a bug, or a blatant misuse of the command window? - norm
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2440.1 | Bug and workaround? | DECWIN::KLEIN | Tue Mar 13 1990 17:23 | 17 | |
>Is this a bug, or a blatant misuse of the command window? I have heard about this problem many times and I believe it is a bug. I think it was fixed in DECwindows V2.1 (the code has changed). The only workaround that I can think of is to call the command window widget's class resize proc, something like: (*w->core.widget_class->core_class.resize) (w) after changing the prompt string. From what I can see in the code, this should tickle the widget into recomputing its layout. This workaround is untested. If you do try it, please let us know if it works! There are others who could use it. -steve- | |||||
2440.2 | << I did... It didn't >> | WONDER::COMMO | I'll find no bug before its time! | Wed Mar 14 1990 13:26 | 6 |
>This workaround is untested. If you do try it, please let us know if it works! >There are others who could use it. I did try it and it doesn't seem to work. Thanks for trying. - norm |