Kevin Lange
775895e5ea
remove extraneous test command from sh
2014-06-08 12:02:15 -07:00
Kevin Lange
06bd230076
fix out-of-order reference to cwd in sh prompt
2014-06-08 01:33:40 -07:00
Kevin Lange
01c3cb5581
Cleanup/fix ~ handling in shell
2014-06-08 00:21:23 -07:00
Kevin Lange
ef7d72c1e1
License headers and a tool to generate them
2014-06-07 23:13:29 -07:00
Kevin Lange
2680ee8660
use save/restore in prompt rather than ramming to the left
2014-06-06 11:42:04 -07:00
Kevin Lange
40c399e43a
Differentiate shell prompt for root
2014-06-05 22:36:03 -07:00
Kevin Lange
5813ea96e1
remove the debug print in tab completion in sh
2014-05-30 22:00:07 -07:00
Kevin Lange
41b7bb88f7
Allow builtins in pipelines
2014-05-30 20:50:19 -07:00
Kevin Lange
8ed59a8cb8
Hacky implementation of pipes in shell
2014-05-30 16:23:40 -07:00
Kevin Lange
1edb302b94
support ^D in shell rline
2014-05-29 21:46:38 -07:00
Kevin Lange
29841b03fc
Fix waitpid calls to account for EINTR
2014-04-29 00:28:41 -07:00
Kevin Lange
00ecfff45f
make kbd library reentrant
2014-04-14 21:03:23 -07:00
Kevin Lange
1e50d39d67
kill nlcr/no-nlcr stuff from terminal
2013-08-19 19:37:13 -07:00
Kevin Lange
720a62d6aa
ICANON support (still a bit rough)
...
This is a massive hack and I admit it.
2013-07-27 22:01:08 -07:00
Kevin Lange
40f0c41932
Preliminary termios support
...
This is some initial work on support real PTYs.
Canonical mode is not supported at the moment.
2013-07-27 00:18:29 -07:00
Kevin Lange
ab0045918f
clean up cd shell command
2013-06-29 18:48:57 -07:00
Kevin Lange
ae59df2514
Fix up some toaru-specific bits in the shell
2013-05-28 22:00:27 -07:00
Kevin Lange
046f17a81a
^A and ^E in shell
2013-05-28 19:01:52 -07:00
Kevin Lange
80445dafcc
Various shell and terminal cleanups
2013-05-22 21:59:28 -07:00
Kevin Lange
9c2b45e0aa
Unbreak sh's 'Command not found'...
2013-05-22 19:18:14 -07:00
Kevin Lange
d9f22b293a
wat
2013-05-15 19:09:58 -07:00
Kevin Lange
8d20462288
work around -onlcr
2013-05-09 23:56:49 -07:00
Kevin Lange
e809b4e3da
Add back in Command not found message
2013-05-08 01:05:38 -07:00
Kevin Lange
096628fb1d
Make sh use execvp directly
2013-05-08 00:45:46 -07:00
Kevin Lange
1e664bef2b
Integrate signals into libc
2013-05-05 15:00:24 -07:00
Kevin Lange
cd677b44c3
Fix up some terminal bits, add F keys
2013-04-13 20:21:40 -07:00
Kevin Lange
6fba751f9c
[grok.org.uk advisory] format string in sh
2013-04-02 15:16:12 -07:00
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