Commit Graph

117 Commits

Author SHA1 Message Date
K. Lange
603a07a868 sh: that decoder is in a header... 2022-08-22 08:44:45 +09:00
K. Lange
f84466b18f sh: Hack to fix display width when prompt contains wide characters 2022-08-21 18:51:50 +09:00
K. Lange
40c36d3290 sh: use strsignal, improve job list slightly 2022-08-18 19:21:08 +09:00
K. Lange
88a1df00a6 tty: do not print line feed after ^C, et al. 2022-08-18 18:34:21 +09:00
K. Lange
811c033a13 grep: Add a basic regex-matching grep with some options 2022-08-17 20:52:27 +09:00
K. Lange
ef4603185b sh: tab completion for ifconfig 2022-03-07 18:07:57 +09:00
K. Lange
9b1bc4cee1 meta: Update all of the heading comments in apps/ 2021-11-26 12:41:56 +09:00
K. Lange
fcc232e09a sh: Recommend 'ifconfig' in place of 'ip'/'ipconfig' 2021-09-28 18:49:14 +09:00
K. Lange
470b2bfabb ptrace: Catch signals, start work on debugger 2021-09-22 20:32:21 +09:00
K. Lange
6899683bb4 strace: Initial support for a ptrace() mechanism, strace tool 2021-09-22 15:33:02 +09:00
K. Lange
99b9a20651 sh: use return code from last process in pipeline, and wait for everyone properly 2021-09-18 20:36:05 +09:00
K. Lange
efec80cb38 times: rudimentary support for process times 2021-09-02 23:08:18 +09:00
K. Lange
5240ff7458 sh: semaphore pipe write helps with a weird race condition 2021-06-05 16:16:20 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
b8aecc7a37 rline: officially adopt rline_exp as the only rline, and bring in some improvements from kuroko 2021-01-01 18:08:30 +09:00
K. Lange
f38a61f6c4 sh: always ensure that prints to the shell's stderr 2020-12-15 16:59:30 +09:00
K. Lange
dffac24f3a sh: implement 'time', but only with 'real' time at the moment... 2020-12-15 15:50:20 +09:00
K. Lange
83c7c37f8f rline: replace syntax highlighter with new bim highlighter engine 2019-12-24 13:21:34 +09:00
K. Lange
dd434aeda1 sh: support tab completing from ~/ 2019-11-03 15:36:19 +09:00
K. Lange
1e66d30a4b esh: print error message for bad interpreter 2019-06-25 22:01:52 +09:00
K. Lange
3e46645b99 esh: fix double-free with globs 2019-02-27 21:38:09 +09:00
K. Lange
46bd789df1 esh: fix redirects for shell functions? 2019-01-02 21:33:11 +09:00
K. Lange
c09a84c686 esh: basic support for redirecting stderr 2019-01-02 21:24:05 +09:00
K. Lange
92e0203075 esh: parser fix up for single-character variables 2018-12-26 20:20:04 +09:00
K. Lange
ae55558935 esh: add $# and fix syntax support 2018-12-26 20:05:22 +09:00
K. Lange
461a71aefa esh: add a bad $RANDOM 2018-12-26 19:47:57 +09:00
K. Lange
0433c683e7 esh: rudimentary support for variables before command lines (not compliant) 2018-12-20 14:57:59 +09:00
K. Lange
f22f4556c2 esh: exit subshells on SIGINT 2018-12-01 11:39:59 +09:00
K. Lange
522cda0456 esh: msk tab completion (incl. package names) 2018-11-27 16:04:47 +09:00
K. Lange
8e09834b11 esh: fix parse mistake on ~; 2018-11-21 15:31:37 +09:00
K. Lange
c1dcfca920 kernel: more directory permissions 2018-11-01 13:46:59 +09:00
K. Lange
fea6693410 apps: signal usage cleanup 2018-10-31 18:58:10 +09:00
K. Lange
dc38dd5672 esh: add rehash command to fix syntax highlighting, tab completion 2018-10-31 17:52:01 +09:00
K. Lange
a8b39ada97 esh: fix missing linefeed after source error message 2018-10-30 21:06:47 +09:00
K. Lange
8c4997e369 esh: fix hashmap crash when trying to remove nonexistent jobs? 2018-10-30 18:56:20 +09:00
K. Lange
0282e6281e esh: fix globbing of .* 2018-10-30 16:10:49 +09:00
K. Lange
e8ec1cb6c3 kernel: setsid should set pgid=pid 2018-10-30 15:58:15 +09:00
K. Lange
c3b841d13c sh: bad pgid when resetting? 2018-10-30 15:36:09 +09:00
K. Lange
622c8304f1 esh: cleaner hashmap usage; fix bad semaphore 2018-10-30 13:39:39 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00
K. Lange
36afa24d2f kernel: invert WEXITED to WSTOPPED 2018-10-30 13:11:07 +09:00
K. Lange
821eb55496 esh: fixup pgrp juggling 2018-10-30 08:44:09 +09:00
K. Lange
422a264b49 sh: conditionals should only wait on their own processes 2018-10-29 21:39:32 +09:00
K. Lange
ad22ffaca9 esh: basic support for ~ paths 2018-10-29 21:33:52 +09:00
K. Lange
42dbc44212 esh: don't die when unable to source 2018-10-29 21:25:31 +09:00
K. Lange
829ebcd4a1 esh: fix output for fg, bg when no jobs 2018-10-29 21:21:39 +09:00
K. Lange
5831f88328 esh: fixup behavior of & tasks in non-interactive shells 2018-10-29 13:47:27 +09:00
K. Lange
d26129ce39 esh: don't create jobs from & commands when not interactive 2018-10-29 13:04:19 +09:00
K. Lange
9a6a5ce9c1 esh: report status of backgrounded apps when they finish 2018-10-29 12:45:22 +09:00
K. Lange
7fe9c841d4 esh: bg command 2018-10-29 10:59:01 +09:00