Commit Graph

1089 Commits

Author SHA1 Message Date
Kevin Lange
98b6ae5867 esh -> sh, clean up
* login should set some environment variables now
* init should start terminals as login shells, so --single doesn't really
  mean "single user" any more, just sorta single terminal session
* system() should work now since esh now accepts -c; not that vim is
  still going to be unhappy because it does crazy shit.
2013-03-28 00:12:48 -07:00
Kevin Lange
c06c3a483e Fix ^R in esh...
... such that it doesn't clear the right hand side of the prompt, which
now contains the date and time.
2013-03-27 18:30:19 -07:00
Kevin Lange
f2274f0d2f New prompt format 2013-03-27 17:42:57 -07:00
Kevin Lange
eff6aa9114 RGB color support in terminal 2013-03-27 17:42:47 -07:00
Kevin Lange
faae12f1cd Fix bg=16 in terminal being interpreted as transparent
This fixes a bug in Vim and one introduced an hour ago in Nyancat.
This bug was also present in early versions of bim.

Problem: If the background is set to 16 (all black) explicitly, we still
treat it as if it is the default color and thus make it transparent.
This is wrong, only the default background, as set by resetting either
the bg itself (with mode 49) or the full display parameter set (with 0)
should show up transparent.

Solution: By using flag to indicate wether the background is "default",
we can detect other uses of background color 16 without having fudge
with other colors like 0. The flag is ANSI_SPECBG, where SPEC means
"special", and thus it is set any time the background changes
explicitly, and is unset in raw cells or places where we are in default
mode.
2013-03-27 00:22:15 -07:00
Kevin Lange
4fc6fe741a Add usleep to newlib, silence some warnings 2013-03-26 23:30:09 -07:00
Kevin Lange
5867eec659 Deprecate legacy terminal size feedback 2013-03-25 22:24:26 -07:00
Kevin Lange
a125d2dbb9 Merge branch 'strawberry-dev' of github.com:klange/osdev into strawberry-dev 2013-03-25 21:48:57 -07:00
Kevin Lange
a55a652e0e new fs node device pointer 2013-03-25 21:48:16 -07:00
Kevin Lange
bac4d54bed Revert version to 0.4.99 2013-03-25 21:48:03 -07:00
Kevin Lange
ea8feba109 Updated TODO 2013-03-25 21:43:38 -07:00
Kevin Lange
afac5cd955 fix derp in dev FSes, add /dev/random 2013-03-22 22:38:10 -07:00
Kevin Lange
479827eb1b Clean up terminal resizes; fix scale 2013-03-22 22:08:21 -07:00
Kevin Lange
466155954f ignore vim configs in hdd 2013-03-22 22:08:04 -07:00
Kevin Lange
bc2e4741c7 Random bits and pieces 2013-03-22 15:11:19 -07:00
Kevin Lange
ce4c6bea52 Better debug output, using serial, for userspace 2013-03-22 12:39:05 -07:00
Kevin Lange
674f047bde fix stat for missing file 2013-03-22 12:14:04 -07:00
Kevin Lange
fa79c89e54 Some fixes and cleanup 2013-03-22 11:58:22 -07:00
Patrick Lucas
2b4015ce07 Add debian case for apt-get install of deps 2013-03-21 16:25:22 -04:00
Kevin Lange
afd0c59de1 Fix warning in syscalls.c 2013-03-21 00:03:05 -07:00
Kevin Lange
ef459bdaad More rough stubs and fixes 2013-03-20 21:24:55 -07:00
Kevin Lange
21aeb34ea4 Rough ioctl with support for winsize 2013-03-18 23:57:40 -07:00
Kevin Lange
6f94ce2296 procfs extensions and ps command 2013-03-18 21:52:45 -07:00
Kevin Lange
ff429a7d07 Fix termios.h in newlib 2013-03-18 13:23:25 -07:00
Kevin Lange
71342f842d procfs, and more pty cleanup 2013-03-18 00:52:12 -07:00
Kevin Lange
e02cf79e2a Rough PTY support (needs work) 2013-03-17 16:34:23 -07:00
Kevin Lange
cef1d359a1 Blocking serial reads 2013-03-17 16:34:01 -07:00
Kevin Lange
e223c57af8 Reserve some entries for process scheduling 2013-03-17 16:33:28 -07:00
Kevin Lange
71931b3cf3 Improvements to lists 2013-03-17 16:32:44 -07:00
Kevin Lange
3b5b532a27 device file coloring in ls 2013-03-17 16:32:10 -07:00
Kevin Lange
eb92cccecd Cleanup 2013-03-15 00:52:09 -07:00
Kevin Lange
8dd2686b40 Really hack VFS implementation 2013-03-15 00:20:55 -07:00
Kevin Lange
22f04f137b Relatively compliant uname() implementation
Also, sleep() as a function (implemented by way of nanosleep) and new
absolute and relative sleep system calls added to newlib.

[ci skip] I damn well know this is going to break CI.
2013-03-13 21:55:25 -07:00
Kevin Lange
792b0f4e7a New MOTD 2013-03-03 17:13:42 -08:00
Kevin Lange
6a45953249 Fresh wallpaper 2013-03-03 17:11:48 -08:00
Kevin Lange
09ec69340c New version tree 2013-03-03 17:11:41 -08:00
Kevin Lange
2a7c106807 Some quick README updates
[ci skip]
2013-02-25 19:59:22 -08:00
Kevin Lange
70a6d731a2 Tweaks to production image generator 2013-02-22 14:04:27 -08:00
Kevin Lange
5c71a406ab Merge pull request #28 from stevej/patch-1
Update README.me to include link to Skelix OS tutorial
2013-02-20 13:57:41 -08:00
Steve Jenson
aa2dbde078 Update README.me to include link to Skelix OS tutorial 2013-02-20 13:11:44 -08:00
Kevin Lange
9b745b5de0 tags target should depend on userspace properly 2013-02-19 21:10:05 -08:00
Kevin Lange
a8020854e4 TTK as a library 2013-02-12 00:04:31 -08:00
Kevin Lange
afa3750144 Fix docstring for build.py
[ci skip]
2013-02-10 20:10:13 -08:00
Kevin Lange
2f9fb19a4d Strip binaries again 2013-02-10 02:06:29 -08:00
Kevin Lange
4dbdaf342d compositor2 -> compositor 2013-02-10 02:01:31 -08:00
Kevin Lange
6933511a01 build.sh needs updates as well
[ci skip]
2013-02-10 02:00:23 -08:00
Kevin Lange
56b83c1020 I also broke the entire core Makefile 2013-02-10 01:53:23 -08:00
Kevin Lange
0ad450587c Fix travis? 2013-02-10 01:40:31 -08:00
Kevin Lange
b2f94bd393 Completely new build system for userspace 2013-02-10 01:36:35 -08:00
Kevin Lange
f0bc073bfe Unsubmodule image generator 2013-02-09 20:58:38 -08:00