64974793b9
less: fix newly-introduced case of less spinning forever on pty's closed etc
Denis Vlasenko
2008-10-31 03:04:55 +00:00
028eab61bc
runsvdir: if we have PID == 1, SIGHUP should make small pause, not 1 minute one
Denis Vlasenko
2008-10-31 02:37:18 +00:00
bb26db49b1
modprobe: fix a segfault when modprobe is called with no arguments at all
Denis Vlasenko
2008-10-31 02:04:28 +00:00
b9b344aa44
kill[all[5]]: accept -s SIG too. kill_main: +29 bytes by Steve Bennett (steveb AT workware.net.au)
Denis Vlasenko
2008-10-31 00:30:48 +00:00
f34cfff2f0
setup_environment: cd $HOME regardless of clear_env value.
Denis Vlasenko
2008-10-30 23:58:19 +00:00
91f8f82bfb
tftpd: be less cryptic in help text
Denis Vlasenko
2008-10-30 23:42:37 +00:00
6b38e18247
dc: support for bases 2 and 8, by Nate Case (ncase AT xes-inc.com)
Denis Vlasenko
2008-10-30 23:25:50 +00:00
470dc1d7e2
- minor shrinkage (~-60)
Bernhard Reutner-Fischer
2008-10-30 17:42:49 +00:00
e29186687b
- support ip link set eth1 address 00:11:22:33:44:55 and not only the shorthand "addr". Thanks to ncopa for noticing
Bernhard Reutner-Fischer
2008-10-30 16:45:55 +00:00
cf696850f3
runsvdir: kill another global
Denis Vlasenko
2008-10-29 12:07:34 +00:00
6a2c2cf6f3
runsvdir: fx a recent vda's buglet (was pausing even if not signaled). stop spawning children immediately if signaled. Kill one global.
Denis Vlasenko
2008-10-29 12:04:45 +00:00
e7368f16fa
id: better wording in comments, no code changes
Denis Vlasenko
2008-10-29 10:30:54 +00:00
c503dde01a
cpio: emit TRAILER even when hard links were found. by Pascal Bellard (pascal.bellard AT ads-lu.com)
Denis Vlasenko
2008-10-26 19:55:20 +00:00
043246560f
devmem: make it more script-friendly; don't do any reads and output nothing if writing was requested. -100 bytes
Denis Vlasenko
2008-10-26 17:26:55 +00:00
ebad0294c9
tar: fix bug 3844: non-root tar does not preserve perms
Denis Vlasenko
2008-10-24 23:47:38 +00:00
53c80f0972
less: add optional line number toggle and resizing on SIGWINCH.
Denis Vlasenko
2008-10-24 22:43:27 +00:00
aa2a1c000c
- improve wording and fix alphabetical order
Bernhard Reutner-Fischer
2008-10-24 19:48:47 +00:00
e8efe81abf
less: add less v.418 help text doc. No code changes.
Denis Vlasenko
2008-10-24 11:07:20 +00:00
2d5bd807c0
build system cleanup: rename FEATURE_AWK_MATH to FEATURE_AWK_LIBM; disable parsing test applet.
Denis Vlasenko
2008-10-24 10:49:49 +00:00
d908395eae
less: experimental code to enable wrap/no-wrap and adapting to resized xterm windows. disabled for now.
Denis Vlasenko
2008-10-24 10:42:21 +00:00
8f39b72aba
less: more sane way of line numbering. Prepares for wrap/unwrap and line numbers to be toggleable.
Denis Vlasenko
2008-10-23 22:02:30 +00:00
01ea971610
- use sys/inotify.h
Bernhard Reutner-Fischer
2008-10-21 17:26:10 +00:00
5cb54b5adc
init: downgrade ENABLE_DEBUG_INIT to just a #define to prevent people from selecting it in error. It has to be used ONLY for debugging init, never in production, as resulting init has serious differences.
Denis Vlasenko
2008-10-21 17:14:26 +00:00
8fbd8ac8dd
- fix ip route rejecting dotted quads as prefix - adjust error message for wrong prefix not to mention address Previously e.g. ip route add 127.0.0.0/255.0.0.0 dev dummy0 was rejected, saying ip: an inet address is expected rather than "127.0.0.0/255.0.0.0"
Bernhard Reutner-Fischer
2008-10-21 12:42:45 +00:00
078323010b
dc: conditionalize parts which require libm
Denis Vlasenko
2008-10-20 08:43:10 +00:00
b730474bda
ash: fix NOEXEC mode - we were forgetting to pass environment! env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
Denis Vlasenko
2008-10-20 08:15:51 +00:00
d1660cb9ad
ash: fix a bug in standalone mode (corrupted getopt() state)
Denis Vlasenko
2008-10-20 07:52:33 +00:00
582dff0514
volume identification: abolish /proc/partitions and /proc/cdroms scanning. It does not catch volume managers and such. Adding even more cruft is bad, so I decided to simply scan /dev/* for any block devices. See how much better it finds devices now:
Denis Vlasenko
2008-10-19 19:36:30 +00:00
bff06fe02a
blkid: vda forgot to svn add it again. vda is stupid
Denis Vlasenko
2008-10-19 17:47:31 +00:00
4bdeaaf556
Comment and whitespace tweaks.
Rob Landley
2008-10-19 04:21:21 +00:00
d83676ec47
data_extract_all: do not complain if directory exists on mkdir rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main - rpm doesn't want to have that
Denis Vlasenko
2008-10-17 14:03:56 +00:00
8ef801b40c
vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.
Denis Vlasenko
2008-10-16 09:46:07 +00:00
7960ea8918
Confirmed that on Linux the serial interrupt takes precedence over the timer interrupt, so we don't need to worry about scheduler delays. This means the delay can be trimmed down to 25 miliseconds. Add comment while at it.
Rob Landley
2008-10-16 06:34:10 +00:00
25497c1d92
vi: reinstate timeout of 300 ms
Denis Vlasenko
2008-10-14 10:25:05 +00:00
5373fbcd11
vi: add comments to Rob's algorithm of reading and matching ESC sequences (nice work btw!)
Denis Vlasenko
2008-10-14 10:09:56 +00:00
5e38cd910a
Escape sequences sent over serial links don't come in as a block, so poll needs to pause a bit to make sure the next character has time to come in.
Rob Landley
2008-10-14 08:44:09 +00:00
988dd5549b
Clean up editors/vi.c:readit() so it only does readahead when actually parsing an escape sequence. (This mitigates but doesn't fully fix the the "cursoring around the file deletes data under qemu" bug, presumably due to "\033[D" being treated as three separate characters.)
Rob Landley
2008-10-14 01:42:33 +00:00
f886fd2bc7
hush: fix NOMMU bug (analogous to preceding commit for MMU)
Denis Vlasenko
2008-10-13 12:36:05 +00:00
d29084dd7d
testcase for the last fix
Denis Vlasenko
2008-10-13 08:54:42 +00:00
22d10a0292
hush: fix trashing of environment by local env vars: a=a; a=b cmd; - a was unset! +57 bytes
Denis Vlasenko
2008-10-13 08:53:43 +00:00
1e19afd38a
blkid: new applet. We almost had everything needed for it already
Denis Vlasenko
2008-10-12 11:20:08 +00:00
d5e305944a
findfs: fix LUKS and FAT detection routines; do not exit if corrupted FAT fs makes us try to seek past volume
Denis Vlasenko
2008-10-12 11:17:49 +00:00
cdd1f732bc
zcip: code size optimizations, improved help text and comments
Denis Vlasenko
2008-10-10 11:28:39 +00:00
afd7a8d744
hush: fix environment and memory leaks, add tests for them
Denis Vlasenko
2008-10-09 16:29:44 +00:00
07e05c100f
unzip: remove example of a file we now can handle
Denis Vlasenko
2008-10-09 13:52:30 +00:00
c373527e4f
hush: preparatory work for implementing functions
Denis Vlasenko
2008-10-09 12:58:26 +00:00
9af22c7626
hush: massive renaming of ill-named structures and fields hush: error out on constructs like: $ abc(def) - was working as if it was (abcdef) $ case b in abc(a|(b) echo YES; esac - was ignoring 'abc' and extra '('
Denis Vlasenko
2008-10-09 12:54:58 +00:00
578de8644c
- route metric support (Natanael Copa) Adds about 75b
Bernhard Reutner-Fischer
2008-10-07 17:00:58 +00:00
2239f81941
- add some anchors
Bernhard Reutner-Fischer
2008-10-07 16:05:03 +00:00
834dee785d
ash: support &> redirection (bashism). ~90 bytes of code
Denis Vlasenko
2008-10-07 09:18:30 +00:00
176d49d4f7
ash: some beautification work, no code changes
Denis Vlasenko
2008-10-06 09:51:47 +00:00