Commit Graph

87 Commits

Author SHA1 Message Date
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
K. Lange
573dd69cd3 esh: backgrounded commands should produce jobs we can fg 2018-10-29 10:49:53 +09:00
K. Lange
9ff2b20821 esh: additional signal descriptions 2018-10-28 19:40:21 +09:00
K. Lange
b06248b631 esh: incorrect references to pid in wait_for_child 2018-10-28 19:40:08 +09:00
K. Lange
4fb42341dd sh: should wait for -1 in non-interactive shells 2018-10-28 18:52:44 +09:00
K. Lange
02d5f77f10 more correct pgrp juggling 2018-10-28 18:23:11 +09:00
K. Lange
ad9fc6caa4 esh: better handling for suspended pipelines 2018-10-27 12:12:17 +09:00
K. Lange
51df8004dd job control: kill/cont process groups 2018-10-26 23:19:46 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
2e87826eb2 esh: add read command 2018-10-20 18:14:07 +09:00
K. Lange
90b102754f esh: Support for $$ 2018-10-17 15:40:11 +09:00
K. Lange
1aea7033db esh: collect PATH contents after source eshrc 2018-10-12 18:18:48 +09:00
K. Lange
781d4cc445 sh: fix skipped command completions when they expand the list 2018-10-10 14:05:26 +09:00
K. Lange
b19db6bb0c esh: handle bad glob case 2018-10-05 23:31:07 +09:00
K. Lange
e943b521ee sh: allow glob after directory 2018-10-05 20:29:56 +09:00
K. Lange
75a8a1751e sh: Allow blank strings as empty arguments 2018-10-05 20:00:00 +09:00
K. Lange
06ff00fd41 Fix some return value and signal handling related to pipes 2018-10-02 22:36:57 +09:00
K. Lange
04c9d44880 Add command alternatives to esh 2018-10-01 21:44:28 +09:00
K. Lange
7a20e11aea proper waitpid status values 2018-09-28 13:00:51 +09:00
K. Lange
5aeb26644c Tab completion for un-dollared variables in unset 2018-09-23 12:09:39 +09:00
K. Lange
4cde60c50e add unsetenv 2018-09-23 12:06:25 +09:00
K. Lange
d929a932a2 esh should reset when drawing tab completions 2018-09-17 13:19:58 +09:00
K. Lange
d1dcc03760 More flexible shell completion list size 2018-09-17 12:47:20 +09:00
K. Lange
d052471948 Catch errors writing to > files 2018-09-17 09:29:47 +09:00
K. Lange
21ff48d6aa Don't draw prompts in sh when using rline_exp 2018-09-17 06:56:52 +09:00
K. Lange
85db6525a8 hacked up support for python syntax highlighting in rline_exp 2018-09-15 17:52:01 +09:00
K. Lange
405834ec89 Don't ignore files starting with . in tab complete if we asked for them 2018-09-14 23:01:55 +09:00
K. Lange
6835752c8b Enable rline_exp in sh by default 2018-09-13 14:43:56 +09:00
K. Lange
b25aa946e5 Improvements to experimental line editor 2018-09-13 12:54:00 +09:00
K. Lange
b7c642c273 Experimental rline replacement with syntax highlighting 2018-09-12 22:50:22 +09:00
K. Lange
8b69bba2dd Update outdated heading comment in shell 2018-08-17 21:56:50 +09:00