diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-17 19:43:59 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-17 19:43:59 +0200 |
| commit | d98828d08eb1f6c1394f38a1df69c73fef0cfefa (patch) | |
| tree | 31df37430733c906b235b88c2cfa14d835af4bec /userspace/foolshell.c | |
| parent | 29ea3208b004f15dafa48ae29a75ba7f0c093a74 (diff) | |
working on vt52 and some cleanup
Diffstat (limited to 'userspace/foolshell.c')
| -rw-r--r-- | userspace/foolshell.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/userspace/foolshell.c b/userspace/foolshell.c index da05e96..84d24b0 100644 --- a/userspace/foolshell.c +++ b/userspace/foolshell.c @@ -46,6 +46,14 @@ int main(int argc, char **argv) char *buf=malloc(256); // printf("malloc returned: 0x%08X\n",buf); + // + while(1) + { + fgets(buf,2,stdin); + buf[1]=0; + puts(buf); + } + while(1) { |
