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/parser.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/parser.c')
-rw-r--r-- | bin/sh/parser.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 69d6405..4df742d 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -927,16 +927,6 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs) STARTSTACKSTR(out); loop: { /* for each line, until end of word */ -#if ATTY - if (c == '\034' && doprompt - && attyset() && ! equal(termval(), "emacs")) { - attyline(); - if (syntax == BASESYNTAX) - return readtoken(); - c = pgetc(); - goto loop; - } -#endif CHECKEND(); /* set c to PEOF if at end of here document */ for (;;) { /* until end of line or end of word */ CHECKSTRSPACE(3, out); /* permit 3 calls to USTPUTC */ |