KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q69142: Reinitializing After Changing Editor Settings Is Very Slow

Article: Q69142
Product(s): Microsoft Programming Utilities
Version(s): MS-DOS:1.1; OS/2:1.1
Operating System(s): 
Keyword(s): kb16bitonly
Last Modified: 31-OCT-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Programmer's Workbench for MS-DOS, version 1.1 
- Microsoft Programmer's Workbench for OS/2, version 1.1 
-------------------------------------------------------------------------------

SUMMARY
=======

The current editor settings in the Programmer's WorkBench (PWB) may be changed
by choosing Editor Settings from the Options menu, making a change to the
<assign> pseudofile, and then saving that file. If SHIFT+F8 (initialize)
is pressed while the <assign> pseudofile is still displayed, PWB may
appear as though it is hung; it is actually reinitializing each statement of the
editor settings (<assign>) pseudofile.

MORE INFORMATION
================

The following steps will reproduce this behavior:

1. Enter PWB and select the Options menu.

2. Choose the Editor Settings menu.

3. Make a change in the <assign> pseudofile and then save it.

4. Press the "initialize" keystroke combination (SHIFT+F8) and a popup box will
  appear stating "reinitializing...". The reinitialization is actually taking
  place but it is very slow because PWB is rebuilding the <assign>
  pseudofile for each entry in your TOOLS.INI file.

This behavior does not occur in PWB version 1.00. Version 1.10 includes a change
to the earlier version; you can see a new assignment (made via "arg textarg
<assign>") immediately updated if you are viewing the <assign>
pseudofile.

This is expected behavior because the <assign> pseudofile is meant to show
the settings that were in effect at the time the file was displayed. It is not
recommended that it be dynamically updated except via the mechanism of actually
editing the file. If you changed a setting via "arg textarg assign" (ALT+A
textarg ALT+=), a better way to view your new setting(s) is by using "refresh"
(SHIFT+F7), or by switching away and back again via "setfile" (F2).

Additional query words: kbinf 1.10 PWBIss

======================================================================
Keywords          : kb16bitonly 
Technology        : kbAudDeveloper kbPWBSearch kbZNotKeyword3 kbPWB110DOS kbPWB110OS2
Version           : MS-DOS:1.1; OS/2:1.1

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.