diff options
author | tjr <tjr@FreeBSD.org> | 2002-10-01 00:54:14 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-10-01 00:54:14 +0000 |
commit | a04b479aee620ae0c7e69d0beaea6b55631b3dc6 (patch) | |
tree | 6b4e9b3490e38b92d5b91f04acee7b4fc94785d0 /bin/sh/main.c | |
parent | 8d85d3f96b724e383624fdbd12af2a342fabb2d3 (diff) | |
download | FreeBSD-src-a04b479aee620ae0c7e69d0beaea6b55631b3dc6.zip FreeBSD-src-a04b479aee620ae0c7e69d0beaea6b55631b3dc6.tar.gz |
Remove bits and pieces of support for atty, which was made obsolete by
adding history and vi/emacs-style line editing to the shell itself.
Atty was a user-mode terminal emulator (like screen and window) that did
line editing and history.
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r-- | bin/sh/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index 962546b..9dd4fd7 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -141,11 +141,7 @@ main(int argc, char *argv[]) exitshell(exitstatus); } reset(); - if (exception == EXINT -#if ATTY - && (! attyset() || equal(termval(), "emacs")) -#endif - ) { + if (exception == EXINT) { out2c('\n'); flushout(&errout); } |