Changeset 3781092 in mainline for uspace/app/bdsh
- Timestamp:
- 2011-09-09T18:22:33Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40a2af3
- Parents:
- 980671e7 (diff), 5da7199 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/app/bdsh
- Files:
-
- 4 added
- 6 edited
-
Makefile (modified) (1 diff)
-
cmds/builtins/batch/batch.c (added)
-
cmds/builtins/batch/batch.h (added)
-
cmds/builtins/batch/batch_def.h (added)
-
cmds/builtins/batch/entry.h (added)
-
cmds/builtins/builtins.h (modified) (1 diff)
-
cmds/modules/cat/cat.c (modified) (1 diff)
-
cmds/modules/rm/rm.c (modified) (2 diffs)
-
exec.c (modified) (1 diff)
-
input.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
r980671e7 r3781092 51 51 cmds/modules/unmount/unmount.c \ 52 52 cmds/modules/kcon/kcon.c \ 53 cmds/builtins/batch/batch.c \ 53 54 cmds/builtins/exit/exit.c \ 54 55 cmds/builtins/cd/cd.c \ -
uspace/app/bdsh/cmds/builtins/builtins.h
r980671e7 r3781092 4 4 #include "config.h" 5 5 6 #include "batch/entry.h" 6 7 #include "cd/entry.h" 7 8 #include "exit/entry.h" 8 9 9 10 builtin_t builtins[] = { 11 #include "batch/batch_def.h" 10 12 #include "cd/cd_def.h" 11 13 #include "exit/exit_def.h" -
uspace/app/bdsh/cmds/modules/cat/cat.c
r980671e7 r3781092 103 103 { 104 104 console_set_pos(console, 0, console_rows-1); 105 console_set_color(console, COLOR_ BLUE, COLOR_WHITE, 0);105 console_set_color(console, COLOR_WHITE, COLOR_BLUE, 0); 106 106 107 107 printf("ENTER/SPACE/PAGE DOWN - next page, " -
uspace/app/bdsh/cmds/modules/rm/rm.c
r980671e7 r3781092 95 95 if (NULL != rm->cwd) 96 96 free(rm->cwd); 97 98 return;99 97 } 100 98 … … 129 127 } 130 128 } 129 130 closedir(dirp); 131 131 132 132 return ret; -
uspace/app/bdsh/exec.c
r980671e7 r3781092 134 134 printf("%s: Failed waiting for command (%s)\n", progname, 135 135 str_error(rc)); 136 return 1; 136 137 } else if (texit != TASK_EXIT_NORMAL) { 137 138 printf("%s: Command failed (unexpectedly terminated)\n", progname); 139 return 1; 138 140 } else if (retval != 0) { 139 141 printf("%s: Command failed (exit code %d)\n", 140 142 progname, retval); 143 return 1; 141 144 } 142 145 -
uspace/app/bdsh/input.c
r980671e7 r3781092 196 196 new_iostate.stdout = to; 197 197 } 198 198 199 199 rc = run_command(cmd, usr, &new_iostate); 200 200
Note:
See TracChangeset
for help on using the changeset viewer.
