diff options
Diffstat (limited to 'Source/Applications/Shell')
-rwxr-xr-x | Source/Applications/Shell/Applets/rot13 | bin | 73404 -> 0 bytes | |||
-rw-r--r-- | Source/Applications/Shell/Makefile | 6 | ||||
-rw-r--r-- | Source/Applications/Shell/Shell-fs.class.cpp | 10 |
3 files changed, 7 insertions, 9 deletions
diff --git a/Source/Applications/Shell/Applets/rot13 b/Source/Applications/Shell/Applets/rot13 Binary files differdeleted file mode 100755 index 0399a6f..0000000 --- a/Source/Applications/Shell/Applets/rot13 +++ /dev/null diff --git a/Source/Applications/Shell/Makefile b/Source/Applications/Shell/Makefile index e972dfb..4efe01e 100644 --- a/Source/Applications/Shell/Makefile +++ b/Source/Applications/Shell/Makefile @@ -4,7 +4,7 @@ CXX = g++ CXXFLAGS = -nostartfiles -nostdlib -ffreestanding -fno-exceptions -fno-rtti -I ../../Library/Common -I ../../Library/Interface -I ../../Library/Userland -D THIS_IS_MELON_USERLAND LD = ld -LDFLAGS = -T ../../Library/Link.ld -L ../../Library +LDFLAGS = -T ../../Library/App.ld -L ../../Library Objects = Shell.class.o \ Shell-fs.class.o @@ -31,8 +31,8 @@ Applets/%: Applets/%.o clean: echo "* Removing object files..." - rm -rf *.o + rm -rf *.o Applets/*.o mrproper: clean echo "* Removing applications..." - rm -rf $(OutFile) + rm -rf $(OutFile) $(Applets) diff --git a/Source/Applications/Shell/Shell-fs.class.cpp b/Source/Applications/Shell/Shell-fs.class.cpp index 30faaf7..23af339 100644 --- a/Source/Applications/Shell/Shell-fs.class.cpp +++ b/Source/Applications/Shell/Shell-fs.class.cpp @@ -28,13 +28,11 @@ void Shell::ls(Vector<String>& args) { if (((p >> i) & 1) == 0) perm[8 - i] = "-"; } if (n.type() == NT_FILE) { - outvt << " FILE " << perm << " " << n.getName() << FLUSH; - outvt.setCsrCol(30); - outvt << (s32int)n.getLength() << " bytes.\n"; + outvt << " FILE " << perm << " " << n.getName(); + outvt << MVT::setcsrcol(35) << (s32int)n.getLength() << " bytes.\n"; } else if (n.type() == NT_DIRECTORY) { - outvt << " DIR " << perm << " " << n.getName() << "/" << FLUSH; - outvt.setCsrCol(30); - outvt << (s32int)n.getLength() << " items.\n"; + outvt << " DIR " << perm << " " << n.getName() << "/"; + outvt << MVT::setcsrcol(35) << (s32int)n.getLength() << " items.\n"; } } } |