* 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) @@\
#endif
/*
- * Some commonly refered to directories are defined here.
+ * Some commonly referred to directories are defined here.
*/
#if XF86LinkKit
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:
<literallayout role=sgmlexample>
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
unless specified otherwise.
</PARA></SECT1>
<SECT1 Id="DB.div.53"><TITLE>“In-line” vs. “In flow”</TITLE>
-<PARA>In this document, “in-line” means ”occuring within a line
+<PARA>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
</PARA></LISTITEM></VARLISTENTRY>
<VARLISTENTRY><TERM>Author</TERM>
<LISTITEM>
-<PARA>Author of a document, occuring in
+<PARA>Author of a document, occurring in
AuthorGroup. It consists of
one or more of the following, in any order:
Honorific, Firstname, Surname, Lineage, OtherName,
<LISTITEM>
<PARA>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,
<para>The actual commands to create a push button widget are:</para>
<programlisting>XtCreateWidget BUTTON button XmPushButton $TOPLEVEL
XmCreatePushButton BUTTON $TOPLEVEL button</programlisting>
-<para>Each of the preceeding commands do exactly the same thing: create an
+<para>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:</para>
<VarListEntry>
<Term>DtACTION_FAILED</Term>
<ListItem>
-<Para>An error occured and a normal termination is no longer possible.
+<Para>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
<Term><SystemItem Class="Constant">DtINFO_SHOW_OK</SystemItem></Term>
<ListItem>
<Para>
-ToolTalk request succesfully sent.
+ToolTalk request successfully sent.
</Para>
</ListItem>
</VarListEntry>
<para>Sets the frequency of occurrence threshold for reporting words to
<Symbol Role="Variable">threshold</Symbol>. <command>dtsrkdump</command>
will output only those words that occure in at least
-<Symbol Role="Variable">threshold</Symbol> records. Setting the threshhold to 1
+<Symbol Role="Variable">threshold</Symbol> records. Setting the threshold to 1
will output all words. If neither the <literal>−t</literal> nor
<literal>−p</literal> option is specified, the default threshold
is <literal>−t100</literal>.
the user's
<Filename>$HOME/.Xdefaults</Filename> file would be ignored.
However, the
-session manager accomodates
+session manager accommodates
<Filename>$HOME/.Xdefaults</Filename> by merging it into
the
<Symbol Role="Define">RESOURCE_MANAGER</Symbol> at session startup as described above.
<Para>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
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.
</Para>
</RefSect2>
<Sect1 Id="UG.LogIn.div.9">
<Title Id="UG.LogIn.mkr.5">Starting a Command-Line Session</Title>
<Para>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
<Para>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 <ComputerOutput>-server</ComputerOutput> 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.</Para>
</ListItem>
</VarListEntry>
</listitem>
<listitem id="hcal.tsks.item.151"><para>Auf 'Anzeigen' klicken.</para>
<para>Der angezeigte Kalender wechselt und zeigt den neuen Kalender an.
-<!-- <idx>error messages, from Show Other calender dialog box<\idx> --></para>
+<!-- <idx>error messages, from Show Other calendar dialog box<\idx> --></para>
<para>Das Dialogfenster 'Anderen Kalender anzeigen' zeigt eine Nachricht mit
dem Namen des angezeigten Kalenders an. Wurde der Kalendername inkorrekt
eingegeben, wird eine Fehlermeldung angezeigt.
}
/*
- * Use abbreviated method of refering to the data buffers.
+ * Use abbreviated method of reffering to the data buffers.
*/
if (transferInfo != NULL && transferInfo->dropData != NULL) {
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
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
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
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
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
<refsect1>
<title>RETURN VALUE</title>
<para>The id the <Symbol>XmPrintShell</Symbol> 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.
</para>
</refsect1>
<refsect1>
<Para>If a resource in a rendition is unspecified, usually by setting it to
<SystemItem Class="Constant">XmAS_IS</SystemItem> or <SystemItem Class="Constant">XmUNSPECIFIED_PIXEL</SystemItem>,
then the value to be used for that resource is the value of the
-immediately preceeding rendition in <StructName Role="typedef">XmString</StructName>. If that value
+immediately preceding rendition in <StructName Role="typedef">XmString</StructName>. 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.
<SystemItem Class="Constant">XmSTRING_COMPONENT_UNKNOWN</SystemItem>. The data returned by these
components is returned in the <Symbol Role="Variable">unknown_tag</Symbol>, <Symbol Role="Variable">unknown_length</Symbol>,
and <Symbol Role="Variable">unknown_value</Symbol> 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 <Function>XmStringGetNextTriple</Function> procedure, which provides all the
*
* errno Values:
*
- * Purpose: To check for the existance of a volume.
+ * Purpose: To check for the existence of a volume.
*
******************************************************************************/
static int
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;
(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)
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)
(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)
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)
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)
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 )
{
*
* 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()
*****************************************************************************/
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';
* 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<bs_
* would be an italic capitol A, a regular capital B and
* an italic less than sign.
* All backslashes and less than signs are output with a backslash
- * preceeding them.
+ * preceding them.
*
* The following characters have special meaning in the state table:
* <c> indicates a character.
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 */
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 */
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 */
}
/*
- * 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++)
if (retState == -1)
{
- /* Some error occured while processing the new toc,
+ /* Some error occurred while processing the new toc,
* error out or something ???
*/
}
* 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.
* 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 .............
* 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.
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) *
} /* 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;
/* 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 */
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;
(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) {
#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] )
#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))
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) );
}
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
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
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. */
}
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,
/*******************************************************************************
* _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 *
* _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)
*
* _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.
*
*****************************************************************************/
*
* Notes:
*
- * This function must be preceeded by a call to
+ * This function must be preceded by a call to
* "_DtInitializeCommandInvoker".
*
*****************************************************************************/
* 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:
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....
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.
*/
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.
*/
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 */
* 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:
#include <langinfo.h>
#include <Dt/Collate.h>
-#ifdef sco /* XPG4isms comming soon */
+#ifdef sco /* XPG4isms coming soon */
#ifndef _NL_DIRECT
#define _NL_DIRECT
typedef int nl_direct;
**
** 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
** 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);
*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,
* 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
*
***************************************************************************/
* 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
*
***************************************************************************/
* 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
*
***************************************************************************/
* 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
*
***************************************************************************/
* 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
*
***************************************************************************/
* 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
*
***************************************************************************/
*
*
* Returns 0 - the portion was replaced sucessfully
- * !0 - an error occured while replacing the portion
+ * !0 - an error occurred while replacing the portion
*
***************************************************************************/
* 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
*
***************************************************************************/
* 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:
* 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
/*
* 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));
{
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);
}
}
/*
- * establish_user_environment - Set up the new users enviornment
+ * establish_user_environment - Set up the new users environment
*/
static void
.LP
The
.I pamh
-arguement is the
+argument is the
.SM PAM
handle obtained by a prior call to
.BR pam_start(\|) .
//
// 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);
/* 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) {
/*
* 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.
*/
//
// 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()
}
-// 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 *)
{
* 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.
*
* 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).
*/
} 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;
/*
* 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.
* 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*/
* 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
* 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*/
* 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
* 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.
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
* 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*/
* 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
* 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*/
* 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
* 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.
// 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++;
//
-// 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
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);
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
{
/* 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)
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;
/*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;
* "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.
*/
}
/*
-** 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
if ((rc < 0) && (rc != ERR_EOF))
{
- /* failure occured */
+ /* failure occurred */
segArray->numSegs = 0;
return_code(rc);
}
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;
}
/*
- * 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
}
/*
- * 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
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' } ;
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) ;
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? */
{
void
-initialise(void)
+initialize(void)
{
int i ;
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. */
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(()) ;
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() ;
}
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] ;
/*
- * 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
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);
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));
* 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
/*
* 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(
* 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.
*/
# 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
* 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
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;
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:
* 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.
*
*----------------------------------------------------------------------
*/
* 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.
*
*----------------------------------------------------------------------
*/
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] <catname> <msgno> ['default' arg ... ]"));
argv++;
argc--; /* skip past the '-s' */
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] <catname> <msgno> ['default' arg ... ]"));
argv++;
}
/*
* So that select() errors cannot dominate, now behave as
- * though only a timeout had occured.
+ * though only a timeout had occurred.
*/
nfound = 0;
}
}
/*
* So that select() data cannot dominate, now behave as
- * though only a timeout had occured.
+ * though only a timeout had occurred.
*/
nfound = 0;
}
/************************************************************************
*
* CurrentDirIconCallback
- * Callback function invoked upon an action occuring on an icon.
+ * Callback function invoked upon an action occurring on an icon.
*
************************************************************************/
/************************************************************************
*
* IconCallback
- * Callback function invoked upon an action occuring on an icon.
+ * Callback function invoked upon an action occurring on an icon.
*
************************************************************************/
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))
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.
*/
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,
/************************************************************************
*
* FileWindowExposeCallback
- * Callback function invoked upon an exposure event occuring
+ * Callback function invoked upon an exposure event occurring
* in the file display area.
*
************************************************************************/
/************************************************************************
*
* 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.
*
************************************************************************/
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) */
}
{
/* 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.
* 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.
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;
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;
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);
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);
* *
* 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. *
* *
***************************************************************************/
* *
* 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. *
* *
***************************************************************************/
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
Data for positional restore:
(for now just offset and length for simplicity)
- preceeding locator
+ preceding locator
offset
first n characters
length
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) {
// 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()
}
// 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
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\
class PartialElementFeatures
{
- // element features acceptible by prefix and suffix
+ // element features acceptable by prefix and suffix
public:
PartialElementFeatures(CanvasRenderer *);
PartialElementFeatures (PartialElementFeatures &);
_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.
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()
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 &&
$ 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
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');
}
====================
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.
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.
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 ((...))
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";
#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 */
{"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},
*
* 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.
*/
.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
.I n
is 0 if
.B no
-preceeded the option
+preceded the option
.I name
and
.I v
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)
/*
- * 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.
*/
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) {
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;
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;
}
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");
}
#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
#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
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++;
// 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.
//
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.
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);
_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.
enableGroupPrivileges(void *)
{
if(-1 == setgid(_originalEgid)) {
- fprintf(stderr, "Failed to enable group priviledges\n");
+ fprintf(stderr, "Failed to enable group privileges\n");
}
}
disableGroupPrivileges(void *)
{
if(-1 == setgid(_originalRgid)) {
- fprintf(stderr, "Failed to disable group priviledges\n");
+ fprintf(stderr, "Failed to disable group privileges\n");
}
}
/*
* 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) {
$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."
// 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.
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();
//
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
}
// 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;
** 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:
**
_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.
*/
/************************************************************************
* PrintJobGetErrorPrintDisplay
- * Returns the last print display on which an error occured.
+ * Returns the last print display on which an error occurred.
************************************************************************/
Display *
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)
/************************************************************************
* 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)
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,
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,
then
print "...successfully completed."
else
- print "...completed UNsuccesfully."
+ print "...completed UNsuccessfully."
fi
print ""
}
*
* Inputs:
* ------
- * w = widget where event occured
+ * w = widget where event occurred
* client_data = client specific data sent to callback
* event = event that triggered callback
*
*
* Description:
* -----------
- * Redisplays the cover and the login when neccessary.
+ * Redisplays the cover and the login when necessary.
*
*
* Inputs:
/*
* 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;
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;
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;
/* 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);
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.
*/
*
* 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:
/*
** 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.
*/
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];
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.
!# 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:
##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 */
}
}
} else
- fprintf(stderr, "Unanticipatable error occured in fopencheck.\n");
+ fprintf(stderr, "Unanticipatable error occurred in fopencheck.\n");
return -1;
}
} 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 ;
}
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 :
}
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 ) ;
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;
/* _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. */
};
/* 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.
*/
};
/* 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.
*/
/*
* 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 */
/*
* 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 */
(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.
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 '\'.
*/
/*
* 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) {
return 0;
}
- /* letter size hieght */
+ /* letter size height */
if ( diff.letter.h < 0 ) {
return 1;
}
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",
/************************************************************************
*
* arm
- * This function processes button 1 down occuring on the button.
+ * This function processes button 1 down occurring on the button.
*
************************************************************************/
/************************************************************************
*
* disarm
- * This function processes button 1 up occuring on the button.
+ * This function processes button 1 up occurring on the button.
*
************************************************************************/
/************************************************************************
*
* 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.
*
/* 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.
*/
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)
/* 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 &&
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)
*
* 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:
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;
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) {
* 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
*
* 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
* -------
* (wmGD.clickData) = click processing information
*
- * (wmGD.clickData.doubleClickContext) = set if double click occured
+ * (wmGD.clickData.doubleClickContext) = set if double click occurred
*
*************************************<->***********************************/
* -------
* (wmGD.clickData) = click processing information
*
- * (wmGD.clickData.clickContext) = set if click occured
+ * (wmGD.clickData.clickContext) = set if click occurred
*
*************************************<->***********************************/
/************************************************************************
*
* 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.
*
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;
* 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:
* -------
/*
* 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)
*
* 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.
*
*************************************<->***********************************/
*
* 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.
*
*************************************<->***********************************/
* (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,
$ 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
$ 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
$ 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
$ 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
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
* 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
}
#
- # 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.
#