From: chase Date: Wed, 18 Apr 2018 11:43:05 +0000 (-0700) Subject: Last of the spelling fixed X-Git-Tag: 2.2.4a~55^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=33d2749ea3498e3d4aff79e20895b5398fdfb8ab;p=oweals%2Fcde.git Last of the spelling fixed --- diff --git a/cde/config/cf/scoLib.rules b/cde/config/cf/scoLib.rules index 187edb41..160ff8e6 100644 --- a/cde/config/cf/scoLib.rules +++ b/cde/config/cf/scoLib.rules @@ -5,7 +5,7 @@ XCOMM $XConsortium: scoLib.rules /main/2 1996/09/28 16:12:20 rws $ * build it into a different name so that we do not hose people by having * the library gone for long periods. * - * Work around SCO sh enviroment size problem. + * Work around SCO sh environment size problem. */ #ifndef SharedLibraryTarget3 #define SharedLibraryTarget3(libname,rev,solist1,solist2,solist3,down,up) @@\ diff --git a/cde/config/cf/xfree86.cf b/cde/config/cf/xfree86.cf index 17eadb10..49d448d1 100644 --- a/cde/config/cf/xfree86.cf +++ b/cde/config/cf/xfree86.cf @@ -429,7 +429,7 @@ XF98LINKKITDIR = LinkKitDir #endif /* - * Some commonly refered to directories are defined here. + * Some commonly referred to directories are defined here. */ #if XF86LinkKit diff --git a/cde/doc/C/guides/docbookGuide/book.sgm b/cde/doc/C/guides/docbookGuide/book.sgm index a3d8a198..25e07ba7 100644 --- a/cde/doc/C/guides/docbookGuide/book.sgm +++ b/cde/doc/C/guides/docbookGuide/book.sgm @@ -920,7 +920,7 @@ Sect hierarchy) may be inserted between block-oriented elements anywhere, with its Renderas attribute set to an appropriate value. Sects also have a Renderas attribute, so that you may -accomodate cases for which it is desired that, +accommodate cases for which it is desired that, for example, all the headings in a book part appear as third-level heads: @@ -1813,7 +1813,7 @@ RefEntry definitive conventional format. The arrangement of information in the initial divisions of a reference entry -may be rather complicated. RefEntry accomodates +may be rather complicated. RefEntry accommodates several alternate structures for this information. For example, a typical reference entry has only a single subject (here, RefName), which is @@ -2074,7 +2074,7 @@ language of a DocBook instance is U.S. English unless specified otherwise. “In-line” vs. “In flow” -In this document, “in-line” means ”occuring within a line +In this document, “in-line” means ”occurring within a line of text, like a character or character string, not causing a line break.” This term is sometimes used to refer to objects such as an illustration around which @@ -2221,7 +2221,7 @@ as published. It contains plain text Author -Author of a document, occuring in +Author of a document, occurring in AuthorGroup. It consists of one or more of the following, in any order: Honorific, Firstname, Surname, Lineage, OtherName, @@ -2318,7 +2318,7 @@ by block-oriented elements. It has common attributes. A collection of book components. The Book content model is loose enough -to accomodate English, French, and Japanese books. +to accommodate English, French, and Japanese books. A Book may have a Title and TitleAbbrev, followed in order by an optional BookInfo, an optional ToC, diff --git a/cde/doc/C/guides/dtkshGuide/ch01.sgm b/cde/doc/C/guides/dtkshGuide/ch01.sgm index 5c3b667b..574904aa 100644 --- a/cde/doc/C/guides/dtkshGuide/ch01.sgm +++ b/cde/doc/C/guides/dtkshGuide/ch01.sgm @@ -391,7 +391,7 @@ for these commands are: The actual commands to create a push button widget are: XtCreateWidget BUTTON button XmPushButton $TOPLEVEL XmCreatePushButton BUTTON $TOPLEVEL button -Each of the preceeding commands do exactly the same thing: create an +Each of the preceding commands do exactly the same thing: create an unmanaged push button. Note that no resource values are set. Suppose that you want the background color of the push button to be red, and the foreground color to be black. You can set the values of these resources this way: diff --git a/cde/doc/C/guides/man/m3_Dt/ActionCa.sgm b/cde/doc/C/guides/man/m3_Dt/ActionCa.sgm index fff0435d..3389bb7a 100644 --- a/cde/doc/C/guides/man/m3_Dt/ActionCa.sgm +++ b/cde/doc/C/guides/man/m3_Dt/ActionCa.sgm @@ -143,7 +143,7 @@ No DtACTION_FAILED -An error occured and a normal termination is no longer possible. +An error occurred and a normal termination is no longer possible. The action service may have failed to start the action or lost contact with and abandoned the action. Once this status value is returned, an error dialog may be diff --git a/cde/doc/C/guides/man/m3_Dt/InfoShow.sgm b/cde/doc/C/guides/man/m3_Dt/InfoShow.sgm index 99a87262..e03aa0e2 100644 --- a/cde/doc/C/guides/man/m3_Dt/InfoShow.sgm +++ b/cde/doc/C/guides/man/m3_Dt/InfoShow.sgm @@ -84,7 +84,7 @@ Specifies the information library section in generalized locator format. DtINFO_SHOW_OK -ToolTalk request succesfully sent. +ToolTalk request successfully sent. diff --git a/cde/doc/C/guides/man/man1_dt/srkdump.sgm b/cde/doc/C/guides/man/man1_dt/srkdump.sgm index 30d8b8bd..fd939627 100644 --- a/cde/doc/C/guides/man/man1_dt/srkdump.sgm +++ b/cde/doc/C/guides/man/man1_dt/srkdump.sgm @@ -85,7 +85,7 @@ databases. Sets the frequency of occurrence threshold for reporting words to threshold. dtsrkdump will output only those words that occure in at least -threshold records. Setting the threshhold to 1 +threshold records. Setting the threshold to 1 will output all words. If neither the −t nor −p option is specified, the default threshold is −t100. diff --git a/cde/doc/C/guides/man/man4/dtresour.sgm b/cde/doc/C/guides/man/man4/dtresour.sgm index a6b9796e..b3fe5816 100644 --- a/cde/doc/C/guides/man/man4/dtresour.sgm +++ b/cde/doc/C/guides/man/man4/dtresour.sgm @@ -60,7 +60,7 @@ Ordinarily, this would mean that the user's $HOME/.Xdefaults file would be ignored. However, the -session manager accomodates +session manager accommodates $HOME/.Xdefaults by merging it into the RESOURCE_MANAGER at session startup as described above. diff --git a/cde/doc/C/guides/man/man4/dtsdlfil.sgm b/cde/doc/C/guides/man/man4/dtsdlfil.sgm index 700b0e85..2f2eca6d 100644 --- a/cde/doc/C/guides/man/man4/dtsdlfil.sgm +++ b/cde/doc/C/guides/man/man4/dtsdlfil.sgm @@ -28,7 +28,7 @@ Semantic Delivery Language (sdl) files are used for presenting online information or application specific contextual help information in CDE. They -are refered to as Help Volumes, and contain the equivalent of a runtime +are referred to as Help Volumes, and contain the equivalent of a runtime version of the original, authored help information. Help Volumes can be viewed via one of the two CDE help dialog widgets provided as part of the CDE diff --git a/cde/doc/C/guides/man/man5/dtsearch.sgm b/cde/doc/C/guides/man/man5/dtsearch.sgm index c54bf495..6d8b8f80 100644 --- a/cde/doc/C/guides/man/man5/dtsearch.sgm +++ b/cde/doc/C/guides/man/man5/dtsearch.sgm @@ -196,7 +196,7 @@ language files are required and initialization will return fatal errors if they are missing. Some language files are optional and associated algorithms will be silently bypassed if they are missing. Files for supported languages may be edited to provide database specific -enhancements. At open time, database specific files supercede generic +enhancements. At open time, database specific files supersede generic language files. diff --git a/cde/doc/C/guides/usersGuide/ch02.sgm b/cde/doc/C/guides/usersGuide/ch02.sgm index ad1c1cde..fe94c0e3 100644 --- a/cde/doc/C/guides/usersGuide/ch02.sgm +++ b/cde/doc/C/guides/usersGuide/ch02.sgm @@ -169,7 +169,7 @@ session. Starting a Command-Line Session Command Line Login mode enables you to temporarily leave the desktop to -work in your operating system enviroment. Command Line Login mode is not +work in your operating system environment. Command Line Login mode is not a desktop session. When your system is in Command Line Login mode, the desktop is suspended. You log in using your operating system mechanism rather than Login Manager. There are no windows because the X server is not diff --git a/cde/doc/C/help/Textedit/Ref.sgm b/cde/doc/C/help/Textedit/Ref.sgm index 27cfa449..519cb6bf 100644 --- a/cde/doc/C/help/Textedit/Ref.sgm +++ b/cde/doc/C/help/Textedit/Ref.sgm @@ -1620,7 +1620,7 @@ the standAlone resource to True. Specifies that the Text Editor server process should terminate when the last edit window for the display is closed. This option is applicable only with the -server option. If this option is not -specified, the Text Editor server process remains active indefinately, even +specified, the Text Editor server process remains active indefinitely, even when all edit windows have been closed. diff --git a/cde/doc/de_DE.ISO8859-1/help/Calendar/Tasks.sgm b/cde/doc/de_DE.ISO8859-1/help/Calendar/Tasks.sgm index f8d2457f..55b8448b 100644 --- a/cde/doc/de_DE.ISO8859-1/help/Calendar/Tasks.sgm +++ b/cde/doc/de_DE.ISO8859-1/help/Calendar/Tasks.sgm @@ -782,7 +782,7 @@ f Auf 'Anzeigen' klicken. Der angezeigte Kalender wechselt und zeigt den neuen Kalender an. - + Das Dialogfenster 'Anderen Kalender anzeigen' zeigt eine Nachricht mit dem Namen des angezeigten Kalenders an. Wurde der Kalendername inkorrekt eingegeben, wird eine Fehlermeldung angezeigt. diff --git a/cde/examples/dtdnd/buff.c b/cde/examples/dtdnd/buff.c index 95fd7a69..258e6697 100644 --- a/cde/examples/dtdnd/buff.c +++ b/cde/examples/dtdnd/buff.c @@ -277,7 +277,7 @@ apptTransferCallback( } /* - * Use abbreviated method of refering to the data buffers. + * Use abbreviated method of reffering to the data buffers. */ if (transferInfo != NULL && transferInfo->dropData != NULL) { diff --git a/cde/historical/OPENBUGS b/cde/historical/OPENBUGS index 4cd1c90e..54ad21c7 100644 --- a/cde/historical/OPENBUGS +++ b/cde/historical/OPENBUGS @@ -423,7 +423,7 @@ CDExc09859 Link/reflection design issue CDExc09861 Filetype selection in New File dialo CDExc09862 Selectable history list of accessed folders for recal CDExc09864 File links inherit the properties of the linked fil -CDExc09866 Save session auto to gaurd against crashe +CDExc09866 Save session auto to guard against crashes CDExc09868 Converge action/filetype def lang and front panel def lan CDExc09869 Changeable icon spacin CDExc09871 File Manager - shouldn`t have to hit enter change icon nam @@ -439,7 +439,7 @@ CDExc10236 FileMgr windows should auto-scroll on icon dra CDExc11333 tear-off menus wante CDExc11535 Provide switch user contro CDExc12086 Need multi-object move/copy/link -CDExc12097 Add seperate size control for iconic pat +CDExc12097 Add separate size control for iconic pat CDExc12697 Need to add scrolling drag CDExc12714 Buttons at bottom of Set Properties incorreect CDExc13978 Re-selecting Selected.* options creates 2nd dialo @@ -1030,7 +1030,7 @@ CDExc16465 remove printer animatio CDExc16700 Restore Front panel doesn t reinstate main panel icon CDExc16712 Tearoff menu fails to pop dow CDExc16779 Popup menu label is incorrec -CDExc16798 Error occured during parsing of frontpane +CDExc16798 Error occurred during parsing of frontpane CDExc17375 Client in front panel doesnt displayed popup menu correctl CDExc17655 Got new mail, and the workspace I was renaming rese CDExc17657 Front Panel for mail does not actually get new mai @@ -1777,7 +1777,7 @@ Component: Applications Sub-component: dtmail CDExc15608 Undocumented function is being used CDExc15822 Can not view postscript mail attachmen -CDExc21726 Dtmail tests fail on Fujistsu because of incorrect keyboard binding +CDExc21726 Dtmail tests fail on Fujitsu because of incorrect keyboard binding CDExc23026 Message/openMsg test having trouble with secondary windo CDExc23865 Dtmail tests which receive mail need to be updated for POP/IMAP CDExc24042 dtmail manual test needs updating @@ -1922,7 +1922,7 @@ CDExc23041 Threadsafe tests fail to run on Digita Component: DtWidget Sub-component: DtComboBox -CDExc20917 Fujistu DtWidget golden images need updatin +CDExc20917 Fujitsu DtWidget golden images need updatin CDExc22872 IBM DtWidget golden images need updatin Component: DtWidget Sub-component: DtEditor diff --git a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm index bae19dbf..cd2c42f7 100644 --- a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm +++ b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm @@ -111,7 +111,7 @@ shell is created. RETURN VALUE The id the XmPrintShell widget created on the -X Print Server connection, or NULL if an error has occured. +X Print Server connection, or NULL if an error has occurred. diff --git a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/RendA.sgm b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/RendA.sgm index 4649ead7..4e99710d 100644 --- a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/RendA.sgm +++ b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/RendA.sgm @@ -45,7 +45,7 @@ used in rendering a text component. If a resource in a rendition is unspecified, usually by setting it to XmAS_IS or XmUNSPECIFIED_PIXEL, then the value to be used for that resource is the value of the -immediately preceeding rendition in XmString. If that value +immediately preceding rendition in XmString. If that value is unspecified, then the preceding value is used, and so on. If no renditions specify a value for a resource, then a default value will be used. diff --git a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/StrGeC.sgm b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/StrGeC.sgm index 2bdcb281..850fd63f 100644 --- a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/StrGeC.sgm +++ b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/StrGeC.sgm @@ -111,7 +111,7 @@ XmSTRING_COMPONENT_UNKNOWN XmSTRING_COMPONENT_UNKNOWN. The data returned by these components is returned in the unknown_tag, unknown_length, and unknown_value fields. This apparent inconsistency is -designed to accomodate older applications that may not be equipped to +designed to accommodate older applications that may not be equipped to handle the newer component types of Motif version 2.0 and beyond. Consequently, the use of this procedure is not recommended. Instead, use the XmStringGetNextTriple procedure, which provides all the diff --git a/cde/lib/DtHelp/Access.c b/cde/lib/DtHelp/Access.c index 1ed13758..49bcded5 100644 --- a/cde/lib/DtHelp/Access.c +++ b/cde/lib/DtHelp/Access.c @@ -138,7 +138,7 @@ static const char *Period = "."; * * errno Values: * - * Purpose: To check for the existance of a volume. + * Purpose: To check for the existence of a volume. * ******************************************************************************/ static int diff --git a/cde/lib/DtHelp/AccessCCDF.c b/cde/lib/DtHelp/AccessCCDF.c index 60339b6f..27f03e6b 100644 --- a/cde/lib/DtHelp/AccessCCDF.c +++ b/cde/lib/DtHelp/AccessCCDF.c @@ -408,7 +408,7 @@ GetResourceStringArray ( valArray = (char **) _DtHelpCeAddPtrToArray ( (void **) valArray, (void *) token); /* - * If we malloc'ed ourselves out of existance...stop processing. + * If we malloc'ed ourselves out of existence...stop processing. */ if (!valArray) break; @@ -1146,7 +1146,7 @@ _DtHelpCeGetCcdfKeywordList ( (void **) vol->keywordTopics, (void *) topics); /* - * If we just malloc'ed ourselves out of existance... + * If we just malloc'ed ourselves out of existence... * stop here. */ if (vol->keywords == 0 || vol->keywordTopics == 0) @@ -1177,7 +1177,7 @@ _DtHelpCeGetCcdfKeywordList ( topics = (char **) _DtHelpCeAddPtrToArray ((void **) topics, (void *) token); /* - * If we just malloc'ed ourselves out of existance + * If we just malloc'ed ourselves out of existence * stop here. */ if (topics == NULL) diff --git a/cde/lib/DtHelp/AccessSDL.c b/cde/lib/DtHelp/AccessSDL.c index f182e574..716f88f3 100644 --- a/cde/lib/DtHelp/AccessSDL.c +++ b/cde/lib/DtHelp/AccessSDL.c @@ -564,7 +564,7 @@ ProcessEntry ( (void **) vol->keywordTopics, (void *) topics); /* - * If we just malloc'ed ourselves out of existance... + * If we just malloc'ed ourselves out of existence... * stop here. */ if (vol->keywords == 0 || vol->keywordTopics == 0) diff --git a/cde/lib/DtHelp/Callbacks.c b/cde/lib/DtHelp/Callbacks.c index 83dc236e..16f8577b 100644 --- a/cde/lib/DtHelp/Callbacks.c +++ b/cde/lib/DtHelp/Callbacks.c @@ -764,7 +764,7 @@ _DtHelpVertScrollCB( if (pDAS->firstVisible == callBack->value) return; - /* If a drag occured, reset the reason to increment, decrement, page */ + /* If a drag occurred, reset the reason to increment, decrement, page */ /* increment, or page decrement depending on the distance and direction */ /* dragged. */ if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED) @@ -900,7 +900,7 @@ _DtHelpHorzScrollCB( if (pDAS->virtualX == callBack->value) return; - /* If a drag occured, reset the reason to increment, decrement, page */ + /* If a drag occurred, reset the reason to increment, decrement, page */ /* increment, or page decrement depending on the distance and direction */ /* dragged. */ if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED) diff --git a/cde/lib/DtHelp/FileListUtils.c b/cde/lib/DtHelp/FileListUtils.c index 5258cb71..5b522780 100644 --- a/cde/lib/DtHelp/FileListUtils.c +++ b/cde/lib/DtHelp/FileListUtils.c @@ -488,7 +488,7 @@ Boolean _DtHelpFileListAddFile ( nameKey = _DtHelpCeStrHashToKey(fileName); } - /* look for prior existance and position */ + /* look for prior existence and position */ next = prev = NULL; while ( (next = _DtHelpFileListGetNext(*in_out_list, next)) != NULL ) { diff --git a/cde/lib/DtHelp/FileUtils.c b/cde/lib/DtHelp/FileUtils.c index 97fb8781..201e28f4 100644 --- a/cde/lib/DtHelp/FileUtils.c +++ b/cde/lib/DtHelp/FileUtils.c @@ -376,7 +376,7 @@ static char * pathsSet[_DtHELP_FILE_NUM_PATHS]; * * Purpose: Scans all paths of given type looking for a matching file * If file contains a valid absolute path, that is also - * acceptible. + * acceptable. * * FIX: merge _DtHelpFileLocate() and _DtHelpFileListScanPaths() *****************************************************************************/ diff --git a/cde/lib/DtHelp/FormatCCDF.c b/cde/lib/DtHelp/FormatCCDF.c index ba06acdf..1fb4eb8c 100644 --- a/cde/lib/DtHelp/FormatCCDF.c +++ b/cde/lib/DtHelp/FormatCCDF.c @@ -488,7 +488,7 @@ GetMbLen ( if (_DtHelpCeStrchr(font_str, ".", 1, &ptr) == 0) { /* - * make font_str two seperate strings by replacing + * make font_str two separate strings by replacing * the dot with a end of line. */ *ptr++ = '\0'; diff --git a/cde/lib/DtHelp/FormatMan.c b/cde/lib/DtHelp/FormatMan.c index 31fe58cd..9e72c2ac 100644 --- a/cde/lib/DtHelp/FormatMan.c +++ b/cde/lib/DtHelp/FormatMan.c @@ -300,12 +300,12 @@ GetNextState ( * a two-byte character would be be followed by two backspaces * and the same two-bytes to indicate that the character is to * be a bold character. - * Italic characters can either be preceeded by a backspace/underline + * Italic characters can either be preceded by a backspace/underline * or followed by a backspace/underline. I.E. _bsAB indicates a character. diff --git a/cde/lib/DtHelp/HelpDialog.c b/cde/lib/DtHelp/HelpDialog.c index 2dd02dc9..52492b61 100644 --- a/cde/lib/DtHelp/HelpDialog.c +++ b/cde/lib/DtHelp/HelpDialog.c @@ -752,7 +752,7 @@ static void Initialize( VariableInitialize(hw); - /* Validate the incomming arguments to make sure they are ok */ + /* Validate the incoming arguments to make sure they are ok */ /* Build the Menus bar */ @@ -879,7 +879,7 @@ static Boolean SetValues( Boolean updateRequest=FALSE; Boolean newTitle=FALSE; - /* Validate the incomming arguments to make sure they are ok */ + /* Validate the incoming arguments to make sure they are ok */ diff --git a/cde/lib/DtHelp/HelpQuickD.c b/cde/lib/DtHelp/HelpQuickD.c index e491c023..636a9fca 100644 --- a/cde/lib/DtHelp/HelpQuickD.c +++ b/cde/lib/DtHelp/HelpQuickD.c @@ -868,7 +868,7 @@ static void Initialize( defaultList); - /* Now Validate our incomming help requests topics */ + /* Now Validate our incoming help requests topics */ SetupDisplayType((Widget)qw ,DtJUMP_UPDATE); /* Just for fun, lets make sure our sizes are correct */ diff --git a/cde/lib/DtHelp/Layout.c b/cde/lib/DtHelp/Layout.c index 2f38dc85..1f570d34 100644 --- a/cde/lib/DtHelp/Layout.c +++ b/cde/lib/DtHelp/Layout.c @@ -2576,7 +2576,7 @@ ProcessTable( } /* - * Now, double check that the row heights will accomodate + * Now, double check that the row heights will accommodate * all the cells. */ for (row = 0; row < maxRows; row++) diff --git a/cde/lib/DtHelp/PathArea.c b/cde/lib/DtHelp/PathArea.c index eb06535e..268b16ac 100644 --- a/cde/lib/DtHelp/PathArea.c +++ b/cde/lib/DtHelp/PathArea.c @@ -363,7 +363,7 @@ void _DtHelpUpdatePathArea( if (retState == -1) { - /* Some error occured while processing the new toc, + /* Some error occurred while processing the new toc, * error out or something ??? */ } diff --git a/cde/lib/DtHelp/UtilSDL.c b/cde/lib/DtHelp/UtilSDL.c index 40059dfb..404f78b2 100644 --- a/cde/lib/DtHelp/UtilSDL.c +++ b/cde/lib/DtHelp/UtilSDL.c @@ -788,7 +788,7 @@ _DtHelpCeGetSdlCdata ( * Purpose: Parses the CDATA value for an element attribute. Expects the * pointer to be after the equals sign of the attribute. The * CDATA must be included in quotes (either single or double) - * and can have white space (spaces, newlines or tabs) preceeding + * and can have white space (spaces, newlines or tabs) preceding * it. Any newline encountered within the CDATA value is turned * into a space. Any quote enclosed in the CDATA must not be the * same type as what is used to delimit the CDATA value. I.E. diff --git a/cde/lib/DtHelp/XInterface.c b/cde/lib/DtHelp/XInterface.c index 0ff5f443..8f6ce084 100644 --- a/cde/lib/DtHelp/XInterface.c +++ b/cde/lib/DtHelp/XInterface.c @@ -947,10 +947,10 @@ DADrawLine ( * box_x,box_y Specifies the upper left hand corner of * the bounding box for this string. This * includes any traversal and/or link offsets - * relevent for the line this segment occupies. + * relevant for the line this segment occupies. * box_height Specifies the maximum height of the bounding * box for this string. This includes any - * traversal and/or offsets relevent to this + * traversal and/or offsets relevant to this * line. * old_flags Specifies ............. * new_flags Specifies ............. @@ -1336,10 +1336,10 @@ DADrawString ( * box_x,box_y Specifies the upper left hand corner of * the bounding box for this string. This * includes any traversal and/or link offsets - * relevent for the line this segment occupies. + * relevant for the line this segment occupies. * box_height Specifies the maximum height of the bounding * box for this string. This includes any - * traversal and/or offsets relevent to this + * traversal and/or offsets relevant to this * line. * link_type Specifies the link type if this spc is * part of a link. diff --git a/cde/lib/DtHelp/il/ilX.c b/cde/lib/DtHelp/il/ilX.c index 1ad2bdd3..3121653f 100644 --- a/cde/lib/DtHelp/il/ilX.c +++ b/cde/lib/DtHelp/il/ilX.c @@ -994,7 +994,7 @@ static unsigned int rawWriteMethodTable [(IL_X_MAX_VISUAL_TYPE + 1)] = { IL_XWC_WRITE_COLOR /* IL_XWC_COLOR_24 */ }; /* Table indexed by [image type, dst visual type], yielding writeType, - assuming best case: colors/grays alloc'd succesfully; else writeType + assuming best case: colors/grays alloc'd successfully; else writeType degrades. */ static unsigned int writeTypeTable [(IL_MAX_TYPE + 1) * diff --git a/cde/lib/DtHelp/il/iltiff.c b/cde/lib/DtHelp/il/iltiff.c index 8760dc98..8b32baac 100644 --- a/cde/lib/DtHelp/il/iltiff.c +++ b/cde/lib/DtHelp/il/iltiff.c @@ -337,7 +337,7 @@ register ilBool bigEndian; } /* END tag found */ } /* END each caller's tag */ - /* Tags read succesfully: free pFileTags (local buffer); return pTagAlloc. + /* Tags read successfully: free pFileTags (local buffer); return pTagAlloc. */ IL_FREE (pFileTags); pFileImage->context->error = IL_OK; diff --git a/cde/lib/DtHelp/il/iltiffint.h b/cde/lib/DtHelp/il/iltiffint.h index ca31534a..173a813f 100644 --- a/cde/lib/DtHelp/il/iltiffint.h +++ b/cde/lib/DtHelp/il/iltiffint.h @@ -161,7 +161,7 @@ typedef struct _ilFileRec { /* Seek to the given offset within the given file, taking into account the offset at which the logical file begins. - Returns true if seek succesful, else false. + Returns true if seek successful, else false. */ #ifdef DTLIB /* Used when this header is compiled into the DtHelp library */ diff --git a/cde/lib/DtHelp/il/ilwriteimage.c b/cde/lib/DtHelp/il/ilwriteimage.c index 425d6703..8583b4b1 100644 --- a/cde/lib/DtHelp/il/ilwriteimage.c +++ b/cde/lib/DtHelp/il/ilwriteimage.c @@ -381,7 +381,7 @@ ilSrcElementData srcData; if (!pPriv) return FALSE; - /* Element succesfully added; setup private data. + /* Element successfully added; setup private data. Increment the refCount in the image; see notes for ilImageDestroy(). */ pPriv->pImage = pImage; diff --git a/cde/lib/DtSearch/fileman.c b/cde/lib/DtSearch/fileman.c index 756dfbea..653eae34 100644 --- a/cde/lib/DtSearch/fileman.c +++ b/cde/lib/DtSearch/fileman.c @@ -212,7 +212,7 @@ FREE_SPACE_STR *find_free_space (DtSrINT32 req_size, FILE_HEADER * flh) (flh->hole_count[k])--; } else { - /* Hole size CAN NOT excede global batch_size in borodin */ + /* Hole size CAN NOT exceed global batch_size in borodin */ hole_check_size = (req_size * coeff < batch_size) ? req_size * coeff : batch_size; if (hole_check_size >= flh->hole_array[k][j].hole_size) { diff --git a/cde/lib/DtSearch/raima/dio.c b/cde/lib/DtSearch/raima/dio.c index 29784303..d0672883 100644 --- a/cde/lib/DtSearch/raima/dio.c +++ b/cde/lib/DtSearch/raima/dio.c @@ -855,7 +855,7 @@ F_ADDR page_no; #endif #ifndef SINGLE_USER if ( dbopen == 1 ) { - /* check shared access priviledges */ + /* check shared access privileges */ if ( !trans_id && !excl_locks[working_file] ) return( dberr(S_NOTRANS) ); if ( app_locks[working_file] >= 0 && !excl_locks[working_file] ) @@ -913,7 +913,7 @@ int hold; #ifndef SINGLE_USER if ( dbopen == 1 ) { - /* check shared access priviledges */ + /* check shared access privileges */ if (!app_locks[file] && !excl_locks[file] && !(file_ptr->ft_flags & STATIC)) @@ -974,7 +974,7 @@ int release; if (!trans_id && !excl_locks[file]) return( dberr(S_NOTRANS) ); - /* check shared access priviledges */ + /* check shared access privileges */ if ( app_locks[file] >= 0 && !excl_locks[file] ) return( dberr(S_NOTLOCKED) ); } @@ -1794,7 +1794,7 @@ F_ADDR *loc; /* pointer to allocated location */ PGZERO FAR *pgzero_ptr; #ifndef SINGLE_USER - /* check shared access priviledges */ + /* check shared access privileges */ if ( dbopen == 1 && !trans_id && !excl_locks[fno] ) return( dberr(S_NOTRANS) ); #endif @@ -1862,7 +1862,7 @@ F_ADDR loc; /* location to be freed */ PGZERO FAR *pgzero_ptr; #ifndef SINGLE_USER - /* check shared access priviledges */ + /* check shared access privileges */ if ( dbopen == 1 && !trans_id && !excl_locks[fno] ) return( dberr(S_NOTRANS) ); #endif diff --git a/cde/lib/DtSearch/raima/pathfcns.c b/cde/lib/DtSearch/raima/pathfcns.c index 18d705d8..7e8bd26f 100644 --- a/cde/lib/DtSearch/raima/pathfcns.c +++ b/cde/lib/DtSearch/raima/pathfcns.c @@ -94,8 +94,8 @@ static char FAR * remfile(P1(char FAR *)); int con_dbd(path_str,dbname,dbdpath) char FAR *path_str; /* (output) string to receive the full path to the dictionary */ -char FAR *dbname; /* contains the filename of the dictionary preceeded - optionally by a path preceeded optionally (DOS only) +char FAR *dbname; /* contains the filename of the dictionary preceded + optionally by a path preceded optionally (DOS only) by a drive spec. */ char FAR *dbdpath; /* contains one element of the environment variable DBDPATH. NULL means no DBDPATH defined. */ diff --git a/cde/lib/DtSvc/DtEncap/pty.c b/cde/lib/DtSvc/DtEncap/pty.c index 6a59513e..09fa357f 100644 --- a/cde/lib/DtSvc/DtEncap/pty.c +++ b/cde/lib/DtSvc/DtEncap/pty.c @@ -806,7 +806,7 @@ int post_fork_pty_channel_object(SPC_Channel_Ptr channel, } if(IS_SPCIO_STDERR(iomode)) { - /* If we want seperate STDOUT/STDERR, open a new FD */ + /* If we want separate STDOUT/STDERR, open a new FD */ if(IS_SPCIO_SEPARATE(iomode)) { if((stderrfd=open(channel->wires[STDERR]->slave_name, O_RDWR))<0) { SPC_Error(SPC_Cannot_Open_Slave, diff --git a/cde/lib/DtSvc/DtUtil1/ActionUtil.c b/cde/lib/DtSvc/DtUtil1/ActionUtil.c index ca14305b..79017730 100644 --- a/cde/lib/DtSvc/DtUtil1/ActionUtil.c +++ b/cde/lib/DtSvc/DtUtil1/ActionUtil.c @@ -157,7 +157,7 @@ _DtBasename( const char *s ) /******************************************************************************* * _DtPathString -- returns the path portion of the "host:/path" string * passed in as a parameter. - * The incomming string is assumed to be in : "[host:]/path format. + * The incoming string is assumed to be in : "[host:]/path format. * NOTE: a FULL path name is required. ******************************************************************************/ char * @@ -192,7 +192,7 @@ _DtPathname( const char *s) * _DtDirname -- returns the directory portion of the file * path string passed in as a parameter. The original string * may be modified to remove trailing slashes. - * The incomming string is assumed to be in : "[host:/]dir/file" format. + * The incoming string is assumed to be in : "[host:/]dir/file" format. ******************************************************************************/ char * _DtDirname( const char *s) @@ -1102,7 +1102,7 @@ _DtActInvRecT *_DtActAllocInvRec() * * _DtActFreeChildRec() * - * Completely free the contents of, and free the existance of a childRec. + * Completely free the contents of, and free the existence of a childRec. * *****************************************************************************/ diff --git a/cde/lib/DtSvc/DtUtil1/CmdInv.h b/cde/lib/DtSvc/DtUtil1/CmdInv.h index 0a17576b..2d845946 100644 --- a/cde/lib/DtSvc/DtUtil1/CmdInv.h +++ b/cde/lib/DtSvc/DtUtil1/CmdInv.h @@ -162,7 +162,7 @@ _DtInitializeCommandInvoker( * * Notes: * - * This function must be preceeded by a call to + * This function must be preceded by a call to * "_DtInitializeCommandInvoker". * *****************************************************************************/ diff --git a/cde/lib/DtSvc/DtUtil1/DbReader.c b/cde/lib/DtSvc/DtUtil1/DbReader.c index d9396ca8..93ab9b7e 100644 --- a/cde/lib/DtSvc/DtUtil1/DbReader.c +++ b/cde/lib/DtSvc/DtUtil1/DbReader.c @@ -582,7 +582,7 @@ read_line ( * Description: * * This function removes the slashes from a string unless the slash - * is preceeded by a slash. It also remove whitespace from the end + * is preceded by a slash. It also remove whitespace from the end * of the string. * * Synopsis: diff --git a/cde/lib/DtSvc/DtUtil1/DtHash.c b/cde/lib/DtSvc/DtUtil1/DtHash.c index fb40246b..b6133926 100644 --- a/cde/lib/DtSvc/DtUtil1/DtHash.c +++ b/cde/lib/DtSvc/DtUtil1/DtHash.c @@ -252,7 +252,7 @@ void * _DtUtilDelHash(DtHashTbl t, const unsigned char * key) return(NULL); /* not found */ } /* tmp now points to entry marked for deletion, prev to - item preceeding in bucket chain or NULL if tmp is first. + item preceding in bucket chain or NULL if tmp is first. remove from bucket chain first.... diff --git a/cde/lib/DtSvc/DtUtil2/DtEnvMap.c b/cde/lib/DtSvc/DtUtil2/DtEnvMap.c index 075c50e2..13404acc 100644 --- a/cde/lib/DtSvc/DtUtil2/DtEnvMap.c +++ b/cde/lib/DtSvc/DtUtil2/DtEnvMap.c @@ -348,7 +348,7 @@ char *_DtEnv_tt_file_netfile( ttfreeAndNull( fragList[hitIdx].pathFragMapped ); /* - * Since the cache is 100% full, ocassionally reset + * Since the cache is 100% full, occasionally reset * everyone's cacheHit rate so entries that were only * popular long ago don't get locked in. */ @@ -574,7 +574,7 @@ char *_DtEnv_tt_host_netfile_file( ttfreeAndNull( fragList[hitIdx].pathFragMapped ); /* - * Since the cache is 100% full, ocassionally reset + * Since the cache is 100% full, occasionally reset * everyone's cacheHit rate so entries that were only * popular long ago don't get locked in. */ @@ -701,7 +701,7 @@ static char **_DtEnvGetMapList( mapList = (char **) malloc( sizeof(char *) * (availListSize) ); /* - * Break up the colon seperated string into an indexable array. + * Break up the colon separated string into an indexable array. */ tmpPtr = strdup(mapListStr); /* work copy for strtok */ diff --git a/cde/lib/DtSvc/DtUtil2/EnvControl.c b/cde/lib/DtSvc/DtUtil2/EnvControl.c index 1f9a92cd..af26588c 100644 --- a/cde/lib/DtSvc/DtUtil2/EnvControl.c +++ b/cde/lib/DtSvc/DtUtil2/EnvControl.c @@ -73,7 +73,7 @@ static void _EnvAdd (char *, char *, unsigned int); * NOTES on an application's environ(5): * * The environment variable is an array of NULL-terminated strings. -* char **environ is defined in crt.o and is publically extern-ed to +* char **environ is defined in crt.o and is publicly extern-ed to * all applications. There is one such variable per UN*X application. * * To deference an environment string, as in the debugger, use: diff --git a/cde/lib/DtSvc/DtUtil2/Setlocale.h b/cde/lib/DtSvc/DtUtil2/Setlocale.h index e5d3c12c..abae3e71 100644 --- a/cde/lib/DtSvc/DtUtil2/Setlocale.h +++ b/cde/lib/DtSvc/DtUtil2/Setlocale.h @@ -45,7 +45,7 @@ #include #include
-#ifdef sco /* XPG4isms comming soon */ +#ifdef sco /* XPG4isms coming soon */ #ifndef _NL_DIRECT #define _NL_DIRECT typedef int nl_direct; diff --git a/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c b/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c index b7f0b1b9..24f633af 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c +++ b/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c @@ -248,7 +248,7 @@ _DtTermPrimBufferFreeBuffer ** ** NOTE: ** Given this implementation, the memory allocated to the buffer will -** never decrease it simply increases to accomodate the largest size +** never decrease it simply increases to accommodate the largest size ** that has ever been requested. */ void diff --git a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c index b149ea2d..bdd0b94e 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c +++ b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c @@ -1009,7 +1009,7 @@ _DtTermPrimBufferEraseWc ** at this point, startCharInfo points to the first character ** to erase, and stopCharInfo points to the last character ** we want to erase, make sure there is enough space between - ** the two to accomodate the replacement spaces... + ** the two to accommodate the replacement spaces... */ lengthErase = stopCol - startCol + 1; lengthInc = lengthErase - (stopCharInfo.u.pwc - startCharInfo.u.pwc + 1); diff --git a/cde/lib/DtTerm/TermPrim/TermPrimRender.c b/cde/lib/DtTerm/TermPrim/TermPrimRender.c index 64c5fe55..63bbf462 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrimRender.c +++ b/cde/lib/DtTerm/TermPrim/TermPrimRender.c @@ -1318,7 +1318,7 @@ buildDangleBuffer *dangleBufferLen = bufferLen + *mbPartialCharLen - writeLen; *dangleBuffer = (unsigned char *) XtMalloc(*dangleBufferLen); - /* copy over the unwritten part of the orignal buffer... */ + /* copy over the unwritten part of the original buffer... */ (void) memmove(*dangleBuffer, buffer + writeLen, bufferLen - writeLen); if (*mbPartialCharLen) { (void) memmove(*dangleBuffer + bufferLen - writeLen, mbPartialChar, diff --git a/cde/lib/DtWidget/EditAreaData.c b/cde/lib/DtWidget/EditAreaData.c index d7521309..f2b5ae46 100644 --- a/cde/lib/DtWidget/EditAreaData.c +++ b/cde/lib/DtWidget/EditAreaData.c @@ -578,7 +578,7 @@ insertWcharValue( * data - the data, the size of the data * * Returns 0 - contents were set sucessfully - * !0 - an error occured while setting the contents + * !0 - an error occurred while setting the contents * ***************************************************************************/ @@ -641,7 +641,7 @@ DtEditorSetContents( * filename - name of the file to read * * Returns 0 - contents were loaded sucessfully - * !0 - an error occured while loading the contents + * !0 - an error occurred while loading the contents * ***************************************************************************/ @@ -675,7 +675,7 @@ DtEditorSetContentsFromFile( * data - the data, the size of the data * * Returns 0 - contents were set sucessfully - * !0 - an error occured while setting the contents + * !0 - an error occurred while setting the contents * ***************************************************************************/ @@ -734,7 +734,7 @@ DtEditorAppend( * filename - name of the file to read * * Returns 0 - contents were appended sucessfully - * !0 - an error occured while appending the contents + * !0 - an error occurred while appending the contents * ***************************************************************************/ @@ -768,7 +768,7 @@ DtEditorAppendFromFile( * data - the data, the size of the data * * Returns 0 - contents were set sucessfully - * !0 - an error occured while setting the contents + * !0 - an error occurred while setting the contents * ***************************************************************************/ @@ -827,7 +827,7 @@ DtEditorInsert( * filename - name of the file to read * * Returns 0 - contents were inserted sucessfully - * !0 - an error occured while inserting the contents + * !0 - an error occurred while inserting the contents * ***************************************************************************/ @@ -867,7 +867,7 @@ DtEditorInsertFromFile( * * * Returns 0 - the portion was replaced sucessfully - * !0 - an error occured while replacing the portion + * !0 - an error occurred while replacing the portion * ***************************************************************************/ @@ -955,7 +955,7 @@ DtEditorReplace( * filename - local name of the file to read * * Returns 0 - contents were inserted sucessfully - * !0 - an error occured while inserting the contents + * !0 - an error occurred while inserting the contents * ***************************************************************************/ @@ -1647,7 +1647,7 @@ getWcharValue( * reports there are unsaved changes. * * Returns 0 - contents were retrieved sucessfully - * !0 - an error occured while retrieving the contents + * !0 - an error occurred while retrieving the contents * * The structure passed in will be set according to the * requested format: diff --git a/cde/lib/DtWidget/Editor.c b/cde/lib/DtWidget/Editor.c index 879adafe..34b86157 100644 --- a/cde/lib/DtWidget/Editor.c +++ b/cde/lib/DtWidget/Editor.c @@ -5858,13 +5858,13 @@ Center (FormatData *data, * and manipulation needed to do the job. * * Words are kept in wordbuf[] without trailing nulls. It is large enough - * to accomodate two lines' worth of words plus wrap around to start a new + * to accommodate two lines' worth of words plus wrap around to start a new * word (which might be as big as a line) without overwriting old words * not yet dumped. wordcp -> next free location in wordbuf[]; * wordcpwrap -> last place a new word is allowed to start. * * Words are pointed to and described by word[] structures. The array is - * big enough to accomodate two lines' worth of words, assuming each word + * big enough to accommodate two lines' worth of words, assuming each word * takes at least two characters (including separator). wordbase and * wordlimit are the bounds of the array. wordfirst remembers the first * word in the array not yet printed. wordat is the word being worked on diff --git a/cde/lib/DtWidget/SearchCalls.c b/cde/lib/DtWidget/SearchCalls.c index 36e19968..0c26a920 100644 --- a/cde/lib/DtWidget/SearchCalls.c +++ b/cde/lib/DtWidget/SearchCalls.c @@ -149,7 +149,7 @@ DtEditorInvokeSpellDialog( /* * The filter was started successfully. * Initialize the Spell dialog and get ready to receive - * the list of mispelled words. + * the list of misspelled words. */ _DtEditorSearch(pPriv, True, True); _DtTurnOnHourGlass(M_search_dialog(pPriv)); diff --git a/cde/lib/csa/iso8601.c b/cde/lib/csa/iso8601.c index e659d15c..edef16ab 100644 --- a/cde/lib/csa/iso8601.c +++ b/cde/lib/csa/iso8601.c @@ -268,7 +268,7 @@ _csa_range_to_iso8601(time_t start, time_t end, char *buf) { char tmpstr1[BUFSIZ], tmpstr2[BUFSIZ]; - /* validate: ticks must be +ve, and end can't preceed start */ + /* validate: ticks must be +ve, and end can't precede start */ if ((start < 0) || (end < 0) || (end < start)) { return(-1); } diff --git a/cde/lib/pam/examples/login/login.c b/cde/lib/pam/examples/login/login.c index 41883489..6c2bece9 100644 --- a/cde/lib/pam/examples/login/login.c +++ b/cde/lib/pam/examples/login/login.c @@ -1875,7 +1875,7 @@ process_chroot_logins(void) } /* - * establish_user_environment - Set up the new users enviornment + * establish_user_environment - Set up the new users environment */ static void diff --git a/cde/lib/pam/man/man3/pam_strerror.3 b/cde/lib/pam/man/man3/pam_strerror.3 index c4f42ded..25810ad5 100644 --- a/cde/lib/pam/man/man3/pam_strerror.3 +++ b/cde/lib/pam/man/man3/pam_strerror.3 @@ -37,7 +37,7 @@ The application should not free or modify the string returned. .LP The .I pamh -arguement is the +argument is the .SM PAM handle obtained by a prior call to .BR pam_start(\|) . diff --git a/cde/lib/tt/bin/ttdbserverd/db_server_functions.C b/cde/lib/tt/bin/ttdbserverd/db_server_functions.C index bcea4502..b2e694f0 100644 --- a/cde/lib/tt/bin/ttdbserverd/db_server_functions.C +++ b/cde/lib/tt/bin/ttdbserverd/db_server_functions.C @@ -2156,7 +2156,7 @@ _tt_garbage_collect_1(void * /*NOTUSED*/, // // Collect the garbage and delete old sessions in - // a seperate thread. As soon as the thread is started + // a separate thread. As soon as the thread is started // this function returns and the dbserver is again // processing user requests. id = _tt_run_garbage_collect(OPT_GARBAGE_IN_PARALLEL); diff --git a/cde/lib/tt/bin/ttdbserverd/dm_server.C b/cde/lib/tt/bin/ttdbserverd/dm_server.C index 70da6e2c..f2aebf54 100644 --- a/cde/lib/tt/bin/ttdbserverd/dm_server.C +++ b/cde/lib/tt/bin/ttdbserverd/dm_server.C @@ -502,7 +502,7 @@ _tt_oid_accessp(int _isfd, char *rec, int mode) /* check access request against permissions */ switch (category) { case DM_USER: - // The owner is allowed all priviledges + // The owner is allowed all privileges return 1; /* this left here in case we want to check someday * switch (mode) { diff --git a/cde/lib/tt/demo/edit_demo/edit.c b/cde/lib/tt/demo/edit_demo/edit.c index 554e2ceb..af9dcbf8 100644 --- a/cde/lib/tt/demo/edit_demo/edit.c +++ b/cde/lib/tt/demo/edit_demo/edit.c @@ -442,7 +442,7 @@ edit_hilite_obj(msg) /* * Make a ToolTalk spec out of the selected text in this textpane. Once - * the spec is succesfully created and written to a database, wrap the + * the spec is successfully created and written to a database, wrap the * text with C-style comments in order to delimit the object and send out * a notification that an object has been created in this file. */ diff --git a/cde/lib/tt/lib/mp/mp_c_mp.C b/cde/lib/tt/lib/mp/mp_c_mp.C index 28712478..13fc3647 100644 --- a/cde/lib/tt/lib/mp/mp_c_mp.C +++ b/cde/lib/tt/lib/mp/mp_c_mp.C @@ -64,7 +64,7 @@ _Tt_c_mp:: // // Returns: // TT_OK -// TT_ERR_NOMP - the initial session could not be initialised. +// TT_ERR_NOMP - the initial session could not be initialized. Tt_status _Tt_c_mp:: c_init() diff --git a/cde/lib/tt/lib/mp/mp_desktop.C b/cde/lib/tt/lib/mp/mp_desktop.C index 52a7cfb8..f03adbd6 100644 --- a/cde/lib/tt/lib/mp/mp_desktop.C +++ b/cde/lib/tt/lib/mp/mp_desktop.C @@ -181,7 +181,7 @@ init(_Tt_string dt_handle, _Tt_dt_type /* t */) } -// I/O error handler. Longjmp back to before the error occured. +// I/O error handler. Longjmp back to before the error occurred. int _Tt_desktop:: io_error_proc(void *) { diff --git a/cde/lib/tt/lib/tt_options.h b/cde/lib/tt/lib/tt_options.h index 7f51f8eb..88626ef6 100644 --- a/cde/lib/tt/lib/tt_options.h +++ b/cde/lib/tt/lib/tt_options.h @@ -144,7 +144,7 @@ * OPT_AUTOMOUNT_PATH_FIX - set for systems with autmounters that do * not treat /tmp_mnt/nfs/... the same as /nfs/... in terms of which * can tickle the automounter. For many systems, a mount can only be - * tickled into existance using /nfs/... This is bad since calls to + * tickled into existence using /nfs/... This is bad since calls to * say realpath() will hand back /tmp_mnt/nfs/... which is for all * practical purposes temporary. * @@ -174,7 +174,7 @@ * files prior to exiting. * * OPT_GARBAGE_IN_PARALLEL - If TRUE, enables garbage collection - * in a seperate thread (or process). If FALSE + * in a separate thread (or process). If FALSE * perform garbage collection in the same * thread (or process). */ diff --git a/cde/lib/tt/lib/util/tt_audit.C b/cde/lib/tt/lib/util/tt_audit.C index 356b3d63..1dd4bf36 100644 --- a/cde/lib/tt/lib/util/tt_audit.C +++ b/cde/lib/tt/lib/util/tt_audit.C @@ -506,7 +506,7 @@ entry(const char *argskey, _Tt_entry_pt func, ...) } break; // this is an index for a particular argument - // We have a seperate case for this in order to + // We have a separate case for this in order to // factor out the test below. case ARG_INTEGER: { int arg_index; diff --git a/cde/lib/tt/lib/util/tt_ldpath.h b/cde/lib/tt/lib/util/tt_ldpath.h index 89409476..af6e5993 100644 --- a/cde/lib/tt/lib/util/tt_ldpath.h +++ b/cde/lib/tt/lib/util/tt_ldpath.h @@ -37,7 +37,7 @@ /* * Attempts to find the best path to a dynamic library named by libname. - * If succesful then 1 is returned and path will be set to the path to + * If successful then 1 is returned and path will be set to the path to * the library. Otherwise 0 is returned. This function will use the * appropiate combination of LD_LIBRARY_PATH and the required hardcoded * paths to perform the search. diff --git a/cde/lib/tt/mini_isam/isfixrec.c b/cde/lib/tt/mini_isam/isfixrec.c index 2a6edb91..b0d16dd0 100644 --- a/cde/lib/tt/mini_isam/isfixrec.c +++ b/cde/lib/tt/mini_isam/isfixrec.c @@ -59,7 +59,7 @@ static void remove_from_chain(); /* used by _flrec_wrrec() */ * Output params: * recnum record number of the new record * - * Returns 0 if record was written succesfully, or -1 if any error. + * Returns 0 if record was written successfully, or -1 if any error. */ /*ARGSUSED*/ @@ -127,7 +127,7 @@ _flrec_write(fcb, record, recnum, reclen) * Output params: * record record buffer is filled with data * - * Returns 0 if record was read succesfully, or error code if any error. + * Returns 0 if record was read successfully, or error code if any error. */ int @@ -191,7 +191,7 @@ _fl_getpos(fcb, recnum) * record new record * int reclen (NOT USED) * - * Returns 0 if record was rewritten succesfully, or error code if any error. + * Returns 0 if record was rewritten successfully, or error code if any error. */ /*ARGSUSED*/ @@ -238,7 +238,7 @@ _flrec_rewrite(fcb, record, recnum, reclen) * FCB File Control Block * recnum record number of the record * - * Returns 0 if record was rewritten succesfully, or error code if any error. + * Returns 0 if record was rewritten successfully, or error code if any error. */ int @@ -293,7 +293,7 @@ _flrec_delete(fcb, recnum) * record record buffer * int reclen (NOT USED) * - * Returns 0 if record was written succesfully, or error code if any error. + * Returns 0 if record was written successfully, or error code if any error. * * Note that _flrec_wrrec() commits updates and syncs the FCB to avoid * buffer pool overflow. diff --git a/cde/lib/tt/mini_isam/isrepair.c b/cde/lib/tt/mini_isam/isrepair.c index d030607c..041b3e00 100644 --- a/cde/lib/tt/mini_isam/isrepair.c +++ b/cde/lib/tt/mini_isam/isrepair.c @@ -159,7 +159,7 @@ isrepair(isfname, verbose) maxreclen = ldint(cntlpg + CP_MAXRECLEN_OFF); /* - * Check for maxreclen field value of -1. This could have occured due to + * Check for maxreclen field value of -1. This could have occurred due to * ISMAXRECLEN being incorrectly set to 65535 in an earlier version. If * this field is -1 and it's a variable length record, reset to the new * value of MAXRECLEN. This means that this field will be repaired when diff --git a/cde/lib/tt/mini_isam/isvarrec.c b/cde/lib/tt/mini_isam/isvarrec.c index eae62b13..f8433673 100644 --- a/cde/lib/tt/mini_isam/isvarrec.c +++ b/cde/lib/tt/mini_isam/isvarrec.c @@ -62,7 +62,7 @@ static _istail_read(); * Output params: * recnum record number of the new record * - * Returns 0 if record was written succesfully, or -1 if any error. + * Returns 0 if record was written successfully, or -1 if any error. */ /*ARGSUSED*/ @@ -137,7 +137,7 @@ _vlrec_write(fcb, record, recnum, reclen) * Output params: * record record buffer is filled with data * - * Returns 0 if record was read succesfully, or error code if any error. + * Returns 0 if record was read successfully, or error code if any error. */ int @@ -211,7 +211,7 @@ _vl_getpos(fcb, recnum) * record new record * int reclen (NOT USED) * - * Returns 0 if record was rewritten succesfully, or error code if any error. + * Returns 0 if record was rewritten successfully, or error code if any error. */ /*ARGSUSED*/ @@ -268,7 +268,7 @@ _vlrec_rewrite(fcb, record, recnum, reclen) * FCB File Control Block * recnum record number of the record * - * Returns 0 if record was rewritten succesfully, or error code if any error. + * Returns 0 if record was rewritten successfully, or error code if any error. */ int @@ -330,7 +330,7 @@ _vlrec_delete(fcb, recnum) * record record buffer * int reclen (NOT USED) * - * Returns 0 if record was written succesfully, or error code if any error. + * Returns 0 if record was written successfully, or error code if any error. * * Note that _vlrec_wrrec() commits updates and syncs the FCB to avoid * buffer pool overflow. diff --git a/cde/lib/tt/slib/mp_s_message.C b/cde/lib/tt/slib/mp_s_message.C index fcb2658b..75fdbe6a 100644 --- a/cde/lib/tt/slib/mp_s_message.C +++ b/cde/lib/tt/slib/mp_s_message.C @@ -63,7 +63,7 @@ _Tt_s_message() // The active message count is just to enforce the limit // on the number of active messages. Doing this in the // constructor was expedient, but because we construct - // a message before _tt_mp is initialised, we have + // a message before _tt_mp is initialized, we have // to omit it in that case. if (_tt_s_mp) { _tt_s_mp->active_messages++; diff --git a/cde/lib/tt/slib/mp_s_procid.C b/cde/lib/tt/slib/mp_s_procid.C index fa1e196e..dad9eaa2 100644 --- a/cde/lib/tt/slib/mp_s_procid.C +++ b/cde/lib/tt/slib/mp_s_procid.C @@ -1303,7 +1303,7 @@ set_timeout_for_message(const _Tt_message &m) // -// Called by _Tt_mp::service_timeout when a timeout event happend with +// Called by _Tt_mp::service_timeout when a timeout event happened with // the given timeout. This function checks to see whether the timeout is // equal to or greater than the internal timeout (which is only set if we // signalled the client procid for a new message). If the timeout exceeds diff --git a/cde/programs/dsdm/proxy.c b/cde/programs/dsdm/proxy.c index 59e3ee5a..02de2f6c 100644 --- a/cde/programs/dsdm/proxy.c +++ b/cde/programs/dsdm/proxy.c @@ -406,7 +406,7 @@ ProxyInit(Display *dpy, Window dsdm_win) InitializeByteOrder(); - /* make motif_drag_win and proxy_win persistant */ + /* make motif_drag_win and proxy_win persistent */ XSetCloseDownMode(dpy, RetainPermanent); XInternAtoms(dpy, atom_names, NUM_ATOMS, False, atoms); diff --git a/cde/programs/dtappbuilder/src/ab/ab_utils.c b/cde/programs/dtappbuilder/src/ab/ab_utils.c index d704c0be..ddcbd7e4 100644 --- a/cde/programs/dtappbuilder/src/ab/ab_utils.c +++ b/cde/programs/dtappbuilder/src/ab/ab_utils.c @@ -221,7 +221,7 @@ ab_position_window( NULL); /* - * Adjust geometry values to accomodate window-frame + * Adjust geometry values to accommodate window-frame * * Also, if this routine is called before a window's contents have * been managed, its current available dimensions may be misleadingly diff --git a/cde/programs/dtappbuilder/src/ab/abobj_events.c b/cde/programs/dtappbuilder/src/ab/abobj_events.c index d3fa5ced..39699c11 100644 --- a/cde/programs/dtappbuilder/src/ab/abobj_events.c +++ b/cde/programs/dtappbuilder/src/ab/abobj_events.c @@ -1194,7 +1194,7 @@ interpose_button_event( { /* Check to see if the drag occurred while we are waiting for hte * double-click interval to expire. If so, then if the drag is - * outside the threshhold, cancel the double-click and initiate + * outside the threshold, cancel the double-click and initiate * a move or resize. */ if (d_click->waiting) diff --git a/cde/programs/dtappbuilder/src/ab/cgen_utils.c b/cde/programs/dtappbuilder/src/ab/cgen_utils.c index ce08ef84..537f9ae7 100644 --- a/cde/programs/dtappbuilder/src/ab/cgen_utils.c +++ b/cde/programs/dtappbuilder/src/ab/cgen_utils.c @@ -656,7 +656,7 @@ term_execute_command(CG_SUBCOMMAND cmd_code, STRING cmd, STRING argv[]) watchdog_pid = fork(); if (watchdog_pid == (pid_t)-1) { - /* error occured! */ + /* error occurred! */ util_printf_err("Could not create subprocess: %s\n", strerror(errno)); watchdog_pid = INVALID_PID; @@ -749,7 +749,7 @@ term_execute_command(CG_SUBCOMMAND cmd_code, STRING cmd, STRING argv[]) /*printf("frontline: child done!\n");*/ if (rc_pid == INVALID_PID) { - /* damn! an error occured... */ + /* damn! an error occurred... */ /*printf("frontline: error waiting for child! (%s)\n", util_strsafe(strerror(errno)));*/ status_code = CG_STATUS_ERROR; diff --git a/cde/programs/dtappbuilder/src/ab/pal.c b/cde/programs/dtappbuilder/src/ab/pal.c index 4a6f8249..c550daec 100644 --- a/cde/programs/dtappbuilder/src/ab/pal.c +++ b/cde/programs/dtappbuilder/src/ab/pal.c @@ -404,7 +404,7 @@ pal_get_editable_obj_info( * "editable" object, else directly compare the type & subtype. * * Note: the palitem structure test has precedence in order to - * accomodate the high-level types which map to multiple + * accommodate the high-level types which map to multiple * subtypes. i.e. If we have a "Radio Box", we want to map to * the "Choice" editable object 'super' type. */ diff --git a/cde/programs/dtappbuilder/src/abmf/msg_file.c b/cde/programs/dtappbuilder/src/abmf/msg_file.c index 607ad709..f33f0fa7 100644 --- a/cde/programs/dtappbuilder/src/abmf/msg_file.c +++ b/cde/programs/dtappbuilder/src/abmf/msg_file.c @@ -1192,7 +1192,7 @@ in_str_dup( } /* -** Transform a literal internal (byte-correct) string into a form acceptible +** Transform a literal internal (byte-correct) string into a form acceptable ** to gencat */ static void diff --git a/cde/programs/dtappbuilder/src/abmf/parse_c.c b/cde/programs/dtappbuilder/src/abmf/parse_c.c index 8eb2aded..98905a37 100644 --- a/cde/programs/dtappbuilder/src/abmf/parse_c.c +++ b/cde/programs/dtappbuilder/src/abmf/parse_c.c @@ -284,7 +284,7 @@ abmfP_parse_c_file(FILE *cFile, CSegArray *segmentsOutPtr) if ((rc < 0) && (rc != ERR_EOF)) { - /* failure occured */ + /* failure occurred */ segArray->numSegs = 0; return_code(rc); } diff --git a/cde/programs/dtappbuilder/src/libABobj/obj_notify.c b/cde/programs/dtappbuilder/src/libABobj/obj_notify.c index 34355641..59f2f829 100644 --- a/cde/programs/dtappbuilder/src/libABobj/obj_notify.c +++ b/cde/programs/dtappbuilder/src/libABobj/obj_notify.c @@ -497,7 +497,7 @@ objP_dispatch_event(OBJ_EVENT *event) if (ignoreEvents) { /* - * A critical error has occured (e.g., an event loop). Just + * A critical error has occurred (e.g., an event loop). Just * pretend everything is hunky-dory and ignore dispatch requests. */ iReturn= OK; diff --git a/cde/programs/dtappbuilder/src/libAButil/abio.c b/cde/programs/dtappbuilder/src/libAButil/abio.c index af5cdd1f..55407ab7 100644 --- a/cde/programs/dtappbuilder/src/libAButil/abio.c +++ b/cde/programs/dtappbuilder/src/libAButil/abio.c @@ -1553,7 +1553,7 @@ abio_close_block(FILE * outFile) } /* - * Write a character to the output file, preceeded by the indent string if we + * Write a character to the output file, preceded by the indent string if we * are on a new line. */ int @@ -1567,7 +1567,7 @@ abio_putc(FILE * outFile, char c) } /* - * Write characters to the output file, preceeded by the indent string if we + * Write characters to the output file, preceded by the indent string if we * are on a new line. */ int diff --git a/cde/programs/dtcalc/calctool.c b/cde/programs/dtcalc/calctool.c index e88329b3..36827f15 100644 --- a/cde/programs/dtcalc/calctool.c +++ b/cde/programs/dtcalc/calctool.c @@ -123,7 +123,7 @@ int basevals[4] = { 2, 8, 10, 16 } ; int left_pos[BCOLS] = { 3, 2, 1, 0 } ; /* Left positions. */ int right_pos[BCOLS] = { 0, 1, 2, 3 } ; /* "Right" positions. */ -/* Valid keys when an error condition has occured. */ +/* Valid keys when an error condition has occurred. */ /* MEM KEYS clr clr QUIT REDRAW */ char validkeys[MAXVKEYS] = { 'm', 'k', '\177', '\013', 'q', '\f' } ; @@ -378,7 +378,7 @@ do_dtcalc(int argc, char **argv) v->progname = argv[0] ; /* Save programs name. */ v->appname = NULL ; - init_cmdline_opts() ; /* Initialise command line option strings. */ + init_cmdline_opts() ; /* Initialize command line option strings. */ if ((ptr = strrchr(argv[0], '/')) != NULL) read_str(&v->appname, ptr+1) ; @@ -412,7 +412,7 @@ do_dtcalc(int argc, char **argv) make_items() ; /* Create server images and fir frames. */ if(v->display[0] == 0) - do_clear() ; /* Initialise and clear display. */ + do_clear() ; /* Initialize and clear display. */ if (v->rstate == TRUE) /* Show the memory register window? */ { @@ -949,7 +949,7 @@ init_vars(void) void -initialise(void) +initialize(void) { int i ; diff --git a/cde/programs/dtcalc/calctool.h b/cde/programs/dtcalc/calctool.h index 480ad92a..408037eb 100644 --- a/cde/programs/dtcalc/calctool.h +++ b/cde/programs/dtcalc/calctool.h @@ -524,7 +524,7 @@ struct calcVars { /* Calctool variables and options. */ int MPtresults[3][MP_SIZE] ; /* Current trigonometric results. */ enum base_type base ; /* Current base: BIN, OCT, DEC or HEX. */ - enum fcp_type curwin ; /* Window current event occured in. */ + enum fcp_type curwin ; /* Window current event occurred in. */ enum fcp_type pending_win ; /* Window that pending op came from. */ enum mode_type modetype ; /* Current calculator mode. */ enum mode_type pending_mode ; /* Mode for pending op. */ @@ -660,7 +660,7 @@ void grey_button P((int, int, int)) ; void grey_buttons P((enum base_type)) ; void handle_menu_selection P((int, int)) ; void handle_selection P(()) ; -void initialise P(()) ; +void initialize P(()) ; void init_cmdline_opts P(()) ; void init_graphics P(()) ; void init_options P(()) ; diff --git a/cde/programs/dtcalc/functions.c b/cde/programs/dtcalc/functions.c index 92a4cbe6..6679d3f9 100644 --- a/cde/programs/dtcalc/functions.c +++ b/cde/programs/dtcalc/functions.c @@ -564,11 +564,11 @@ do_calc(void) /* Perform arithmetic calculation and display result. */ void -do_clear(void) /* Clear the calculator display and re-initialise. */ +do_clear(void) /* Clear the calculator display and re-initialize. */ { clear_display() ; if (v->error) set_item(DISPLAYITEM, "") ; - initialise() ; + initialize() ; } diff --git a/cde/programs/dtcalc/text.c b/cde/programs/dtcalc/text.c index 76d5edfd..147ce8b3 100644 --- a/cde/programs/dtcalc/text.c +++ b/cde/programs/dtcalc/text.c @@ -46,7 +46,7 @@ extern Vars v ; /* Calctool variables and options. */ void init_mess P(()) ; /* The following are all the strings used by the dtcalc program. - * They are initialised in init_text() to the local language equivalents. + * They are initialized in init_text() to the local language equivalents. */ char *base_str[MAXBASES] ; diff --git a/cde/programs/dtcm/dtcm/calendarA.c b/cde/programs/dtcm/dtcm/calendarA.c index 42190cf2..5037446c 100644 --- a/cde/programs/dtcm/dtcm/calendarA.c +++ b/cde/programs/dtcm/dtcm/calendarA.c @@ -1496,7 +1496,7 @@ map_browse_menu(Widget menu, XtPointer client_data, XtPointer call_data) /* - * This a seperate routine so that it may be called when a new name is added + * This a separate routine so that it may be called when a new name is added * from the edit list */ extern void @@ -1573,7 +1573,7 @@ make_browse_menu(Calendar *c) { XmString xmstr; /* - * This needs to be a seperate routine so it can be called when the + * This needs to be a separate routine so it can be called when the * edit list changes the browse menu */ update_browse_menu_names(c); diff --git a/cde/programs/dtcm/dtcm/dtcm_editor.c b/cde/programs/dtcm/dtcm/dtcm_editor.c index c1f0f2f4..ecf81fcf 100644 --- a/cde/programs/dtcm/dtcm/dtcm_editor.c +++ b/cde/programs/dtcm/dtcm/dtcm_editor.c @@ -171,7 +171,7 @@ merge_old_values(Dtcm_appointment *original, Dtcm_appointment *new) { if (new_attrs == 0) return; - /* realloc the attrs array to be large enough to accomodate the new + /* realloc the attrs array to be large enough to accommodate the new attibutes */ new->attrs = (CSA_attribute *) realloc(new->attrs, (dest_attr_num + new_attrs) * sizeof(CSA_attribute)); diff --git a/cde/programs/dtcm/libDtCmP/cm_tty.c b/cde/programs/dtcm/libDtCmP/cm_tty.c index 6bc2de89..385ef451 100644 --- a/cde/programs/dtcm/libDtCmP/cm_tty.c +++ b/cde/programs/dtcm/libDtCmP/cm_tty.c @@ -1396,7 +1396,7 @@ generate_recurrence_rule(Dtcm_appointment *appt, int version) { * This function will scan for X number of appointments in the file and add * each to the linked list unless the validation routine returns an error. * If this happens, the invalid appointment is still added to the list so the - * calling routine can do further processing if neccessary, but the remaining + * calling routine can do further processing if necessary, but the remaining * appointments in the file (if any) are not read. */ extern Validate_op diff --git a/cde/programs/dtcm/server/rerule.c b/cde/programs/dtcm/server/rerule.c index 1f7e4393..1d52ed1a 100644 --- a/cde/programs/dtcm/server/rerule.c +++ b/cde/programs/dtcm/server/rerule.c @@ -117,7 +117,7 @@ ReToString( /* * Takes an array of numbers, converts them back into their string * type (e.g. SU 1W etc) and puts them into a string buffer with end - * marks as necessary, seperated by spaces. + * marks as necessary, separated by spaces. */ static void NumsToBuf( diff --git a/cde/programs/dtcm/server/rtable4.c b/cde/programs/dtcm/server/rtable4.c index 31e19702..551750d0 100644 --- a/cde/programs/dtcm/server/rtable4.c +++ b/cde/programs/dtcm/server/rtable4.c @@ -1186,7 +1186,7 @@ _DtCm_deregister_callback_4_svc(Registration_4 *r, struct svc_req *svcrq) * 2) if the (transient) program, version, & procnum match * the original registration, and * 3) if the process id of the client matches the - * orignal registration + * original registration * * ... only then is it ok to decommission the ticket. */ diff --git a/cde/programs/dtdocbook/doc2sdl/docbook.tcl b/cde/programs/dtdocbook/doc2sdl/docbook.tcl index 00e03b9a..04748a4e 100755 --- a/cde/programs/dtdocbook/doc2sdl/docbook.tcl +++ b/cde/programs/dtdocbook/doc2sdl/docbook.tcl @@ -936,7 +936,7 @@ proc EndSimpleList {columns type parent} { # Horiz(ontal) list, don't put the BLOCK's id on the list's FORM # yet - we need to collect them all and lay them out afterward in # EndSimpleList; if we're an Inline list, don't create a BLOCK, we'll -# add punctuation to seperate them in EndMember +# add punctuation to separate them in EndMember proc StartMember {id type} { global nextId listStack firstString listMembers diff --git a/cde/programs/dtdocbook/tcl/tclInt.h b/cde/programs/dtdocbook/tcl/tclInt.h index 7372f54f..aad4be70 100644 --- a/cde/programs/dtdocbook/tcl/tclInt.h +++ b/cde/programs/dtdocbook/tcl/tclInt.h @@ -625,7 +625,7 @@ typedef struct Interp { * Tcl_Eval are done. * ERR_IN_PROGRESS: Non-zero means an error unwind is already in progress. * Zero means a command proc has been invoked since last - * error occured. + * error occurred. * ERR_ALREADY_LOGGED: Non-zero means information has already been logged * in $errorInfo for the current Tcl_Eval instance, * so Tcl_Eval needn't log it (used to implement the diff --git a/cde/programs/dtdocbook/tcl/tclUnixChan.c b/cde/programs/dtdocbook/tcl/tclUnixChan.c index cfa41f0e..7ff2f586 100644 --- a/cde/programs/dtdocbook/tcl/tclUnixChan.c +++ b/cde/programs/dtdocbook/tcl/tclUnixChan.c @@ -598,7 +598,7 @@ Tcl_OpenFileChannel(interp, fileName, modeString, permissions) break; default: /* - * This may occurr if modeString was "", for example. + * This may occur if modeString was "", for example. */ panic("Tcl_OpenFileChannel: invalid mode value"); return NULL; diff --git a/cde/programs/dtdocbook/tcl/tclUnixPipe.c b/cde/programs/dtdocbook/tcl/tclUnixPipe.c index c72b6f0c..e5634bdc 100644 --- a/cde/programs/dtdocbook/tcl/tclUnixPipe.c +++ b/cde/programs/dtdocbook/tcl/tclUnixPipe.c @@ -396,7 +396,7 @@ TclSpawnPipeline(interp, pidPtr, numPids, argc, argv, inputFile, return 1; /* - * An error occured, so we need to clean up any open pipes. + * An error occurred, so we need to clean up any open pipes. */ error: diff --git a/cde/programs/dtdocbook/tcl/tclUtil.c b/cde/programs/dtdocbook/tcl/tclUtil.c index f8a0914d..66b78555 100644 --- a/cde/programs/dtdocbook/tcl/tclUtil.c +++ b/cde/programs/dtdocbook/tcl/tclUtil.c @@ -1628,7 +1628,7 @@ Tcl_DStringInit(dsPtr) * Side effects: * Length bytes from string (or all of string if length is less * than zero) are added to the current value of the string. Memory - * gets reallocated if needed to accomodate the string's new size. + * gets reallocated if needed to accommodate the string's new size. * *---------------------------------------------------------------------- */ @@ -1696,7 +1696,7 @@ Tcl_DStringAppend(dsPtr, string, length) * Side effects: * String is reformatted as a list element and added to the current * value of the string. Memory gets reallocated if needed to - * accomodate the string's new size. + * accommodate the string's new size. * *---------------------------------------------------------------------- */ diff --git a/cde/programs/dtdspmsg/dtdspmsg.c b/cde/programs/dtdspmsg/dtdspmsg.c index d5542e8a..757602a3 100644 --- a/cde/programs/dtdspmsg/dtdspmsg.c +++ b/cde/programs/dtdspmsg/dtdspmsg.c @@ -305,7 +305,7 @@ void parse_args(int argc, char *argv[], struct arguments *args) argv++ ; argc--; /* Skip the program name */ if (!strcmp(*argv,"-s")) { /* check for a set number */ - if (argc < 4) /* check for sufficient arguements */ + if (argc < 4) /* check for sufficient arguments */ die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] ['default' arg ... ]")); argv++; argc--; /* skip past the '-s' */ @@ -316,7 +316,7 @@ void parse_args(int argc, char *argv[], struct arguments *args) args->catname = *argv++; /* get the cat name */ argc--; if (!strcmp(*argv,"-s")) { /* check for a set number */ - if (argc < 3) /* check for sufficient arguements */ + if (argc < 3) /* check for sufficient arguments */ die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] ['default' arg ... ]")); argv++; diff --git a/cde/programs/dtexec/Main.c b/cde/programs/dtexec/Main.c index b9955b8c..93a88960 100644 --- a/cde/programs/dtexec/Main.c +++ b/cde/programs/dtexec/Main.c @@ -1362,7 +1362,7 @@ main ( } /* * So that select() errors cannot dominate, now behave as - * though only a timeout had occured. + * though only a timeout had occurred. */ nfound = 0; } @@ -1495,7 +1495,7 @@ main ( } /* * So that select() data cannot dominate, now behave as - * though only a timeout had occured. + * though only a timeout had occurred. */ nfound = 0; } diff --git a/cde/programs/dtfile/ChangeDirP.c b/cde/programs/dtfile/ChangeDirP.c index 32bf488e..cbe885e2 100644 --- a/cde/programs/dtfile/ChangeDirP.c +++ b/cde/programs/dtfile/ChangeDirP.c @@ -604,7 +604,7 @@ CurrentDirDropCallback( /************************************************************************ * * CurrentDirIconCallback - * Callback function invoked upon an action occuring on an icon. + * Callback function invoked upon an action occurring on an icon. * ************************************************************************/ diff --git a/cde/programs/dtfile/File.c b/cde/programs/dtfile/File.c index 2b3200e7..12557a9e 100644 --- a/cde/programs/dtfile/File.c +++ b/cde/programs/dtfile/File.c @@ -1306,7 +1306,7 @@ FlattenTree( /************************************************************************ * * IconCallback - * Callback function invoked upon an action occuring on an icon. + * Callback function invoked upon an action occurring on an icon. * ************************************************************************/ @@ -1748,7 +1748,7 @@ GetSelectedCount( char * wsName; Atom pCurrent; - /* If the initiation of the drag occured upon an */ + /* If the initiation of the drag occurred upon an */ /* already selected icon, check for a multiple drag. */ if ((desktopRec == NULL) && FileIsSelected(fileMgrData, fileViewData)) diff --git a/cde/programs/dtfile/FileManip.c b/cde/programs/dtfile/FileManip.c index 0ffc7154..2f204815 100644 --- a/cde/programs/dtfile/FileManip.c +++ b/cde/programs/dtfile/FileManip.c @@ -1305,7 +1305,7 @@ FileManip( break; } - /* If catmsg is NULL then one of the miscellanous error's occured. + /* If catmsg is NULL then one of the miscellanous error's occurred. * Set up a generic error message which will output the internal * error message. */ diff --git a/cde/programs/dtfile/FileMgr.c b/cde/programs/dtfile/FileMgr.c index 8e8b5ba4..a43bfb79 100644 --- a/cde/programs/dtfile/FileMgr.c +++ b/cde/programs/dtfile/FileMgr.c @@ -979,7 +979,7 @@ Create( XtSetValues (file_mgr_rec->vertical_scroll_bar, args, 2); - /* Add an event handler to catch resizes occuring on the scrolled */ + /* Add an event handler to catch resizes occurring on the scrolled */ /* window, in order to force a relayout of the icons. */ XtAddEventHandler (file_mgr_rec->scroll_window, StructureNotifyMask, diff --git a/cde/programs/dtfile/IconWindow.c b/cde/programs/dtfile/IconWindow.c index 549786b0..43a66ce8 100644 --- a/cde/programs/dtfile/IconWindow.c +++ b/cde/programs/dtfile/IconWindow.c @@ -134,7 +134,7 @@ static XmGadget InputForGadget( /************************************************************************ * * FileWindowExposeCallback - * Callback function invoked upon an exposure event occuring + * Callback function invoked upon an exposure event occurring * in the file display area. * ************************************************************************/ @@ -266,7 +266,7 @@ FileWindowMapCallback( /************************************************************************ * * FileWindowInputCallback - * Callback function invoked upon input occuring in the + * Callback function invoked upon input occurring in the * file display area, file icon, or within a desktop icon. * ************************************************************************/ diff --git a/cde/programs/dtfile/Main.c b/cde/programs/dtfile/Main.c index bdd9e38d..a4cd3373 100644 --- a/cde/programs/dtfile/Main.c +++ b/cde/programs/dtfile/Main.c @@ -2036,7 +2036,7 @@ RestoreSettingsFile( void ) else { XtFree(dtPath); - return; /* we are comming up in a system mode (e.g. default) */ + return; /* we are coming up in a system mode (e.g. default) */ } diff --git a/cde/programs/dtfile/ModAttr.c b/cde/programs/dtfile/ModAttr.c index 71f266e7..83ec9ce3 100644 --- a/cde/programs/dtfile/ModAttr.c +++ b/cde/programs/dtfile/ModAttr.c @@ -1895,7 +1895,7 @@ OkCallback( { /* It is the current directory, now we need to test the cases where * by changing permissions the user would no should be in this - * directory because lack of priviledges. + * directory because lack of privileges. * Cases where this is true: * 1. If the execute bit for owner has been changed to off and the * user is the owner. diff --git a/cde/programs/dtfile/dtcopy/sharedFuncs.c b/cde/programs/dtfile/dtcopy/sharedFuncs.c index db3e6796..77350131 100644 --- a/cde/programs/dtfile/dtcopy/sharedFuncs.c +++ b/cde/programs/dtfile/dtcopy/sharedFuncs.c @@ -157,7 +157,7 @@ int G_dialog_closed = FALSE; * for object and folder. * * This function simply searches for the last slash (/) in - * the path and returns the characters preceeding the slash + * the path and returns the characters preceding the slash * as folder and the characters after the last slash as * object. Thus, object could be a directory/folder or a * file. diff --git a/cde/programs/dthelp/parser/pass2/htag2/sdl.c b/cde/programs/dthelp/parser/pass2/htag2/sdl.c index 66aec632..84e5d61f 100644 --- a/cde/programs/dthelp/parser/pass2/htag2/sdl.c +++ b/cde/programs/dthelp/parser/pass2/htag2/sdl.c @@ -5620,7 +5620,7 @@ while (size || remnant = 0; /* First split out the "sort", "text" and "rid" fields. They are - seperated by an ASCII Record Seperator (036) character */ + separated by an ASCII Record Seperator (036) character */ pTo = sort; pRestart = pFrom; found = 0; @@ -5748,7 +5748,7 @@ while (size || remnant = 0; /* First split out the "sort", "text" and "rid" fields. They are - seperated by an ASCII Record Seperator (036) character */ + separated by an ASCII Record Seperator (036) character */ pTo = sort; pRestart = pFrom; found = 0; diff --git a/cde/programs/dticon/fileIO.c b/cde/programs/dticon/fileIO.c index 47bed8d1..dffc08f5 100644 --- a/cde/programs/dticon/fileIO.c +++ b/cde/programs/dticon/fileIO.c @@ -788,7 +788,7 @@ Display_XPMFile( icon_height = height; fileFormat = FORMAT_XPM; XmToggleButtonGadgetSetState(formatMenu_xpm_tb, True, True); -/* This line is not realy needed since an Exposed event will be generated */ +/* This line is not really needed since an Exposed event will be generated */ Repaint_Exposed_Tablet(); XDestroyImage(scratch_img); XFreePixmap(dpy, pix_ret); @@ -869,7 +869,7 @@ Display_XBMFile( icon_height = height; fileFormat = FORMAT_XBM; XmToggleButtonGadgetSetState(formatMenu_xbm_tb, True, True); -/* This line is not realy needed since an Exposed event will be generated */ +/* This line is not really needed since an Exposed event will be generated */ Repaint_Exposed_Tablet(); if (mask_ret) { XDestroyImage(test_img); diff --git a/cde/programs/dticon/process.c b/cde/programs/dticon/process.c index 53acc30b..cd276eb1 100644 --- a/cde/programs/dticon/process.c +++ b/cde/programs/dticon/process.c @@ -821,7 +821,7 @@ ConvertDropName( char *objects) * * * Routine: Process_DropCheckOp * * * - * Purpose: Validate the drag-n-drop operation that just occured on the * + * Purpose: Validate the drag-n-drop operation that just occurred on the * * tablet window. * * * ***************************************************************************/ @@ -866,7 +866,7 @@ extern unsigned int width_ret, height_ret; * * * Routine: Do_DropCheckOp * * * - * Purpose: Verify the drag-n-drop operation that just occured on the * + * Purpose: Verify the drag-n-drop operation that just occurred on the * * tablet window. * * * ***************************************************************************/ diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/Agent.msg b/cde/programs/dtinfo/dtinfo/src/Agents/Agent.msg index 771ef6a0..6f4c76f4 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/Agent.msg +++ b/cde/programs/dtinfo/dtinfo/src/Agents/Agent.msg @@ -342,7 +342,7 @@ $ 238 Boolean operator AND 265 "Attach Graphic" $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/MarkCanvas.hh b/cde/programs/dtinfo/dtinfo/src/Agents/MarkCanvas.hh index 42268763..c9e7851a 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/MarkCanvas.hh +++ b/cde/programs/dtinfo/dtinfo/src/Agents/MarkCanvas.hh @@ -103,7 +103,7 @@ struct MarkSelectionChanged Data for positional restore: (for now just offset and length for simplicity) - preceeding locator + preceding locator offset first n characters length diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/PrintPanelAgentMotif.C b/cde/programs/dtinfo/dtinfo/src/Agents/PrintPanelAgentMotif.C index e0651e4f..41c76305 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/PrintPanelAgentMotif.C +++ b/cde/programs/dtinfo/dtinfo/src/Agents/PrintPanelAgentMotif.C @@ -879,7 +879,7 @@ DoPrint(Widget widget, AppPrintData * p) XSync(XtDisplay(p->f_print_shell), False); - // if a print server error occured then notify the user + // if a print server error occurred then notify the user if (print_server_error) { diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C b/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C index f6c0d772..67d08b3b 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C +++ b/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C @@ -1798,7 +1798,7 @@ SearchScopeAgent::update_current_scope() // Rebuild the scope list after an infolib is added or removed. // Then update the option menu to reflect changes that may -// have occured in the scope list. +// have occurred in the scope list. // void SearchScopeAgent::rebuild_scope_list() @@ -1846,7 +1846,7 @@ SearchScopeAgent::rebuild_scope_list() } // Update the option menu to reflect any changes -// that may have occured in the list of named scopes due +// that may have occurred in the list of named scopes due // to addition or removal of infolibs. // Update current scope. void diff --git a/cde/programs/dtinfo/dtinfo/src/Managers/MessageMgr.C b/cde/programs/dtinfo/dtinfo/src/Managers/MessageMgr.C index 0c9388c1..140bb1bd 100644 --- a/cde/programs/dtinfo/dtinfo/src/Managers/MessageMgr.C +++ b/cde/programs/dtinfo/dtinfo/src/Managers/MessageMgr.C @@ -549,7 +549,7 @@ MessageMgr::assert_failed (char *statement, char *file, char buffer[512]; snprintf (buffer, sizeof(buffer), -"An internal error has occured.\n\ +"An internal error has occurred.\n\ The current operation cannot be completed.\n\ Please file a bug report with this information:\n\ Assertion failed: %s\n\ diff --git a/cde/programs/dtinfo/dtinfo/src/OnlineRender/CanvasRenderer.hh b/cde/programs/dtinfo/dtinfo/src/OnlineRender/CanvasRenderer.hh index 9e9118bf..a86a88aa 100644 --- a/cde/programs/dtinfo/dtinfo/src/OnlineRender/CanvasRenderer.hh +++ b/cde/programs/dtinfo/dtinfo/src/OnlineRender/CanvasRenderer.hh @@ -343,7 +343,7 @@ Highlight::underline(unsigned int v) class PartialElementFeatures { - // element features acceptible by prefix and suffix + // element features acceptable by prefix and suffix public: PartialElementFeatures(CanvasRenderer *); PartialElementFeatures (PartialElementFeatures &); diff --git a/cde/programs/dtinfo/dtinfo/src/Other/WindowSystemMotif.C b/cde/programs/dtinfo/dtinfo/src/Other/WindowSystemMotif.C index 9cf2405b..b8f69c8f 100644 --- a/cde/programs/dtinfo/dtinfo/src/Other/WindowSystemMotif.C +++ b/cde/programs/dtinfo/dtinfo/src/Other/WindowSystemMotif.C @@ -535,7 +535,7 @@ xevent_error_aborter(Display *display, XErrorEvent* error_event) _DtPrintDefaultErrorSafe(display, error_event, error_msg, _DTINFO_BUFSIZE); _DtSimpleError((char*)"dtinfo", DtWarning, NULL, error_msg, NULL); - // if the error occured on the print display we're going to set + // if the error occurred on the print display we're going to set // a variable so that and when the job is done, right before calling // XpEndJob, we call XpCancelJob, and notify the user. diff --git a/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C b/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C index 53d3ea29..2ed3564d 100644 --- a/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C +++ b/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C @@ -386,7 +386,7 @@ QueryTermView::register_actions() XmNbottomShadowColor, bottom_shadow, \ NULL); -// TODO: set colors for text fields seperately (for when bg is different) +// TODO: set colors for text fields separately (for when bg is different) void QueryTermView::invert_colors() diff --git a/cde/programs/dtinfo/dtinfo/src/Widgets/TabButton.c b/cde/programs/dtinfo/dtinfo/src/Widgets/TabButton.c index dbac2eb5..61807f51 100644 --- a/cde/programs/dtinfo/dtinfo/src/Widgets/TabButton.c +++ b/cde/programs/dtinfo/dtinfo/src/Widgets/TabButton.c @@ -401,7 +401,7 @@ ActivateCommon (Widget w, XEvent *event, String *params, Cardinal *num_params) internal_expose = True; (*(XtClass(w))->core_class.expose) (w, event, (Region) NULL); - /* If the event was a button event, make sure it occured within + /* If the event was a button event, make sure it occurred within the tab. (The user could have released outside the tab.) */ if (event->type != ButtonRelease || (event->xbutton.x >= (int) -bw && diff --git a/cde/programs/dtinfo/dtinfo/src/dtinfo.msg b/cde/programs/dtinfo/dtinfo/src/dtinfo.msg index da812197..4ffc41ef 100644 --- a/cde/programs/dtinfo/dtinfo/src/dtinfo.msg +++ b/cde/programs/dtinfo/dtinfo/src/dtinfo.msg @@ -438,7 +438,7 @@ $ 238 Boolean operator AND $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/dtinfo/dtinfogen/infolib/etc/DataBase.C b/cde/programs/dtinfo/dtinfogen/infolib/etc/DataBase.C index 6b6b3c92..e80a13bb 100644 --- a/cde/programs/dtinfo/dtinfogen/infolib/etc/DataBase.C +++ b/cde/programs/dtinfo/dtinfogen/infolib/etc/DataBase.C @@ -439,7 +439,7 @@ void DBCursor::string_field(FILE *fp, char **out, int *lenOut) int len = 0; int io; - /* fscanf is wierd, so we do it ourselves... */ + /* fscanf is weird, so we do it ourselves... */ while(isdigit(io = fgetc(fp))){ len = len * 10 + (io - '0'); } diff --git a/cde/programs/dtksh/README-DEVELOPER b/cde/programs/dtksh/README-DEVELOPER index 1b2f1cf6..33daa552 100644 --- a/cde/programs/dtksh/README-DEVELOPER +++ b/cde/programs/dtksh/README-DEVELOPER @@ -113,7 +113,7 @@ files have changed are as follows: ==================== You're not done yet, however. We have found it necessary to modify -several of the stock ksh sources, Makefiles and Mamfiles, to accomodate +several of the stock ksh sources, Makefiles and Mamfiles, to accommodate problems we have encountered, or to enable options not turned on by default, such as multibyte support. You will need to make sure that these changes get rolled back in, before checking in the new source. @@ -366,5 +366,5 @@ added is if you make a clone from one of the source trees, do a 'make clean', start a 'make', and somewhere during the building of the ksh93 sources, you see an error message telling you that you did not have permission to overwrite something within your clone tree. The ksh93 build process builds -alot of files on the fly, and moves things around to other directories, so +a lot of files on the fly, and moves things around to other directories, so these file typically need to be cleared out before doing a complete make. diff --git a/cde/programs/dtksh/dtksh.msg b/cde/programs/dtksh/dtksh.msg index c0777195..dabb722c 100644 --- a/cde/programs/dtksh/dtksh.msg +++ b/cde/programs/dtksh/dtksh.msg @@ -487,7 +487,7 @@ $set 25 181 is a shell builtin version of 182 is a tracked alias for 183 kill -184 line %d: $ not preceeded by \\ +184 line %d: $ not preceded by \\ 185 line %d: %c within ${} should be quoted 186 line %d: %s unknown label 187 line %d: %s within [[...]] obsolete, use ((...)) diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/lexstates.c b/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/lexstates.c index 6b4c3082..419a8774 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/lexstates.c +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/lexstates.c @@ -454,7 +454,7 @@ const char *sh_lexrstates[ST_NONE] = const char e_lexversion[] = "%d: invalid binary script version"; const char e_lexspace[] = "line %d: use space or tab to separate operators %c and %c"; -const char e_lexslash[] = "line %d: $ not preceeded by \\"; +const char e_lexslash[] = "line %d: $ not preceded by \\"; const char e_lexsyntax1[] = "syntax error at line %d: `%s' %s"; const char e_lexsyntax2[] = "syntax error: `%s' %s"; const char e_lexsyntax3[] = "syntax error at line %d: duplicate label %s"; diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/include/name.h b/cde/programs/dtksh/ksh93/src/cmd/ksh93/include/name.h index 8b578b92..cba4390f 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/include/name.h +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/include/name.h @@ -167,7 +167,7 @@ struct Ufunction #define NV_NOEXPAND NV_RJUST /* do not expand alias */ #define NV_BLTIN (NV_NOPRINT|NV_EXPORT) #define BLT_ENV (NV_RDONLY) /* non-stoppable, - * can modify enviornment */ + * can modify environment */ #define BLT_SPC (NV_LJUST) /* special built-ins */ #define BLT_EXIT (NV_RJUST) /* exit value can be > 255 */ #define BLT_DCL (NV_TAGGED) /* declaration command */ diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/init.c b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/init.c index 6cf22eab..845bb1e0 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/init.c +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/init.c @@ -450,7 +450,7 @@ static MsgStr allmsgs[] = { {"is a shell builtin version of", 25, 181}, {"is a tracked alias for", 25, 182}, {"kill", 25, 183}, - {"line %d: $ not preceeded by \\", 25, 184}, + {"line %d: $ not preceded by \\", 25, 184}, {"line %d: %c within ${} should be quoted", 25, 185}, {"line %d: %s unknown label", 25, 186}, {"line %d: %s within [[...]] obsolete, use ((...))", 25, 187}, diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/name.c b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/name.c index 9f48d40b..06c3b914 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/name.c +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/name.c @@ -1317,7 +1317,7 @@ char *ksh_getenv __PARAM__((const char *name), (name)) __OTORP__(const char *nam * * The original ksh93 code had this routine called "putenv". This hid * the libc version of putenv, which caused problems for dtksh on systems - * with shared libraries, as it caused the existance of two separate and + * with shared libraries, as it caused the existence of two separate and * non-overlapping environments. To the best of my knowledge there are * no calls to this routine. - harry phinney 8/15/1994. */ diff --git a/cde/programs/dtksh/ksh93/src/lib/libast/man/preroot.3 b/cde/programs/dtksh/ksh93/src/lib/libast/man/preroot.3 index 29ef9e6e..e0917beb 100644 --- a/cde/programs/dtksh/ksh93/src/lib/libast/man/preroot.3 +++ b/cde/programs/dtksh/ksh93/src/lib/libast/man/preroot.3 @@ -47,7 +47,7 @@ All pathnames rooted at .L / are first searched for in the process preroot directory and then in the system root directory. -Setting the process preroot is a priveleged operation controlled by the +Setting the process preroot is a privileged operation controlled by the .IR /etc/preroot (1) command. .PP diff --git a/cde/programs/dtksh/ksh93/src/lib/libast/man/stropt.3 b/cde/programs/dtksh/ksh93/src/lib/libast/man/stropt.3 index 019faa47..5ef4e378 100644 --- a/cde/programs/dtksh/ksh93/src/lib/libast/man/stropt.3 +++ b/cde/programs/dtksh/ksh93/src/lib/libast/man/stropt.3 @@ -82,7 +82,7 @@ points to the option name value pair from .I n is 0 if .B no -preceeded the option +preceded the option .I name and .I v diff --git a/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfreserve.c b/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfreserve.c index 0575aa07..c52637bf 100644 --- a/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfreserve.c +++ b/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfreserve.c @@ -124,7 +124,7 @@ int lock; /* 1 to lock stream and not advance pointer */ break; } - /* try to accomodate request size */ + /* try to accommodate request size */ if(n > 0 && n < size && (f->mode&mode) != 0 ) { if(f->flags&SF_STRING) diff --git a/cde/programs/dtksh/xmwidgets.c b/cde/programs/dtksh/xmwidgets.c index 9e727cfb..e31ce440 100644 --- a/cde/programs/dtksh/xmwidgets.c +++ b/cde/programs/dtksh/xmwidgets.c @@ -206,7 +206,7 @@ resfixup_t fileselbox_fixups[] = { /* - * The following shell resources are 'fixed' to allow them to be refered + * The following shell resources are 'fixed' to allow them to be referred * to in a shell script by their symbolic names, as opposed to their * integer values. These also need to be force onto any subclasses. */ diff --git a/cde/programs/dtlogin/bls/get_level.c b/cde/programs/dtlogin/bls/get_level.c index b853701f..8f06d59d 100644 --- a/cde/programs/dtlogin/bls/get_level.c +++ b/cde/programs/dtlogin/bls/get_level.c @@ -262,7 +262,7 @@ set_sec_privs(struct verify_info *verify) prpwd = verify->prpwd; pwd = verify->pwd; - /* kernal authorizations */ + /* kernel authorizations */ if (prpwd->uflg.fg_sprivs) { maxprivs = &prpwd->ufld.fd_sprivs[0]; }else if(prpwd->sflg.fg_sprivs) { @@ -270,7 +270,7 @@ set_sec_privs(struct verify_info *verify) Debug("Using default kernel priv's\n"); }else { audit_login(prpwd, pwd, verify->terminal, - "Unable to find kernal priv set for user", + "Unable to find kernel priv set for user", ES_LOGIN_FAILED); Debug("Can't find max. priv set for user-quitting\n"); return 0; @@ -325,8 +325,8 @@ set_sec_privs(struct verify_info *verify) break; } audit_login(prpwd, pwd, verify->terminal, - "Unable to set Kernal privs", ES_LOGIN_FAILED); - Debug("Unable to set Kernal privs (error %d): aborting\n",errno); + "Unable to set Kernel privs", ES_LOGIN_FAILED); + Debug("Unable to set Kernel privs (error %d): aborting\n",errno); return 0; } diff --git a/cde/programs/dtlogin/choose.c b/cde/programs/dtlogin/choose.c index 8069425e..4d15008a 100644 --- a/cde/programs/dtlogin/choose.c +++ b/cde/programs/dtlogin/choose.c @@ -412,7 +412,7 @@ ProcessChooserSocket ( XdmcpReadCARD16 (&buffer, &connectionType) && XdmcpReadARRAY8 (&buffer, &choice)) { - Debug ("Read from chooser succesfully\n"); + Debug ("Read from chooser successfully\n"); if (!RegisterIndirectChoice (&clientAddress, connectionType, &choice)) Debug ("Invalid chooser reply\n"); } diff --git a/cde/programs/dtlogin/sysauth.c b/cde/programs/dtlogin/sysauth.c index 52dcd7c7..7be26bd3 100644 --- a/cde/programs/dtlogin/sysauth.c +++ b/cde/programs/dtlogin/sysauth.c @@ -249,7 +249,7 @@ static void WriteBtmp( char *name) ; #ifdef AUDIT struct s_passwd *s_pwd; struct stat s_pfile; - int secure; /* flag to denote existance of secure passwd file */ + int secure; /* flag to denote existence of secure passwd file */ int selfAuditOn; #endif diff --git a/cde/programs/dtlogin/vgauth.c b/cde/programs/dtlogin/vgauth.c index 669845c8..7f0332b5 100644 --- a/cde/programs/dtlogin/vgauth.c +++ b/cde/programs/dtlogin/vgauth.c @@ -219,7 +219,7 @@ static void WriteBtmp( char *name) ; #ifdef AUDIT struct s_passwd *s_pwd; struct stat s_pfile; - int secure; /* flag to denote existance of secure passwd file */ + int secure; /* flag to denote existence of secure passwd file */ Boolean selfAuditOn; #endif diff --git a/cde/programs/dtlogin/vgmain.c b/cde/programs/dtlogin/vgmain.c index 70cc3b88..af673915 100644 --- a/cde/programs/dtlogin/vgmain.c +++ b/cde/programs/dtlogin/vgmain.c @@ -1651,7 +1651,7 @@ MakeGreeting( void ) XtSetArg(argt[i], XmNleftAttachment, XmATTACH_FORM); i++; XtSetArg(argt[i], XmNtopAttachment, XmATTACH_POSITION); i++; /* XtSetArg(argt[i], XmNtopPosition, 15); i++; */ - /* Changed this to accomodate desktop label */ + /* Changed this to accommodate desktop label */ XtSetArg(argt[i], XmNtopPosition, 9); i++; XtSetArg(argt[i], XmNrightAttachment, XmATTACH_FORM); i++; diff --git a/cde/programs/dtmail/MotifApp/Main.C b/cde/programs/dtmail/MotifApp/Main.C index 3b1ff52b..be5b1e1d 100644 --- a/cde/programs/dtmail/MotifApp/Main.C +++ b/cde/programs/dtmail/MotifApp/Main.C @@ -103,7 +103,7 @@ int main ( int argc, char **argv ) // please set // _ILS_DEBUG_ environment variable on, like // export _ILS_DEBUG_=: // dtmail - // and do the same operation as that of when coredump will have occured. + // and do the same operation as that of when coredump will have occurred. // If the signal will be received, dtmail generates full core dump image. // Note: This core file size will be big. So be aware of "ulimit" of sh. // diff --git a/cde/programs/dtmail/MotifApp/SelectFileCmd.C b/cde/programs/dtmail/MotifApp/SelectFileCmd.C index 5c2e68a6..4e0df1bd 100644 --- a/cde/programs/dtmail/MotifApp/SelectFileCmd.C +++ b/cde/programs/dtmail/MotifApp/SelectFileCmd.C @@ -262,7 +262,7 @@ void SelectFileCmd::fileSelectedCB( return; } - // If a string was succesfully extracted, call + // If a string was successfully extracted, call // fileSelected to handle the file. XtUnmanageChild ( w ); // Bring the file selection dialog down. diff --git a/cde/programs/dtmail/dtmail/MsgScrollingList.C b/cde/programs/dtmail/dtmail/MsgScrollingList.C index 60ee4059..b8b58aac 100644 --- a/cde/programs/dtmail/dtmail/MsgScrollingList.C +++ b/cde/programs/dtmail/dtmail/MsgScrollingList.C @@ -698,12 +698,12 @@ void MsgScrollingList::do_list_vis_adjustment() if (winM <= 0) { //[There is no scope of adjustment return; } - //[All the new messages can be accomodated w/o scrolling curr selection + //[All the new messages can be accommodated w/o scrolling curr selection if (numNew <= winM) { XmListSetBottomPos(list, cItmCnt); return; } - //[All the new messages cannot be accomodated, but we will do best fit + //[All the new messages cannot be accommodated, but we will do best fit else { int numNotShow = numNew - winM; XmListSetBottomPos(list, cItmCnt - numNotShow); diff --git a/cde/programs/dtmail/dtmail/RoamApp.C b/cde/programs/dtmail/dtmail/RoamApp.C index 96f25adf..f344e013 100644 --- a/cde/programs/dtmail/dtmail/RoamApp.C +++ b/cde/programs/dtmail/dtmail/RoamApp.C @@ -160,7 +160,7 @@ static int x_error_handler(Display *display, XErrorEvent* error_event) _DtPrintDefaultErrorSafe(display, error_event, error_msg, _DTMAIL_BUFSIZE); _DtSimpleError("dtmail", DtWarning, NULL, error_msg, NULL); - // if the error occured on the print display we're going to set + // if the error occurred on the print display we're going to set // a variable so that and when the job is done, right before calling // XpEndJob, we call XpCancelJob, and notify the user. diff --git a/cde/programs/dtmail/dtmailpr/main.C b/cde/programs/dtmail/dtmailpr/main.C index bbd4db3d..c6bce800 100644 --- a/cde/programs/dtmail/dtmailpr/main.C +++ b/cde/programs/dtmail/dtmailpr/main.C @@ -50,7 +50,7 @@ void enableGroupPrivileges(void *) { if(-1 == setgid(_originalEgid)) { - fprintf(stderr, "Failed to enable group priviledges\n"); + fprintf(stderr, "Failed to enable group privileges\n"); } } @@ -58,7 +58,7 @@ void disableGroupPrivileges(void *) { if(-1 == setgid(_originalRgid)) { - fprintf(stderr, "Failed to disable group priviledges\n"); + fprintf(stderr, "Failed to disable group privileges\n"); } } diff --git a/cde/programs/dtmail/libDtMail/Common/IO.C b/cde/programs/dtmail/libDtMail/Common/IO.C index 91b0b4e2..b057ae9e 100644 --- a/cde/programs/dtmail/libDtMail/Common/IO.C +++ b/cde/programs/dtmail/libDtMail/Common/IO.C @@ -931,7 +931,7 @@ struct vmount **vmountpp) /* place to tell where buffer is */ /* * perform the QUERY mntctl - if it returns > 0, that is the * number of vmount structures in the buffer. If it returns - * -1, an error occured. If it returned 0, then look in + * -1, an error occurred. If it returned 0, then look in * first word of buffer for needed size. */ if ((nmounts = mntctl(MCTL_QUERY, size, (caddr_t)vm)) > 0) { diff --git a/cde/programs/dtmail/libDtMail/Common/libDtMail.msg b/cde/programs/dtmail/libDtMail/Common/libDtMail.msg index bb4571a7..a3979bdb 100644 --- a/cde/programs/dtmail/libDtMail/Common/libDtMail.msg +++ b/cde/programs/dtmail/libDtMail/Common/libDtMail.msg @@ -21,7 +21,7 @@ $quote " $set 1 libDtMail API set $ // DTME_NoError -1 "No error occured." +1 "No error occurred." $ // DTME_AlreadyLocked 2 "The folder is locked by another session." diff --git a/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C b/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C index 8aa5861c..25a95db5 100644 --- a/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C +++ b/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C @@ -631,7 +631,7 @@ MIMEBodyPart::loadBody(DtMailEnv & error) // March 25, 1997 // The Content-Disposition field has been designated as the primary // header field for transmitting file names. See RFC 1806. Therefore -// the algorithm has bee updated as follows. +// the algorithm has been updated as follows. // // 1. DtMail checks the following headers for the "filename" for a body part: // o The "filename" parameter of the "Content-Disposition" header field. diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C b/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C index 6832694d..071c4a0c 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C @@ -234,13 +234,13 @@ RFCBodyPart::getContents(DtMailEnv & error, if (description) { // getDescription should not be passed a DtMailEnv object. // Neither implementation of getDescription (MIME or V3) - // sets the error before returning. Besides being unneccessary, + // sets the error before returning. Besides being unnecessary, // it requires the caller of getDescription to check the error // status upon its return. // *description = getDescription(error); if (error.isSet()) { - // don't care about the error condition returned by getDescription + // Don't care about the error condition returned by getDescription // because it returns a valid string no matter what error // condition occurs. error.clear(); diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C b/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C index 70f2f5f5..f62f4dc6 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C @@ -2482,7 +2482,7 @@ RFCMailBox::ThreadNewMailEntry(void * client_data) // while(info->object_valid->state()) { - // The following sequence is a little wierd, but here is why. + // The following sequence is a little weird, but here is why. // We need to sleep for the ping interval. We can be awaken // early however if the thread catches a signal. The main // thread will send a SIGTERM from the mail box destructor diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C b/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C index c4cf3f9e..6291416c 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C @@ -378,7 +378,7 @@ RFCValue::toDate(void) } // There are usually no more than 6 tokens in an RFC date. We will - // have a few extras just in case we are given a wierd string. + // have a few extras just in case we are given a weird string. const char *token_begin[12]; const char *token_end[12]; int n_tokens = 0; diff --git a/cde/programs/dtpad/main.c b/cde/programs/dtpad/main.c index 15eb8cc5..f978a84e 100644 --- a/cde/programs/dtpad/main.c +++ b/cde/programs/dtpad/main.c @@ -44,7 +44,7 @@ ** This file contains the routines that control the client/server architecture ** of dtpad and creation of the top level widgets. ** -** See the comments preceeding main() for a description of the client/server +** See the comments preceding main() for a description of the client/server ** architecture of dtpad as well as an overview of the routine hierarchy of ** dtpad. The widget hierarchy of dtpad goes something like this: ** @@ -1848,7 +1848,7 @@ dtpadXErrorHandler( _DtSimpleError("dtpad", DtWarning, NULL, msg, NULL); /* - * if the error occured on the print display we're going to set + * if the error occurred on the print display we're going to set * a variable so that and when the job is done, right before calling * XpEndJob, we call XpCancelJob, and notify the user. */ diff --git a/cde/programs/dtpad/printJob.c b/cde/programs/dtpad/printJob.c index 01f5e265..5b04381a 100644 --- a/cde/programs/dtpad/printJob.c +++ b/cde/programs/dtpad/printJob.c @@ -279,7 +279,7 @@ PrintJobCancel(PrintJob *pJob) /************************************************************************ * PrintJobGetErrorPrintDisplay - * Returns the last print display on which an error occured. + * Returns the last print display on which an error occurred. ************************************************************************/ Display * PrintJobGetErrorPrintDisplay() @@ -289,7 +289,7 @@ PrintJobGetErrorPrintDisplay() /************************************************************************ * PrintJobSetErrorPrintDisplay - * Save a pointer to the print display on which an error occured. + * Save a pointer to the print display on which an error occurred. ************************************************************************/ void PrintJobSetErrorPrintDisplay(Display *display) @@ -299,7 +299,7 @@ PrintJobSetErrorPrintDisplay(Display *display) /************************************************************************ * PrintJobIsActivePrintDisplay - * Save a pointer to the print display on which an error occured. + * Save a pointer to the print display on which an error occurred. ************************************************************************/ Boolean PrintJobIsActivePrintDisplay(Display *display) diff --git a/cde/programs/dtpdm/PrinterBox.c b/cde/programs/dtpdm/PrinterBox.c index e9e4d5ee..bec8f05a 100644 --- a/cde/programs/dtpdm/PrinterBox.c +++ b/cde/programs/dtpdm/PrinterBox.c @@ -905,7 +905,7 @@ PdmPrinterBoxResizeCB(Widget w, XmNheight, r2.height, NULL); /* - * resize the drawing area to accomodate the new layout + * resize the drawing area to accommodate the new layout */ XtVaSetValues(w, XmNwidth, r1.width, @@ -2529,7 +2529,7 @@ SizeCtlCreateWindow(SizeCtl* me, Widget parent) SizeCtlSelectCB, (XtPointer)me); /* * hide the horizontal scroll bar, since the width of the list has - * been set to accomodate the widest item. + * been set to accommodate the widest item. */ hscroll = XtNameToWidget(XtParent(me->list_box), "*HorScrollBar"); XtVaSetValues(hscroll, diff --git a/cde/programs/dtprintegrate/dtprintegrate.src b/cde/programs/dtprintegrate/dtprintegrate.src index d8ced32e..b5215f4f 100755 --- a/cde/programs/dtprintegrate/dtprintegrate.src +++ b/cde/programs/dtprintegrate/dtprintegrate.src @@ -456,7 +456,7 @@ PrintEndLog() { then print "...successfully completed." else - print "...completed UNsuccesfully." + print "...completed UNsuccessfully." fi print "" } diff --git a/cde/programs/dtsession/SmLock.c b/cde/programs/dtsession/SmLock.c index f3c8d073..57de2055 100644 --- a/cde/programs/dtsession/SmLock.c +++ b/cde/programs/dtsession/SmLock.c @@ -871,7 +871,7 @@ RecolorCursor( void ) * * Inputs: * ------ - * w = widget where event occured + * w = widget where event occurred * client_data = client specific data sent to callback * event = event that triggered callback * @@ -1360,7 +1360,7 @@ TakeDownLogin( * * Description: * ----------- - * Redisplays the cover and the login when neccessary. + * Redisplays the cover and the login when necessary. * * * Inputs: diff --git a/cde/programs/dtsession/SmMain.c b/cde/programs/dtsession/SmMain.c index 940283d4..672355f4 100644 --- a/cde/programs/dtsession/SmMain.c +++ b/cde/programs/dtsession/SmMain.c @@ -206,14 +206,14 @@ main (int argc, char **argv) /* * Set uid up according to whether this is a secure system - * Secure systems need root priviledges to read the /etc/passwd file + * Secure systems need root privileges to read the /etc/passwd file */ smGD.runningUID = getuid(); #ifdef linux /* linux always needs to be setup as secure */ /* - * Save the root priviledge to be restored when trying to unlock + * Save the root privilege to be restored when trying to unlock */ smGD.unLockUID = geteuid(); smGD.secureSystem = True; @@ -230,7 +230,7 @@ main (int argc, char **argv) if(status == -1) { /* - * this is not a secure system - remove all suid priviledges + * this is not a secure system - remove all suid privileges */ smGD.unLockUID = smGD.runningUID; smGD.secureSystem = False; @@ -239,7 +239,7 @@ main (int argc, char **argv) else { /* - * Save the root priviledge to be restored when trying to unlock + * Save the root privilege to be restored when trying to unlock */ smGD.unLockUID = geteuid(); smGD.secureSystem = True; diff --git a/cde/programs/dtsession/SmMigResources.c b/cde/programs/dtsession/SmMigResources.c index 1a4eb1a4..827830ae 100644 --- a/cde/programs/dtsession/SmMigResources.c +++ b/cde/programs/dtsession/SmMigResources.c @@ -462,7 +462,7 @@ MigrateResources(char * inputfile, char * outputfile) /* if entire line was read but it ends with a continuation character then, remove the ending continuation character or - spaces preceeded by an ending + spaces preceded by an ending continuation character. */ realend=DtPrevChar(inputbuffer1,realend); @@ -567,7 +567,7 @@ MigrateResources(char * inputfile, char * outputfile) number_fields = i-1; /* check for each type of resource that should be retained in the output file. - See comments preceeding the definition + See comments preceding the definition of each array near the start of this file for a description and example of each type. */ diff --git a/cde/programs/dtsession/SmUI.c b/cde/programs/dtsession/SmUI.c index f02716bb..051dcc37 100644 --- a/cde/programs/dtsession/SmUI.c +++ b/cde/programs/dtsession/SmUI.c @@ -1663,7 +1663,7 @@ SimpleOK( * * Description: * ----------- - * Give the visual feedback neccessary when the user is entering a password + * Give the visual feedback necessary when the user is entering a password * * * Inputs: diff --git a/cde/programs/dtstyle/ColorFile.c b/cde/programs/dtstyle/ColorFile.c index e9afd3bf..a601b5ef 100644 --- a/cde/programs/dtstyle/ColorFile.c +++ b/cde/programs/dtstyle/ColorFile.c @@ -540,7 +540,7 @@ WriteOutDesc( /* ** This routine removes a palette. ** It actually creates a file in the users home palette directory with -** the current palette name preceeded by a '~'. +** the current palette name preceded by a '~'. ** If the current palette is from the users home palette directory, that ** file is removed. */ diff --git a/cde/programs/dtstyle/I18nMain.c b/cde/programs/dtstyle/I18nMain.c index 11092644..f88b86e0 100644 --- a/cde/programs/dtstyle/I18nMain.c +++ b/cde/programs/dtstyle/I18nMain.c @@ -1404,7 +1404,7 @@ MoveUpCB( XtVaGetValues(i18n.preeditTypeList, XmNitems, &list_items, NULL); /* makes an array of two XmStrings by reversing the selected - one and the item preceeding it */ + one and the item preceding it */ items[0] = list_items[sel_index]; items[1] = list_items[sel_index - 1]; diff --git a/cde/programs/dtstyle/dtstyle.man b/cde/programs/dtstyle/dtstyle.man index 7f07babc..aa5a5051 100644 --- a/cde/programs/dtstyle/dtstyle.man +++ b/cde/programs/dtstyle/dtstyle.man @@ -30,7 +30,7 @@ Change the beeper volume, tone, or duration. Choose the number of minutes before your screen times out or whether or not your screen is covered and locked at time out. .IP "\fBWindow\fP" -Specify how a window aquires focus, if the window raises when it +Specify how a window acquires focus, if the window raises when it receives focus, or where window icons are placed. .IP "\fBStartup\fP" Specify how your session begins and ends. diff --git a/cde/programs/dtterm/Dtterm.ad.src b/cde/programs/dtterm/Dtterm.ad.src index 93dfa678..4ef8788a 100644 --- a/cde/programs/dtterm/Dtterm.ad.src +++ b/cde/programs/dtterm/Dtterm.ad.src @@ -15,7 +15,7 @@ XCOMM include "Dt" !# Novell, Inc. !# !###################################################################### -! When using the following as an xrdb resource, preceed the string +! When using the following as an xrdb resource, precede the string ! with "Dtterm", i.e., "Dtterm*saveLines: 10s". ! To make ONLY the terminal text area background a different color: diff --git a/cde/programs/dtterm/terminfoChecklist b/cde/programs/dtterm/terminfoChecklist index a175b99d..76aa529e 100644 --- a/cde/programs/dtterm/terminfoChecklist +++ b/cde/programs/dtterm/terminfoChecklist @@ -247,7 +247,7 @@ kich1=\E[2~, /* sent by ins-char/enter ins-mode key */ ##kind, /* sent by scroll-forward/down key */ ##kll, /* sent by home-down key */ ##km, /* Has a meta key (shift, sets parity bit) */ -##kmous, /* 0631, Mouse event has occured */ +##kmous, /* 0631, Mouse event has occurred */ ##kmov, /* sent by move key */ ##kmrk, /* sent by mark key */ ##kmsg, /* sent by message key */ diff --git a/cde/programs/dtudcexch/getbdffn.c b/cde/programs/dtudcexch/getbdffn.c index bbc7c437..7415084f 100644 --- a/cde/programs/dtudcexch/getbdffn.c +++ b/cde/programs/dtudcexch/getbdffn.c @@ -100,7 +100,7 @@ int fopencheck(char *file, char *dir, char *mode) } } } else - fprintf(stderr, "Unanticipatable error occured in fopencheck.\n"); + fprintf(stderr, "Unanticipatable error occurred in fopencheck.\n"); return -1; } diff --git a/cde/programs/dtudcfonted/dtgpftocpf/gpftocpf.c b/cde/programs/dtudcfonted/dtgpftocpf/gpftocpf.c index 12a502e3..ca79262a 100644 --- a/cde/programs/dtudcfonted/dtgpftocpf/gpftocpf.c +++ b/cde/programs/dtudcfonted/dtgpftocpf/gpftocpf.c @@ -291,7 +291,7 @@ char *argv[]; } else { num_gr = 1 ; if( (gr = (FalGlyphRegion *)malloc( sizeof(FalGlyphRegion) * num_gr )) == NULL ) { - USAGE1("%s : malloc error occured. Terminates abnormally.\n", argv[0]); + USAGE1("%s : malloc error occurred. Terminates abnormally.\n", argv[0]); exit(1) ; } gr[0].start = MIN_CODE ; diff --git a/cde/programs/dtudcfonted/dtlsgpf/lsgpf.c b/cde/programs/dtudcfonted/dtlsgpf/lsgpf.c index 52a14f4f..a8f217d9 100644 --- a/cde/programs/dtudcfonted/dtlsgpf/lsgpf.c +++ b/cde/programs/dtudcfonted/dtlsgpf/lsgpf.c @@ -766,7 +766,7 @@ int *errflg ; } return(-1) ; default : - USAGE2("System call error occured. fal_utyerror = %d fal_utyderror = %d\n", fal_utyerror, fal_utyderror ) ; + USAGE2("System call error occurred. fal_utyerror = %d fal_utyderror = %d\n", fal_utyerror, fal_utyderror ) ; return(-2) ; } case _FAL_FONT_ER : @@ -778,7 +778,7 @@ int *errflg ; } return(-1) ; case _FAL_MALOC_ER : - USAGE("malloc error occured.\n" ) ; + USAGE("malloc error occurred.\n" ) ; return(-2) ; default : USAGE1("%s : cannot get font information list.\n", command_name ) ; @@ -885,7 +885,7 @@ FalFontData *choose; if ( diff.size.h < 0 ) return 1; if ( diff.size.h > 0 ) return 0; - /* letter size hieght */ + /* letter size height */ if ( diff.letter.h < 0 ) return 1; if ( diff.letter.h > 0 ) return 0; diff --git a/cde/programs/dtudcfonted/libfal/_fallcDB.c b/cde/programs/dtudcfonted/libfal/_fallcDB.c index 6b0e7479..2471519d 100644 --- a/cde/programs/dtudcfonted/libfal/_fallcDB.c +++ b/cde/programs/dtudcfonted/libfal/_fallcDB.c @@ -1175,7 +1175,7 @@ _fallcGetLocaleDataBase(lcd, category, name, value, count) /* _fallcDestroyLocaleDataBase(lcd) */ /*----------------------------------------------------------------------*/ /* This function destroy the XLocale Database that bound to the */ -/* specified lcd. If the XLocale Database is refered from some */ +/* specified lcd. If the XLocale Database is referred from some */ /* other lcd, this function just decreases reference count of */ /* the database. If no locale refers the database, this function */ /* remove it from the cache list and free work area. */ diff --git a/cde/programs/dtudcfonted/libfal/_fallcEuc.c b/cde/programs/dtudcfonted/libfal/_fallcEuc.c index 784a2d55..102e5a5b 100644 --- a/cde/programs/dtudcfonted/libfal/_fallcEuc.c +++ b/cde/programs/dtudcfonted/libfal/_fallcEuc.c @@ -761,7 +761,7 @@ static CTDataRec ctdata[] = }; /* Note on above table: euc_ctstombs() and euc_ctstowcs() parser depends on - * certain table entries occuring in decreasing string length-- + * certain table entries occurring in decreasing string length-- * 1. CT_EXT2 and CT_EXT0 entries must occur after CT_NSTD entries. * 2. CT_DIR and CT_EXT1 entries must occur after CT_DIR entries. */ diff --git a/cde/programs/dtudcfonted/libfal/_fallcSjis.c b/cde/programs/dtudcfonted/libfal/_fallcSjis.c index dd7edf75..e06e6dc8 100644 --- a/cde/programs/dtudcfonted/libfal/_fallcSjis.c +++ b/cde/programs/dtudcfonted/libfal/_fallcSjis.c @@ -832,7 +832,7 @@ static CTDataRec ctdata[] = }; /* Note on above table: sjis_ctstombs() and sjis_ctstowcs() parser depends on - * certain table entries occuring in decreasing string length-- + * certain table entries occurring in decreasing string length-- * 1. CT_EXT2 and CT_EXT0 entries must occur after CT_NSTD entries. * 2. CT_DIR and CT_EXT1 entries must occur after CT_DIR entries. */ diff --git a/cde/programs/dtudcfonted/libfal/_fallcint.h b/cde/programs/dtudcfonted/libfal/_fallcint.h index 3927840d..445460bc 100644 --- a/cde/programs/dtudcfonted/libfal/_fallcint.h +++ b/cde/programs/dtudcfonted/libfal/_fallcint.h @@ -744,7 +744,7 @@ typedef struct { /* * An X Input Manager (IM). Implementations may need to extend this data - * structure to accomodate additional data, state information etc. + * structure to accommodate additional data, state information etc. */ typedef struct _XIM { XIMMethods methods; /* method list of this IM */ @@ -840,7 +840,7 @@ typedef struct { /* * an Input Context. Implementations may need to extend this data - * structure to accomodate additional data, state information etc. + * structure to accommodate additional data, state information etc. */ typedef struct _XIC { XICMethods methods; /* method list of this IC */ diff --git a/cde/programs/dtudcfonted/libfal/_falrm.c b/cde/programs/dtudcfonted/libfal/_falrm.c index 8bdaa6f7..e7686019 100644 --- a/cde/programs/dtudcfonted/libfal/_falrm.c +++ b/cde/programs/dtudcfonted/libfal/_falrm.c @@ -112,7 +112,7 @@ information is kept on a per-level basis. (3) Sometimes the widget instance tree is structured such that you get the same class name repeated on the fully qualified widget name. This can result in the -same database level occuring multiple times on the search list. The code below +same database level occurring multiple times on the search list. The code below only checks to see if you get two identical search lists in a row, rather than look back through all database levels, but in practice this removes all duplicates I've ever observed. @@ -1282,7 +1282,7 @@ static void GetDatabase(db, str, filename, doall) char oldc; /* - * A parsing error has occured, toss everything on the line + * A parsing error has occurred, toss everything on the line * a new_line can still be escaped with a '\'. */ @@ -1448,7 +1448,7 @@ static void GetDatabase(db, str, filename, doall) /* * It is important to make sure that there is room for at least * four more characters in the buffer, since I can add that - * many characters into the buffer after a backslash has occured. + * many characters into the buffer after a backslash has occurred. */ if (ptr + len > ptr_max) { diff --git a/cde/programs/dtudcfonted/libfal/falfont.c b/cde/programs/dtudcfonted/libfal/falfont.c index 19c2e8b3..f84d2ac5 100644 --- a/cde/programs/dtudcfonted/libfal/falfont.c +++ b/cde/programs/dtudcfonted/libfal/falfont.c @@ -1905,7 +1905,7 @@ FalFontData *choose; return 0; } - /* letter size hieght */ + /* letter size height */ if ( diff.letter.h < 0 ) { return 1; } diff --git a/cde/programs/dtudcfonted/libfuty/getfname.c b/cde/programs/dtudcfonted/libfuty/getfname.c index d6e76799..57836d8a 100644 --- a/cde/programs/dtudcfonted/libfuty/getfname.c +++ b/cde/programs/dtudcfonted/libfuty/getfname.c @@ -843,7 +843,7 @@ char *fname ; return(-2) ; } case _FAL_MALOC_ER : - USAGE("System call error occured.\n" ) ; + USAGE("System call error occurred.\n" ) ; return(-2) ; default : USAGE3("There is no font file correspond to specified font.\n(%s)\n fal_utyerror = %d fal_utyderror = %d\n", diff --git a/cde/programs/dtwm/Button.c b/cde/programs/dtwm/Button.c index 166941a6..25b90f1f 100644 --- a/cde/programs/dtwm/Button.c +++ b/cde/programs/dtwm/Button.c @@ -581,7 +581,7 @@ SetValues( /************************************************************************ * * arm - * This function processes button 1 down occuring on the button. + * This function processes button 1 down occurring on the button. * ************************************************************************/ @@ -610,7 +610,7 @@ Arm( /************************************************************************ * * disarm - * This function processes button 1 up occuring on the button. + * This function processes button 1 up occurring on the button. * ************************************************************************/ @@ -632,7 +632,7 @@ Disarm( /************************************************************************ * * activate - * This function processes button 1 up occuring on the button. + * This function processes button 1 up occurring on the button. * If the button 1 up occurred inside the button the activate * callbacks are called. * diff --git a/cde/programs/dtwm/Callback.c b/cde/programs/dtwm/Callback.c index 84398e20..668d899e 100644 --- a/cde/programs/dtwm/Callback.c +++ b/cde/programs/dtwm/Callback.c @@ -374,7 +374,7 @@ MinimizeInputCB (Widget w, /* On the BSelect button press, change the image to the selected * minimize image. On the release, check to see if the release - * occured within the minimize button before minimizing. + * occurred within the minimize button before minimizing. * On BMenu button press, post the front panel menu. */ @@ -841,13 +841,13 @@ SwitchButtonCB (Widget w, old_switch_button = switch_data->buttons[switch_data->active_switch]; - /* If the selection occured on a non-selected button, find the atom */ + /* If the selection occurred on a non-selected button, find the atom */ /* representing the workspace name of the button that was selected */ /* and use it to call the workspace manager API to switch the */ /* workspace. The indication on the buttons occurs out of the */ /* called from the workspace manager API. */ /* */ - /* If the selection occured on the current button, set up the name */ + /* If the selection occurred on the current button, set up the name */ /* change editing functions. */ if (switch_button != old_switch_button) @@ -1729,7 +1729,7 @@ PushCB (Widget w, /* Call the unposting function and reset the arrow behavior if the */ - /* action occured out of a subpanel. */ + /* action occurred out of a subpanel. */ if (subpanel_data != NULL && unpost_subpanel && (Boolean) (intptr_t) panel.element_values[PANEL_SUBPANEL_UNPOST].parsed_value && diff --git a/cde/programs/dtwm/UI.c b/cde/programs/dtwm/UI.c index 6a03a1fe..1209c451 100644 --- a/cde/programs/dtwm/UI.c +++ b/cde/programs/dtwm/UI.c @@ -3887,7 +3887,7 @@ ToggleDefaultControl (ControlData * main_control_data, int i; - /* If the selection occured on the currently selected toggle */ + /* If the selection occurred on the currently selected toggle */ /* do nothing. */ if (subpanel_data->default_control == control_data) diff --git a/cde/programs/dtwm/WmCDInfo.c b/cde/programs/dtwm/WmCDInfo.c index 38c8fc25..38cb3fbc 100644 --- a/cde/programs/dtwm/WmCDInfo.c +++ b/cde/programs/dtwm/WmCDInfo.c @@ -1075,7 +1075,7 @@ int IdentifyFramePart (ClientData *pCD, int x, int y) * * Description: * ----------- - * returns the id of the gadget in the list that the event occured in + * returns the id of the gadget in the list that the event occurred in * * * Inputs: diff --git a/cde/programs/dtwm/WmCEvent.c b/cde/programs/dtwm/WmCEvent.c index 0bf18b4e..d55b883a 100644 --- a/cde/programs/dtwm/WmCEvent.c +++ b/cde/programs/dtwm/WmCEvent.c @@ -1840,7 +1840,7 @@ void HandleCMotionNotify (ClientData *pCD, XMotionEvent *motionEvent) if ((diffX >= wmGD.moveThreshold) || (diffY >= wmGD.moveThreshold)) { /* - * The move threshold has been exceded; start the config action. + * The move threshold has been exceeded; start the config action. */ wmGD.clickData.clickPending = False; diff --git a/cde/programs/dtwm/WmCPlace.c b/cde/programs/dtwm/WmCPlace.c index 2276cbe6..d0819d46 100644 --- a/cde/programs/dtwm/WmCPlace.c +++ b/cde/programs/dtwm/WmCPlace.c @@ -492,7 +492,7 @@ void HandlePlacementMotionEvent (ClientData *pcd, XMotionEvent *pev) int diffx, diffy; /* - * If in pre-resize mode, check for motion crossing threshhold before + * If in pre-resize mode, check for motion crossing threshold before * switching modes */ if (wmGD.preMove) { diff --git a/cde/programs/dtwm/WmEvent.c b/cde/programs/dtwm/WmEvent.c index ac3b5524..b1733d0d 100644 --- a/cde/programs/dtwm/WmEvent.c +++ b/cde/programs/dtwm/WmEvent.c @@ -1220,7 +1220,7 @@ Boolean HandleKeyPress (XKeyEvent *keyEvent, * A matching key binding has been found. * Determine the client to which the key binding function is to * apply. - * Unpost any active menu and specify that no futher key binding + * Unpost any active menu and specify that no further key binding * processing should be done. * Do the function associated with the matching key binding. * Stop if onlyFirst == TRUE @@ -1589,7 +1589,7 @@ Boolean CheckForButtonAction (XButtonEvent *buttonEvent, Context context, Contex * * Description: * ----------- - * This function identifies the context in which an event occured. The + * This function identifies the context in which an event occurred. The * pointer position is used to identify the context if the event is a * button event. If the context and the window state are incompatible * (e.g., the context is window and the window is minimized) then the @@ -1729,7 +1729,7 @@ void IdentifyEventContext (XButtonEvent *event, ClientData *pCD, Context *pConte * ------- * (wmGD.clickData) = click processing information * - * (wmGD.clickData.doubleClickContext) = set if double click occured + * (wmGD.clickData.doubleClickContext) = set if double click occurred * *************************************<->***********************************/ @@ -1850,7 +1850,7 @@ void ProcessClickBPress (XButtonEvent *buttonEvent, ClientData *pCD, Context con * ------- * (wmGD.clickData) = click processing information * - * (wmGD.clickData.clickContext) = set if click occured + * (wmGD.clickData.clickContext) = set if click occurred * *************************************<->***********************************/ diff --git a/cde/programs/dtwm/WmFP.c b/cde/programs/dtwm/WmFP.c index b9ed521b..5fa0d3e4 100644 --- a/cde/programs/dtwm/WmFP.c +++ b/cde/programs/dtwm/WmFP.c @@ -144,7 +144,7 @@ EmbeddedClientReposition (Widget icon, /************************************************************************ * * EmbeddedClientReparent - * This function sets of the data neccessary to call the window + * This function sets of the data necessary to call the window * manager function which reparents an embedded client to a new * control. * diff --git a/cde/programs/dtwm/WmGlobal.h b/cde/programs/dtwm/WmGlobal.h index 75451134..bfe795fb 100644 --- a/cde/programs/dtwm/WmGlobal.h +++ b/cde/programs/dtwm/WmGlobal.h @@ -909,7 +909,7 @@ typedef enum { SINGLE, ROOT, ALL } OpRange; typedef struct _CmdTree { CARD32 commandID; /* unique identifier for this command. */ CARD32 notifyWindow;/* window to receive InvokeCommand request. */ - char *name; /* name of command refered to in .mwmrc. */ + char *name; /* name of command referred to in .mwmrc. */ char *defaultName; /* default label of menu. */ struct _CmdTree *subTrees; /* list of child commands or command sets. */ struct _CmdTree *next; diff --git a/cde/programs/dtwm/WmIPC.c b/cde/programs/dtwm/WmIPC.c index e0f45e98..39b74c6c 100644 --- a/cde/programs/dtwm/WmIPC.c +++ b/cde/programs/dtwm/WmIPC.c @@ -524,7 +524,7 @@ dtSendWorkspaceModifyNotification( * x - x position of UL corner of rectangle * y - y position of UL corner of rectangle * width - width of rectangle - * heigth - height of rectangle + * height - height of rectangle * * Outputs: * ------- diff --git a/cde/programs/dtwm/WmManage.c b/cde/programs/dtwm/WmManage.c index 5290ff05..e79d8e3b 100644 --- a/cde/programs/dtwm/WmManage.c +++ b/cde/programs/dtwm/WmManage.c @@ -1473,7 +1473,7 @@ void ResetWithdrawnFocii (ClientData *pCD) /* * Set the focus to the default state if the focus is not in * the process of being set (i.e. a FocusIn event will be - * comming along shortly. + * coming along shortly. */ if (wmGD.nextKeyboardFocus == wmGD.keyboardFocus) diff --git a/cde/programs/dtwm/WmProperty.c b/cde/programs/dtwm/WmProperty.c index 5115cb4e..7631191a 100644 --- a/cde/programs/dtwm/WmProperty.c +++ b/cde/programs/dtwm/WmProperty.c @@ -548,7 +548,7 @@ void SetMwmSaveSessionInfo (Window wmWindow) * * Comments: * -------- - * This function will eventually be superceded when WM_STATE support is + * This function will eventually be superseded when WM_STATE support is * added to the official X release. * *************************************<->***********************************/ @@ -618,7 +618,7 @@ GetWMState( * * Comments: * -------- - * This function will eventually be superceded when WM_STATE support is + * This function will eventually be superseded when WM_STATE support is * added to the official X release. * *************************************<->***********************************/ diff --git a/cde/programs/icons/DtCMa_m.bm b/cde/programs/icons/DtCMa_m.bm index 20b3096d..b7d65fcd 100644 --- a/cde/programs/icons/DtCMa_m.bm +++ b/cde/programs/icons/DtCMa_m.bm @@ -6,11 +6,11 @@ * (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of * Novell, Inc. **********************************************************************/ -#define calenderbw_m.xbm_width 98 -#define calenderbw_m.xbm_height 98 -#define calenderbw_m.xbm_x_hot 0 -#define calenderbw_m.xbm_y_hot 0 -static char calenderbw_m.xbm_bits[] = { +#define calendarbw_m.xbm_width 98 +#define calendarbw_m.xbm_height 98 +#define calendarbw_m.xbm_x_hot 0 +#define calendarbw_m.xbm_y_hot 0 +static char calanderbw_m.xbm_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, diff --git a/cde/programs/localized/de_DE.ISO8859-1/msg/dtinfo.msg b/cde/programs/localized/de_DE.ISO8859-1/msg/dtinfo.msg index 7ef86513..3ef344c4 100644 --- a/cde/programs/localized/de_DE.ISO8859-1/msg/dtinfo.msg +++ b/cde/programs/localized/de_DE.ISO8859-1/msg/dtinfo.msg @@ -449,7 +449,7 @@ $ Translator was not able to test the function. $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/localized/es_ES.ISO8859-1/msg/dtinfo.msg b/cde/programs/localized/es_ES.ISO8859-1/msg/dtinfo.msg index d2d9f309..593088f7 100644 --- a/cde/programs/localized/es_ES.ISO8859-1/msg/dtinfo.msg +++ b/cde/programs/localized/es_ES.ISO8859-1/msg/dtinfo.msg @@ -448,7 +448,7 @@ $ 238 Boolean operator AND $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/localized/fr_FR.ISO8859-1/msg/dtinfo.msg b/cde/programs/localized/fr_FR.ISO8859-1/msg/dtinfo.msg index 874fdf17..e8bc95cb 100644 --- a/cde/programs/localized/fr_FR.ISO8859-1/msg/dtinfo.msg +++ b/cde/programs/localized/fr_FR.ISO8859-1/msg/dtinfo.msg @@ -448,7 +448,7 @@ $ 238 Boolean operator AND $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/localized/it_IT.ISO8859-1/msg/dtinfo.msg b/cde/programs/localized/it_IT.ISO8859-1/msg/dtinfo.msg index 9efc41eb..a39cfb6d 100644 --- a/cde/programs/localized/it_IT.ISO8859-1/msg/dtinfo.msg +++ b/cde/programs/localized/it_IT.ISO8859-1/msg/dtinfo.msg @@ -449,7 +449,7 @@ $ 238 Boolean operator AND $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/localized/ja_JP.dt-eucJP/msg/dtinfo.msg b/cde/programs/localized/ja_JP.dt-eucJP/msg/dtinfo.msg index f42aa7a2..08622614 100644 --- a/cde/programs/localized/ja_JP.dt-eucJP/msg/dtinfo.msg +++ b/cde/programs/localized/ja_JP.dt-eucJP/msg/dtinfo.msg @@ -446,7 +446,7 @@ $ "NEW-" 265 "¥°¥é¥Õ¥£¥Ã¥¯¤Î¥¢¥¿¥Ã¥Á" $ 270 "..." is a button label indicating a list from which an -$ entry may be selected to fill a preceeding text field. +$ entry may be selected to fill a preceding text field. $ In this case, the user may enter a path into a text field $ or activate the button with "..." to be presented with $ a File Selection Box. The object is to select an Infolib diff --git a/cde/programs/ttsnoop/README b/cde/programs/ttsnoop/README index fa31d927..af6bc673 100644 --- a/cde/programs/ttsnoop/README +++ b/cde/programs/ttsnoop/README @@ -191,7 +191,7 @@ to make it replace the current ttsnoop. * Performance The new ttsnoop is much smaller than the old one, but that is - not very relevent since its primary purpose is for debugging. + not very relevant since its primary purpose is for debugging. * Documentation diff --git a/cde/programs/util/scripts/convertvf b/cde/programs/util/scripts/convertvf index fdef594d..0607d009 100644 --- a/cde/programs/util/scripts/convertvf +++ b/cde/programs/util/scripts/convertvf @@ -177,7 +177,7 @@ awk ' } # - # TYPE MESSAGE actions were not publically exposed so there should + # TYPE MESSAGE actions were not publicly exposed so there should # not be many message actions to translate. Here we make some # assumptions about the message action. #