[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

1789.0. "Newlines in V2 UIL" by ULTRA::WRAY (John Wray, Secure Systems Development) Mon Nov 27 1989 08:21

    How do I put a newline character into a string literal (in a compound
    string context) in V2 VMS UIL?  Under V1, I could just use "\n" in the
    string literal, but this doesn't seem to work under V2.
    
    Also, the sizes of some of the widgets seem to have changed between V1
    and V2 (particularly noticeable in the STEXT widget, which is now
    larger for the same number of lines of text).  Is this going to happen
    on each major DECwindows release?  It makes "fine-tuning" of the UI
    version-dependent, which is not a good idea.  What happened to
    upward-compatibility?
    
    John
T.RTitleUserPersonal
Name
DateLines
1789.1QUARK::LIONELFree advice is worth every centMon Nov 27 1989 11:328
This change is described in the release notes (or maybe New Features)
manual.  You need to use 'separate=true' and concatenation.  Here's
an example from DECW$EXAMPLES:HELLOWORLD.UIL:

            label_label = compound_string('Hello', separate=true)&
                          compound_string('World!');
  
				Steve
1789.2TLE::REAGANPascal, A kinder and gentler languageMon Nov 27 1989 15:355
    I couldn't get separate=true to work with my Pascal version of
    HELLOWORLD and HELLOWORLD.UIL.  Everything came out on one
    line.  I've QARed it when I couldn't find anything wrong with it.
    
    				-John
1789.3QUARK::LIONELFree advice is worth every centMon Nov 27 1989 16:086
This feature was broken in various ways throughout the field test of
DECwindows V2, but seems to work ok for me in the SSB release.  I griped
loudly about the then-undocumented change when it first appeared in 
the FT1 of DECwindows V2.

				Steve
1789.4KONING::KONINGNI1D @FN42eqMon Nov 27 1989 16:573
I wonder about the unanswered part of .0: what about upward compatibility?

	paul
1789.5TLE::REAGANPascal, A kinder and gentler languageMon Nov 27 1989 17:025
    It is still broken on my machine running the SSB release (which
    was mup'ed from the pre-SSB limited release if that makes any
    difference).
    
    				-John
1789.6QUARK::LIONELFree advice is worth every centMon Nov 27 1989 21:0010
    Re: .4
    
    Apparently you can say UIL/V1 to get the old behavior.
    
    Re: .5
    
    Guess I'll try it again in the morning.  I know it worked for me as of
    FT2.
    
    			Steve
1789.7Uh...DECWIN::KLEINTue Nov 28 1989 09:555
>>    Apparently you can say UIL/V1 to get the old behavior.

Actually, I thought it was UIL/VER=V1.

-steve-
1789.8QUARK::LIONELFree advice is worth every centTue Nov 28 1989 10:5210
Re: .7

Yes, you're right.

Re: .5

Well, I'll be darned.  It's broken again!  It DID work in T5.3-462!
I don't know why I'm surprised, though...  sigh!  QAR time once again.

				Steve
1789.9UIL is ok, HELLOWORLD.UID is brokenQUARK::LIONELFree advice is worth every centThu Nov 30 1989 17:0418
I've been in communication with the DWT people about this.  It seems that
I was mistaken in thinking that compiling DECW$EXAMPLES:HELLOWORLD.UIL
still got newlines ignored.  The reason is that I tested it by running
the HELLOWORLD.EXE that is in DECW$EXAMPLES.  This version has
DECW$EXAMPLES:HELLOWORLD.UID hardcoded into the program - in previous
versions, it just had HELLOWORLD.UID, and that's what the FORTRAN and Ada
versions have.

So when I ran, I ran against the HELLOWORLD.UID that was supplied in
DECW$EXAMPLES on the kit.  This UID file was not correctly compiled 
or the wrong source was used so that the newlines don't appear.  If I
recompile the UIL and run the FORTRAN version against it, it works fine.

I had QARed the fact that a bogus UID file was included with FT2.  I guess
no action was ever taken on it.  I notice that the file was compiled on
29-September.

					Steve
1789.10More info on size changes of widgets?EPIK::HEILMANRael Imperial Aerosal KidTue Dec 05 1989 14:399
>>    Also, the sizes of some of the widgets seem to have changed between V1
>>    and V2 (particularly noticeable in the STEXT widget, which is now
>>    larger for the same number of lines of text).  

Does anyone have an informal list of the apparent size changes for V2 widgets
that they have noticed? (I did a search for "size" but did not find a note
entered already).

                                              Thanks HH