summary refs log tree commit diff
path: root/debian/rules
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2018-09-07 10:34:14 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-19 18:59:50 +0800
commit413c6dcc3ca3891825ae8239251140882d7c6c6c (patch)
treecf6bb66c05161a2cbad862f8ce2dc223d9cb0c11 /debian/rules
parenteval: Report I/O error on stdout (diff)
downloaddash-413c6dcc3ca3891825ae8239251140882d7c6c6c.tar.gz
dash-413c6dcc3ca3891825ae8239251140882d7c6c6c.zip
main: Print \n upon EOF (CTRL-D) when run interactively
Exiting dash via a ^D instead of with "exit" causes dash to forget to
print a newline.

    sh-3.1$ sh
    sh-3.1$ ^D
    sh-3.1$ dash
    $ sh-3.1$

It is more neat and tidy to send a newline similarly to what bash does,
so it doesn't make the next prompt of the parent shell look ugly.

Suggested by jidanni.

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
[reworded the patch description]
Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Bug-Debian: http://bugs.debian.org/476422
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'debian/rules')
0 files changed, 0 insertions, 0 deletions
39df0344bc53&follow=1'>Replace nerdcommenter with vim-commentaryJune McEnroe 2013-03-24Add paredit.vimJune McEnroe 2013-03-14Update base16-vimJune McEnroe It's still crap 2013-03-12Hide mode from below statuslineJune McEnroe 2013-03-12Switch to powerlineJune McEnroe Which I'm not going to bother configuring because it thinks it's all fancy and for other things that aren't Vim so it stores its config file in ~/.config which I keep in a different repo and I only want to use it for Vim so fuck you, Powerline. </rant> 2013-03-12Remove vim-powerlineJune McEnroe 2013-02-03Update base16 and refheapJune McEnroe 2013-02-03Ignore plugin/private.vimJune McEnroe 2012-09-29Disable GUI dialogsJune McEnroe