Date: Fri, 1 May 1998 20:28:44 -0700 (PDT) From: John Birrell <jb@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-contrib@FreeBSD.ORG Subject: cvs commit: src/contrib/bc/bc main.c scan.l Message-ID: <199805020328.UAA18705@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jb 1998/05/01 20:28:43 PDT Modified files: contrib/bc/bc main.c scan.l Log: If not interactive, we need the traditional behaviour of the input not being echoed to the output. So as a _hack_ to get the world building again, redirect the readline rl_outstream to stderr when not interactive. The proper way to handle non-interactive mode is to read from stdin and don't worry about edit mode, but this is GNU so it's not worth the time thinking about. I'm already pissed off that I even had to look at this "nice code". Revision Changes Path 1.2 +5 -2 src/contrib/bc/bc/main.c 1.2 +3 -2 src/contrib/bc/bc/scan.l
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805020328.UAA18705>