On Monday 03 July 2006 15:35, Bill Moran wrote: > Pretty non-critical, but I thought I'd point it out. > > Apparently, I'm so used to hitting CTRL-D to exit programs, that I > do it without even thinking. > > If I hit CTRL-D at the prompt of dbcheck, it absolutely freaks out. > It starts scrolling by as if I were holding down the enter key, and > is obviously unusable. This is not a big deal because a CTRL-C exits > dbcheck and gives me the console back. > > I've done this several times now ... it seems as if I'm not capable of > learning ;) > > IMHO, the POLA thing to do would be to have dbcheck exit if the user > hits CTRL-D. At the least, it shouldn't freak out. (This would be > a cute place for an Easter egg ... it could say "CTRL-D is an illegal > command" ;)
Yes, this sounds like a bug. I imagine that dbcheck uses stdin and doesn't bother to check for EOF. In using stdin, without doing a fair amount of programming, it is not possible to simply ignore ctrl-d, print an error message then continue. If you file a bug report, I'll make sure it is cleaned up in 1.39.x > > This is on FreeBSD 6.1 (as all 4 of my Bacula systems run FreeBSD 6.1) > but I'm not sure if it's consistent across shells, and/or remote vs. > local terminals. Bacula 1.38.10 installed from FreeBSD ports. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
