Re: Command Shell Annoyance
Violaine Batthish <[email protected]> Tue, 20 Apr 2004 10:54:01 -0400
| Newsgroups | gmane.comp.systems.as400.code |
|---|---|
| Message-ID | <OF7E695132.7BE3C0DE-ON85256E7C.0050DB73-85256E7C.0051D9B0@ca.ibm.com> |
Hi Craig, When the Command Shell is instantiated in CODE Editor a new editor "document" is created with the command shell contents (you will notice that the command shell behaves somewhat like a cross between a DOS shell, iSeries command line, and a CODE Editor document). The command shell document doesn't exist on your machine until you save it (like any CODE Editor document). How can that be done? Well, 1 of 2 ways: 1) The user explicitly saves the Command Shell by either pressing Ctrl+S or using the File->Save menu option 2) When you exit CODE Editor and the Command Shell has been activated, you usually see the message: CODE - EVF9452W: This session may contain an active program do you want to close the session without saving your data? Now, pressing either Yes or No doesn't cause the command shell to be saved, but I have seen users who misunderstanding that the "saving your data" here relates to saving any information relating to any active running commands in the command shell, try to save the command shell document by doing 1) Once the command shell is saved (basically the user is saving a log of what happened), it causes the editor to give focus on any subsequent invocations of the command shell, as the editor believes that the user wishes to see the log of the saved session. There is no way to change this behaviour. To eliminate this problem 1) delete the old command shell file 2) do not save the command shell log Hope this helps! Violaine Batthish WebSphere Development Studio Client, IBM Toronto Lab code400-l-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] wrote on 04/20/2004 10:06:50 AM: > > > > > I saw someone with this same problem. Their file "Command Shell" was in > C:\Documents and Settings\<user>. They were on WDSC 5.1.0.2. > Renaming this file fixed the problem too. I never had this problem (on > WDSC 5.1.0.2 too) and I cannot see the "Command Shell" file anywhere on my > PC. > His Command Shell name on the ring was "C:\Documents and > Settings\<user>\Command Shell". > After renaming the file, his Command Shell name on the ring is "Command > Shell". Just like mine. > Going to the Command Shell displays "File Command Shell created", but I > still don't see it on my PC (which is probably good). > The contents of his "Command Shell" file showed Command Shell data usually > seen in Command Shell. > Does anyone know how the "Command Shell" file could be created on the PC > and not deleted? > Could this have been due to a migration to a new version and left as > residue? > Why would there be a message about "File Command Shell" created if we can't > see it on the PC? Is it in memory? > > Thanks, > Craig _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries disucssion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-l