Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



christos
Sat Dec 20 14:15:53 EST 1997
Update of /cvsroot/src/lib/libedit
In directory netbsd1:/var/slash-tmp/cvs-serv14426

Modified Files:
        el.c el.h read.c 
Log Message:
Small optimization. Don't call isatty() on every invocation of el_gets, but
remember if the tty setup failed... Also trim the input line of trailing \r's.


christos
Sat Dec 20 14:19:08 EST 1997
Update of /cvsroot/src/gnu/usr.bin/bc
In directory netbsd1:/var/slash-tmp/cvs-serv14495

Modified Files:
        scan.l 
Log Message:
Oh, my god... bc with readline support does not work at all:
        echo 10 / 3 | bc 
prints
        10 / 3\r\n\r3\r\n
with a stock readline... Our readline does not echo when it does not
have a tty, so it printed:
        \r3\n
I removed printing the printing of \r for now...




Home | Main Index | Thread Index | Old Index