Displaying 4 results from an estimated 4 matches for "rosh_help".
2010 Jun 27
1
[PATCH] ROSH: Upgraded
..."
#define APP_AUTHOR "Gene Cumm"
-#define APP_YEAR "2008"
-#define APP_VER "beta-b032"
+#define APP_YEAR "2010"
+#define APP_VER "beta-b062"
void rosh_version(void)
{
@@ -43,37 +45,13 @@ void rosh_version(void)
APP_AUTHOR);
}
-void rosh_help(int type)
+void print_beta(void)
{
- rosh_version();
- switch (type) {
- case 2:
- puts(rosh_help_str2);
- break;
- case 1:
- default:
- puts(rosh_help_str1);
- }
+ puts(rosh_beta_str);
+ ROSH_DEBUG("DO_DEBUG active\n");
+ ROSH_DEBUG2("DO_DEBUG2 active\n&q...
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
..."rosh"
#define APP_AUTHOR "Gene Cumm"
-#define APP_YEAR "2008"
-#define APP_VER "beta-b032"
+#define APP_YEAR "2009"
+#define APP_VER "beta-b040"
void rosh_version()
{
@@ -43,17 +47,6 @@ void rosh_version()
APP_AUTHOR);
}
-void rosh_help(int type)
-{
- rosh_version();
- switch (type) {
- case 2: puts(rosh_help_str2);
- break;
- case 1: default:
- puts(rosh_help_str1);
- }
-}
-
/* Determine if a character is whitespace
* inc input character
* returns 0 if not whitespace
@@ -61,7 +54,7 @@ void rosh_help(int type)
int rosh_iss...
2009 Feb 15
2
COM32 module: Read-Only shell
...nly Shell"
+#define APP_NAME "rosh"
+#define APP_AUTHOR "Gene Cumm"
+#define APP_YEAR "2008"
+#define APP_VER "beta-b032"
+
+void rosh_version()
+{
+ printf("%s v %s; (c) %s %s.\n", APP_LONGNAME, APP_VER, APP_YEAR, \
+ APP_AUTHOR);
+}
+
+void rosh_help(int type)
+{
+ rosh_version();
+ switch (type) {
+ case 2: puts(rosh_help_str2);
+ break;
+ case 1: default:
+ puts(rosh_help_str1);
+ }
+}
+
+/* Determine if a character is whitespace
+ * inc input character
+ * returns 0 if not whitespace
+ */
+int rosh_issp(char inc)
+{
+ int rv;
+ switch (inc...
2009 Mar 07
3
rosh patch V2
Here is a second version of my patch from last night.
It uses the provided ctype function isspace and does the same readdir().
I remove the rosh_issp() function. I admit to being a bit liberal with my
use of braces and spaces.
We all of the habit of knowing we can invent a more perfect wheel.
Let me know if you have any questions.
Keith
-------------- next part --------------
A non-text