diff options
author | bde <bde@FreeBSD.org> | 1995-06-14 05:16:12 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-06-14 05:16:12 +0000 |
commit | c4baec265f7ecc21e0f1b2825811fc940be76005 (patch) | |
tree | 830ffe5d0dd05ebe976a60c3cf85ab18529c34f1 /sys/i386 | |
parent | 89206a06f3a8775fc3bd17138879347f9b313854 (diff) | |
download | FreeBSD-src-c4baec265f7ecc21e0f1b2825811fc940be76005.zip FreeBSD-src-c4baec265f7ecc21e0f1b2825811fc940be76005.tar.gz |
Don't convert \n to \r\n in pccnputc(). This is the responsibility of
cnputc().
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/syscons.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c index 19c572a..9591c71 100644 --- a/sys/i386/isa/syscons.c +++ b/sys/i386/isa/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.116 1995/05/21 18:30:05 sos Exp $ + * $Id: syscons.c,v 1.117 1995/05/30 08:03:13 rgrimes Exp $ */ #include "sc.h" @@ -1158,12 +1158,8 @@ pccnputc(dev_t dev, int c) current_default = &kernel_default; if (scp->scr_buf == Crtat) draw_cursor(scp, FALSE); - if (c == '\n') - ansi_put(scp, "\r\n", 2); - else { - buf[0] = c; - ansi_put(scp, buf, 1); - } + buf[0] = c; + ansi_put(scp, buf, 1); kernel_console = scp->term; current_default = &user_default; scp->term = save; |