#include <Xm/MwmUtil.h>
#include <Xm/Protocols.h>
#include <Xm/VendorSEP.h>
+#include <Xm/SeparatoG.h>
/* Copied from BaseClassI.h */
extern XmWidgetExtData _XmGetWidgetExtData(
Widget widget,
char translations_return[] = "<Key>Return:ManagerGadgetSelect()";
static Boolean NoDisplay=False;
+extern XtPointer _XmStringUngenerate (
+ XmString string,
+ XmStringTag tag,
+ XmTextType tag_type,
+ XmTextType output_type);
+
int
main(argc, argv)
int argc ;
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include "general.h"
#endif
#include <ctype.h>
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#include <locale.h>
#include <fcntl.h>
#if defined(MSDOS)
INIT('\\')
#else
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
INIT('/')
#else
****define directory separator here****
#endif
;
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)|| defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)|| defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#define CSEP '/'
#define SSEP "/"
#else
char *unqualname;
#endif
{
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
FILE *f;
#endif
fnp = fn;
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
qualname[0] = '\0';
gp = qualname + strlen(qualname);
roomleft = roomleft - strlen(qualname);
while (1);
*strrchr(qualname, CSEP) = '\0';
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#else
strupr ( qualname );
#endif
*/
#include "basic.h"
+#include "trie.h"
+#include "cont.h"
/* compare two wide character strings */
char *unqualname;
#endif
{
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
FILE *f;
#endif
char fn[FNAMELEN];
fnp = fn;
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
qualname[0] = '\0';
gp = qualname + strlen(qualname);
roomleft = roomleft - strlen(qualname);
while (1);
*strrchr(qualname, CSEP) = '\0';
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#else
strupr ( qualname );
#endif
*/
#include "basic.h"
+#include "trie.h"
+#include "cont.h"
/* compare two wide character strings */
#endif
#include <ctype.h>
-#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(linux)
+#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#include <locale.h>
#include <fcntl.h>
*/
#include "basic.h"
+#include "trie.h"
+#include "cont.h"
/* compare two wide character strings */
case MODE_START:
#ifndef DEBUG2
-# ifdef __osf__
+# if defined(__osf__) || defined(CSRG_BASED)
setsid();
# else
setpgrp();
#include <setjmp.h>
#include <unistd.h>
-#if (defined(USL) || defined(__uxp__) | defined(linux)) && !defined(_NFILE)
+#if (defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)) && !defined(_NFILE)
#define _NFILE FOPEN_MAX
#endif
int enable;
{
DPR(("set_sig_chld(%s)\n", enable ? "Enabled" : "Disabled"));
- signal(SIGCLD, enable ? on_sig_chld : SIG_IGN);
+ signal(SIGCHLD, enable ? on_sig_chld : SIG_IGN);
}
int im_mod_available(renv)
for (i = 0; i < _NFILE; i++)
(void) close(i);
-#ifdef __osf__
+#if defined(__osf__) || defined(CSRG_BASED)
setsid();
#else
setpgrp();
if (pid == -1)
return;
- signal(SIGCLD, on_sig_chld);
+ signal(SIGCHLD, on_sig_chld);
if (WIFEXITED(wait_status)) {
cause = ErrImsAborted;