From 50c439ffa36fed9e1cce65b211ec05bf50925cc2 Mon Sep 17 00:00:00 2001 From: germeier Date: Sun, 6 Apr 2003 23:09:19 +0000 Subject: initial support for directories BEWARE: this might have broken some things!!! --- mpiosh/global.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mpiosh/global.c') diff --git a/mpiosh/global.c b/mpiosh/global.c index 0d8e374..4bfe7b5 100644 --- a/mpiosh/global.c +++ b/mpiosh/global.c @@ -2,7 +2,7 @@ * * Author: Andreas Buesching * - * $Id: global.c,v 1.7 2003/03/06 23:41:30 germeier Exp $ + * $Id: global.c,v 1.8 2003/04/06 23:09:20 germeier Exp $ * * Copyright (C) 2001 Andreas Büsching * @@ -56,6 +56,15 @@ struct mpiosh_cmd_t commands[] = { { "dir", (char *[]){ "ls", "ll", NULL }, NULL, " list content of current memory card", mpiosh_cmd_dir, NULL }, + { "pwd", NULL, NULL, + " print the current working directory", + mpiosh_cmd_pwd, NULL }, + { "mkdir", (char *[]){ "md", NULL }, "", + " make a new directory", + mpiosh_cmd_mkdir, mpiosh_readline_comp_mpio_file }, + { "cd", NULL, "", + " change the current working directory", + mpiosh_cmd_cd, mpiosh_readline_comp_mpio_file }, { "info", NULL, NULL, " show information about MPIO player", mpiosh_cmd_info, NULL }, -- cgit v1.2.3