Home
last modified time | relevance | path

Searched refs:shellp (Results 1 – 25 of 29) sorted by relevance

12

/dports/japanese/ng-canna/ng-1.4.4/sys/msdos/
H A Dspawn.c71 if (shellp == NULL) { in spawncli()
72 shellp = getenv("SHELL"); in spawncli()
73 if (shellp == NULL) in spawncli()
74 shellp = getenv("shell"); in spawncli()
75 if (shellp == NULL) in spawncli()
76 shellp = getenv("COMSPEC"); in spawncli()
77 if (shellp == NULL) in spawncli()
78 shellp = getenv("comspec"); in spawncli()
79 if (shellp == NULL) in spawncli()
80 shellp = "command.com"; /* Safer. */ in spawncli()
[all …]
/dports/japanese/ng-devel/ng-1.5beta1/sys/msdos/
H A Dspawn.c71 if (shellp == NULL) { in spawncli()
72 shellp = getenv("SHELL"); in spawncli()
73 if (shellp == NULL) in spawncli()
74 shellp = getenv("shell"); in spawncli()
75 if (shellp == NULL) in spawncli()
76 shellp = getenv("COMSPEC"); in spawncli()
77 if (shellp == NULL) in spawncli()
78 shellp = getenv("comspec"); in spawncli()
79 if (shellp == NULL) in spawncli()
80 shellp = "command.com"; /* Safer. */ in spawncli()
[all …]
/dports/japanese/ng/ng-1.4.4/sys/msdos/
H A Dspawn.c71 if (shellp == NULL) { in spawncli()
72 shellp = getenv("SHELL"); in spawncli()
73 if (shellp == NULL) in spawncli()
74 shellp = getenv("shell"); in spawncli()
75 if (shellp == NULL) in spawncli()
76 shellp = getenv("COMSPEC"); in spawncli()
77 if (shellp == NULL) in spawncli()
78 shellp = getenv("comspec"); in spawncli()
79 if (shellp == NULL) in spawncli()
80 shellp = "command.com"; /* Safer. */ in spawncli()
[all …]
/dports/japanese/ng-canna/ng-1.4.4/sys/human68k/
H A Dspawn.c22 char *shellp = NULL; /* Saved "SHELL" name. */ variable
42 if (shellp == NULL) { in spawncli()
43 shellp = getenv("SHELL"); in spawncli()
44 if (shellp == NULL) in spawncli()
45 shellp = getenv("shell"); in spawncli()
46 if (shellp == NULL) in spawncli()
47 shellp = "command.x"; /* Safer. */ in spawncli()
62 if (spawnlp(P_WAIT, shellp, shellp, NULL) == -1) { in spawncli()
70 ewprintf("Failed to run %s", shellp); in spawncli()
/dports/japanese/ng/ng-1.4.4/sys/human68k/
H A Dspawn.c22 char *shellp = NULL; /* Saved "SHELL" name. */ variable
42 if (shellp == NULL) { in spawncli()
43 shellp = getenv("SHELL"); in spawncli()
44 if (shellp == NULL) in spawncli()
45 shellp = getenv("shell"); in spawncli()
46 if (shellp == NULL) in spawncli()
47 shellp = "command.x"; /* Safer. */ in spawncli()
62 if (spawnlp(P_WAIT, shellp, shellp, NULL) == -1) { in spawncli()
70 ewprintf("Failed to run %s", shellp); in spawncli()
/dports/japanese/ng-devel/ng-1.5beta1/sys/human68k/
H A Dspawn.c22 char *shellp = NULL; /* Saved "SHELL" name. */ variable
42 if (shellp == NULL) { in spawncli()
43 shellp = getenv("SHELL"); in spawncli()
44 if (shellp == NULL) in spawncli()
45 shellp = getenv("shell"); in spawncli()
46 if (shellp == NULL) in spawncli()
47 shellp = "command.x"; /* Safer. */ in spawncli()
62 if (spawnlp(P_WAIT, shellp, shellp, NULL) == -1) { in spawncli()
70 ewprintf("Failed to run %s", shellp); in spawncli()
/dports/japanese/ng-canna/ng-1.4.4/sys/sysv/
H A Dspawn.c65 if (shellp == NULL) {
66 shellp = getenv("SHELL");
67 if (shellp == NULL)
68 shellp = getenv("shell");
69 if (shellp == NULL)
70 shellp = "/bin/sh"; /* Safer. */
71 shname = strrchr( shellp, '/' );
72 shname = shname ? shname+1 : shellp;
78 if (strcmp(shellp, "/bin/csh") == 0) {
105 if (strcmp(shellp, "/bin/sh")!=0 ||
[all …]
/dports/japanese/ng/ng-1.4.4/sys/sysv/
H A Dspawn.c65 if (shellp == NULL) {
66 shellp = getenv("SHELL");
67 if (shellp == NULL)
68 shellp = getenv("shell");
69 if (shellp == NULL)
70 shellp = "/bin/sh"; /* Safer. */
71 shname = strrchr( shellp, '/' );
72 shname = shname ? shname+1 : shellp;
78 if (strcmp(shellp, "/bin/csh") == 0) {
105 if (strcmp(shellp, "/bin/sh")!=0 ||
[all …]
/dports/japanese/ng-devel/ng-1.5beta1/sys/sysv/
H A Dspawn.c65 if (shellp == NULL) {
66 shellp = getenv("SHELL");
67 if (shellp == NULL)
68 shellp = getenv("shell");
69 if (shellp == NULL)
70 shellp = "/bin/sh"; /* Safer. */
71 shname = strrchr( shellp, '/' );
72 shname = shname ? shname+1 : shellp;
78 if (strcmp(shellp, "/bin/csh") == 0) {
105 if (strcmp(shellp, "/bin/sh")!=0 ||
[all …]
/dports/japanese/ng-devel/ng-1.5beta1/sys/unix/
H A Dspawn.c92 if (shellp == NULL) { in spawncli()
93 shellp = getenv("SHELL"); in spawncli()
94 if (shellp == NULL) in spawncli()
95 shellp = getenv("shell"); in spawncli()
96 if (shellp == NULL) in spawncli()
97 shellp = "/bin/sh"; /* Safer. */ in spawncli()
98 shname = rindex( shellp, '/' ); in spawncli()
99 shname = shname ? shname+1 : shellp; in spawncli()
103 if (strcmp(shellp, "/bin/csh") == 0) { in spawncli()
120 if (strcmp(shellp, "/bin/sh")!=0 || in spawncli()
[all …]
/dports/japanese/ng/ng-1.4.4/sys/bsd/
H A Dspawn.c24 char *shellp = NULL; /* Saved "SHELL" name. */ variable
68 if (shellp == NULL) {
69 shellp = getenv("SHELL");
70 if (shellp == NULL)
71 shellp = getenv("shell");
72 if (shellp == NULL)
73 shellp = "/bin/sh"; /* Safer. */
77 if (strcmp(shellp, "/bin/csh") == 0) {
96 if (strcmp(shellp, "/bin/sh")!=0 ||
131 execl(shellp, "sh", "-i", NULL);
/dports/japanese/ng-canna/ng-1.4.4/sys/bsd/
H A Dspawn.c24 char *shellp = NULL; /* Saved "SHELL" name. */ variable
68 if (shellp == NULL) {
69 shellp = getenv("SHELL");
70 if (shellp == NULL)
71 shellp = getenv("shell");
72 if (shellp == NULL)
73 shellp = "/bin/sh"; /* Safer. */
77 if (strcmp(shellp, "/bin/csh") == 0) {
96 if (strcmp(shellp, "/bin/sh")!=0 ||
131 execl(shellp, "sh", "-i", NULL);
/dports/japanese/ng-devel/ng-1.5beta1/sys/bsd/
H A Dspawn.c24 char *shellp = NULL; /* Saved "SHELL" name. */ variable
68 if (shellp == NULL) {
69 shellp = getenv("SHELL");
70 if (shellp == NULL)
71 shellp = getenv("shell");
72 if (shellp == NULL)
73 shellp = "/bin/sh"; /* Safer. */
77 if (strcmp(shellp, "/bin/csh") == 0) {
96 if (strcmp(shellp, "/bin/sh")!=0 ||
131 execl(shellp, "sh", "-i", NULL);
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/grap/
H A Dinput.c558 char shellbuf[1000], *shellp; variable
564 shellp = shellbuf + strlen(shellbuf); in shell_init()
572 *shellp++ = '\''; in shell_text()
573 *shellp++ = '\\'; in shell_text()
574 *shellp++ = '\''; in shell_text()
576 *shellp++ = *s++; in shell_text()
583 *shellp++ = '\''; in shell_exec()
584 *shellp = '\0'; in shell_exec()
/dports/textproc/heirloom-doctools/heirloom-doctools-160308/grap/
H A Dinput.c567 char shellbuf[1000], *shellp; variable
572 shellp = shellbuf; in shell_init()
579 if (shellp+5 >= &shellbuf[sizeof shellbuf]) in shell_text()
582 *shellp++ = '\''; in shell_text()
583 *shellp++ = '\\'; in shell_text()
584 *shellp++ = '\''; in shell_text()
586 *shellp++ = *s++; in shell_text()
593 *shellp = '\0'; in shell_exec()
/dports/lang/gawk/gawk-5.1.1/pc/
H A Dpopen.c62 char **shellp = shell, *s, *q;
74 if (strcmp(*shellp, p) == 0) break;
75 } while (*++shellp);
77 return(*shellp ? 1 : 0);
/dports/japanese/gawk/gawk-3.0.6/pc/
H A Dpopen.c48 char **shellp = shell, *s, *q; local
60 if (strcmp(*shellp, p) == 0) break;
61 } while (*++shellp);
63 return(*shellp ? 1 : 0);
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/tpic/
H A Dinput.c584 char shellbuf[1000], *shellp; variable
590 shellp = shellbuf + strlen(shellbuf); in shell_init()
596 while (*shellp++ = *s++) in shell_text()
598 shellp--; in shell_text()
604 *shellp++ = '\''; in shell_exec()
605 *shellp = '\0'; in shell_exec()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/pic/
H A Dinput.c578 char shellbuf[1000], *shellp; variable
583 shellp = shellbuf + strlen(shellbuf); in shell_init()
588 while ((*shellp++ = *s++)) in shell_text()
590 shellp--; in shell_text()
595 *shellp++ = '\''; in shell_exec()
596 *shellp = '\0'; in shell_exec()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/svgpic/
H A Dinput.c578 char shellbuf[1000], *shellp; variable
583 shellp = shellbuf + strlen(shellbuf); in shell_init()
588 while ((*shellp++ = *s++)) in shell_text()
590 shellp--; in shell_text()
595 *shellp++ = '\''; in shell_exec()
596 *shellp = '\0'; in shell_exec()
/dports/textproc/heirloom-doctools/heirloom-doctools-160308/pic/
H A Dinput.c587 char shellbuf[1000], *shellp; variable
591 shellp = shellbuf; in shell_init()
596 while ((*shellp++ = *s++)) { in shell_text()
597 if (shellp >= &shellbuf[sizeof shellbuf]) in shell_text()
600 shellp--; in shell_text()
605 *shellp = '\0'; in shell_exec()
/dports/ftp/tnftp/tnftp-20210827/src/
H A Dcmds.c1437 const char *shellp, *namep; in shell() local
1450 shellp = getenv("SHELL"); in shell()
1451 if (shellp == NULL) in shell()
1452 shellp = _PATH_BSHELL; in shell()
1453 namep = strrchr(shellp, '/'); in shell()
1455 namep = shellp; in shell()
1460 fputs(shellp, ttyout); in shell()
1464 execl(shellp, shellnam, "-c", altarg, (char *)0); in shell()
1467 execl(shellp, shellnam, (char *)0); in shell()
1469 warn("Can't execute `%s'", shellp); in shell()
/dports/editors/mg/mg-6.9/
H A Dregion.c487 char *shellp; in shellcmdoutput() local
497 shellp = getenv("SHELL"); in shellcmdoutput()
499 ret = pipeio(shellp, argv, text, len, bp); in shellcmdoutput()
/dports/security/krb5-appl/krb5-appl-1.0.3/telnet/telnet/
H A Dcommands.c1456 register char *shellp, *shellname; local
1458 shellp = getenv("SHELL");
1459 if (shellp == NULL)
1460 shellp = "/bin/sh";
1461 if ((shellname = strrchr(shellp, '/')) == 0)
1462 shellname = shellp;
1466 execl(shellp, shellname, "-c", &saveline[1], (char *)NULL);
1468 execl(shellp, shellname, (char *)NULL);
/dports/science/erd/erd-3.0.6/src/
H A Derd__memory_hrr_correction.f36 integer shellp, shellq

12