lineedit: do not hardcode ctrl-C and ctrl-D, use termios fields.
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 14 Oct 2009 10:53:04 +0000 (12:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 14 Oct 2009 10:53:04 +0000 (12:53 +0200)
commit04bb6b6a5af24f9a458132a5d002c54f901ae323
treea2ad371f5f64e1220315eaa8265942a6ebbd05bc
parenta68bd4b2aee3368d92cbb0fc86ae3f65ab9170b4
lineedit: do not hardcode ctrl-C and ctrl-D, use termios fields.

Unexpected code shrink is probably a gcc glitch:

function                                             old     new   delta
read_line_input                                     4771    4629    -142

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c