From a6a11437a390fb7e95fe995214d82bf5dbfe1eaf Mon Sep 17 00:00:00 2001 From: Miguel Date: Tue, 9 Oct 2018 10:31:33 +0200 Subject: something wrnog with our pipes --- userspace/Makefile | 2 +- userspace/files/file.txt | 4 ++++ userspace/fsh.c | 5 ++++- userspace/init.c | 6 +----- userspace/xterm/xterm.c | 7 +++++++ 5 files changed, 17 insertions(+), 7 deletions(-) (limited to 'userspace') diff --git a/userspace/Makefile b/userspace/Makefile index b1b077d..af799fb 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -1,4 +1,4 @@ -IMAGESIZE=20000 #ext2.img size in Kb +IMAGESIZE=30000 #ext2.img size in Kb ####################### diff --git a/userspace/files/file.txt b/userspace/files/file.txt index 8cdd524..7a8a521 100644 --- a/userspace/files/file.txt +++ b/userspace/files/file.txt @@ -80,3 +80,7 @@ both eyes so that they made a half-garland on the projecting steel. There was no part of the hook that a great fish could feel which was not sweet smelling and good tasting. +smelling and good tasting. +smelling and good tasting. +smelling and good tasting. + diff --git a/userspace/fsh.c b/userspace/fsh.c index 62cd27e..76c0954 100644 --- a/userspace/fsh.c +++ b/userspace/fsh.c @@ -33,6 +33,7 @@ void version() { puts("Fool's Shell version git-commit:" GIT_REVISION "\ncompiled on " __DATE__ " at " __TIME__); } + void help() { puts( "\nfoolshell: supported built-in commands/functions:\n\n" @@ -58,6 +59,8 @@ void prompt() int main(int argc, char **argv) { + while(1); + for(int i=0;i