hush: make it possible to have interactive shell on non-ctty.
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 27 Apr 2009 23:29:14 +0000 (23:29 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 27 Apr 2009 23:29:14 +0000 (23:29 -0000)
commitc8653f62f2203d0377933c1b5f0442666e27f91a
tree9f2be9534762a9e953b1c007d3b39e52c3e58f4a
parent42e4af3119191ee822dbb0e7fdae94d4993fd0a2
hush: make it possible to have interactive shell on non-ctty.
 init=/bin/hush: shows prompt, history works, etc.

function                                             old     new   delta
hush_main                                            888     925     +37
block_signals                                        139     152     +13
builtin_fg_bg                                        284     293      +9
checkjobs_and_fg_shell                                35      41      +6
sigexit                                               65      66      +1
reset_traps_to_defaults                              165     164      -1
parse_stream                                        2200    2184     -16
run_list                                            2502    2475     -27
getpgid                                               35       -     -35
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 5/3 up/down: 66/-79)            Total: -13 bytes
shell/hush.c