search for: ipwdstr

Displaying 3 results from an estimated 3 matches for "ipwdstr".

Did you mean: pwdstr
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...sole_raw(); - while (inc == KEY_NONE) { + while (inc == KEY_NONE) inc = get_key(stdin, 6000); - } -// rosh_console_std(); return inc; } /* rosh_getkey */ -/* Template for command functions - * cmdstr command string to process - * pwdstr Present Working Directory string - * ipwdstr Initial PWD +/* + * Qualifies a filename relative to the working directory + * filestr Filename to qualify + * pwdstr working directory + * returns qualified file name string */ -void rosh_1(const char *cmdstr, const char *pwdstr, const char *ipwdstr) +void rosh_qualify_filestr(char *filestr, con...
2009 Feb 15
2
COM32 module: Read-Only shell
...+ int inc; + + inc = KEY_NONE; +// rosh_console_raw(); + while (inc == KEY_NONE){ + inc = get_key(stdin, 6000); + } +// rosh_console_std(); + return inc; +} /* rosh_getkey */ + +/* Template for command functions + * cmdstr command string to process + * pwdstr Present Working Directory string + * ipwdstr Initial PWD + */ +void rosh_1(const char *cmdstr, const char *pwdstr, const char *ipwdstr) +{ + ROSH_DEBUG("CMD: '%s'\npwd: '%s'\npwd: '%s'\n", cmdstr, pwdstr, \ + ipwdstr); +} /* rosh_1 */ + +/* Concatenate multiple files to stdout + * cmdstr command string to pr...
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...+311,7 @@ void rosh_cat(const char *cmdstr, const char *pwdstr) fclose(f); } else { rosh_error(errno, "cat", filestr); + errno = 0; } cmdpos = rosh_parse_sp_1(filestr, cmdstr, cmdpos); } @@ -320,13 +335,14 @@ void rosh_cd(const char *cmdstr, char *pwdstr, const char *ipwdstr) /* skip the first word */ cmdpos = rosh_parse_sp_1(filestr, cmdstr, cmdpos); cmdpos = rosh_parse_sp_1(filestr, cmdstr, cmdpos); - ROSH_COM32(" -- cd (Change Directory) not implemented for use with run and exit.\n"); + ROSH_COM32(rosh_cd_norun_str); if (strlen(filestr) != 0) rv...