summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
Diffstat (limited to 'userspace')
-rw-r--r--userspace/Makefile3
-rw-r--r--userspace/sys/sgtty.h10
2 files changed, 10 insertions, 3 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index dfe9ec3..49d93a0 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -33,6 +33,9 @@ ext2.img: $(PROGS) ../mp/mp.bin
cp ~/opt/foolos/usr/bin/worm mnt/bin/
cp ~/opt/foolos/usr/bin/dots mnt/bin/
cp ~/opt/foolos/usr/bin/background mnt/bin/
+ cp ~/opt/foolos/usr/bin/view mnt/bin/
+ cp ~/opt/foolos/usr/bin/ncurses mnt/bin/
+ cp ~/opt/foolos/usr/bin/bs mnt/bin/
cp ../mp/mp.bin mnt/boot/
mkdir -p mnt/etc
echo "127.0.0.1 localhost" > mnt/etc/hosts
diff --git a/userspace/sys/sgtty.h b/userspace/sys/sgtty.h
index 9e91b44..24d0218 100644
--- a/userspace/sys/sgtty.h
+++ b/userspace/sys/sgtty.h
@@ -5,11 +5,15 @@
#define CRMOD 0x10
#define ECHO 0x20
+// TODO: same struct should be used for /terminal/terminal.h ?
struct sgttyb{
+
int sg_ospeed;
- int sg_erase;
- int sg_kill;
+ int sg_ispeed;
+
+ char sg_erase;
+ char sg_kill;
+
int sg_flags;
- // TODO: same struct should be used for /terminal/terminal.h ?
};