Commit Graph

108 Commits

Author SHA1 Message Date
Kevin Lange
8e05bb122e basic globbing 2017-01-07 18:01:48 +09:00
Kevin Lange
67bcb173c4 Support kill by signal name 2017-01-03 15:51:22 +09:00
Kevin Lange
480b65d4c2 Improvements to esh 2016-12-19 21:18:31 +09:00
Kevin Lange
8f5a40cc20 Move history into rline and out of shell 2016-12-17 19:18:34 +09:00
Kevin Lange
2d5947ad16 Handle threads better in ps 2016-12-17 17:55:31 +09:00
Kevin Lange
26c78333ec Rough, incomplete VFS permissions 2016-12-14 21:21:32 +09:00
Kevin Lange
2233251749 Make cpudet work when compiled PIC/PIE 2016-12-03 10:56:16 +09:00
Kevin Lange
5ff53560a1 Fix tab completing directories from current dir (bad stat) 2016-10-08 23:10:26 +09:00
Kevin Lange
b01cd62079 Tab completion of filenames in esh
esh (the shell) now supports tab completing file names.

When completing the first argument of a shell command (the command
itself), esh assumes you are tab completing command names from /bin
unless you have already typed a / somewhere in your input. For all other
parts of the command, esh will tab complete file names and directories
in much the same way bash and other shells do.
2016-10-08 23:03:43 +09:00
Kevin Lange
d0518b1775 Fix loop in sudo on command-not-found 2015-07-13 07:49:16 +09:00
Kevin Lange
67c74f3224 free -? shows wrong options [ci skip] 2015-06-24 11:06:10 -07:00
Kevin Lange
2c551fd81b Pass unrecognized start= parameters to compositor 2015-06-18 21:48:56 -07:00
Kevin Lange
c6a2d2ebe7 Add a totally noncompliant /bin/free 2015-06-11 21:06:59 -07:00
Kevin Lange
9d723fe601 Add version info to sh 2015-06-11 21:06:27 -07:00
Kevin Lange
334abd12b4 Add a /bin/uptime 2015-06-11 21:06:15 -07:00
Kevin Lange
8fae365760 Display link targets in ls -l 2015-06-10 23:34:39 -07:00
Kevin Lange
20367b15f9 Fixups for merging symlinks 2015-06-10 20:59:27 -07:00
Mike Gerow
f033111390 Added hilighting for symlinks to ls 2015-06-03 19:10:44 -07:00
Mike Gerow
9f83cd6aec Added support to stat for reading info on symlinks 2015-06-03 19:10:17 -07:00
Mike Gerow
83c715d9df Added userspace command readlink 2015-06-03 19:09:49 -07:00
Mike Gerow
e094251139 Added userspace command ln 2015-06-03 19:09:18 -07:00
Kevin Lange
31fe3eb672 Fix missing setuid color in short output mode (ls) 2015-06-01 17:54:57 -07:00
Kevin Lange
cf2bd4cb22 Fix missing in return in 'set' command 2015-04-26 18:14:52 -07:00
Kevin Lange
8a1430879a Break out rline, add ^W support 2015-04-04 12:33:30 -07:00
Kevin Lange
632f13144f Fix garbage output from ls on bad directory 2015-04-01 09:08:08 -07:00
Lioncash
3438cb1771 sudo: Fix a missing fprintf argument 2015-03-17 12:08:29 -04:00
Kevin Lange
aaeb7d10f4 Port a bunch of other stuff to use getpwuid, etc. 2014-08-26 22:12:33 -07:00
Kevin Lange
9cc5ddd0e9 pwent stuff in libc, auth modules moved toa library 2014-08-26 21:34:29 -07:00
Kevin Lange
17e332b5e7 expose mounting to userspace 2014-06-09 20:13:11 -07:00
Kevin Lange
6492fb2d8e add which 2014-06-08 12:02:21 -07:00
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
1ad63b4eae Dump user into their homedir on login 2014-06-08 00:13:07 -07:00
Kevin Lange
ef7d72c1e1 License headers and a tool to generate them 2014-06-07 23:13:29 -07:00
Kevin Lange
b6a50e4041 Fix missing linefeed before last argument in ls 2014-06-07 19:33:29 -07:00
Kevin Lange
7fa3a6ce32 fancy pstree 2014-06-07 18:32:19 -07:00
Kevin Lange
36feea1673 Support multiple paths in ls, with more expected output 2014-06-07 16:20:54 -07:00
Kevin Lange
b2f0324370 show s in right place for setuid binaries 2014-06-07 15:11:08 -07:00
Kevin Lange
9d3cef60cf support c (char device) and b (block device) in ls -l 2014-06-07 15:05:24 -07:00
Kevin Lange
5a59d1b4b5 flush before exit in echo [xxx: this needs to happen on exit] 2014-06-06 11:42:19 -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
55e52e2c33 make sure init is init and not just some kernel thread with ppid=0 2014-06-05 23:48:36 -07:00
Kevin Lange
72b63109b2 Add a simple pstree [not fancy yet] 2014-06-05 23:41:33 -07:00
Kevin Lange
40c399e43a Differentiate shell prompt for root 2014-06-05 22:36:03 -07:00
Kevin Lange
94c976a903 More awesome improvements to ls 2014-06-05 22:19:55 -07:00
Kevin Lange
6c72d9c3ae Various improvements to ls, like -h 2014-06-05 21:34:10 -07:00
Kevin Lange
51d0f31f42 use setuid in login/glogin 2014-06-03 23:14: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