harris@imsvax.UUCP (08/20/84)
To all those who answered my question is grep broken, thank you but enough is enough. I have been inundated with mail on the subject. I KNOW that grep is not broken. When I posted the article I accidently left out the '^' in the command. I had tried numerous variations including grep '^am.le' /usr/dict/words which yielded among other words 'ampule'. Obviously I thought that was an error. That was what I meant when I wrote that grep had returned a word that was too long. The next day when I logged in again and tried the same grep command. Grep worked correctly and did not return 'ampule'. I do not think this is a figment of my imagination since two witnesses saw the same response. There is of course the possibility of gremlins in the VAX. Although I do not know the exact cause of the problem I believe it is related to other strange results I have seen in 'vi'. The problems are generated when I use 'cu' to connect from our local VAX running 4.2 to a remote VAX running 4.1. The solution I have found is to reset the terminal, a VT100, and to reinitialize the shell. I have not had the time to investigate the exact cause of the problem. -- Harris Reavin UUCP: {umcp-cs!eneevax || seismo!rlgvax!elsie}!imsvax!harris
geoff@callan.UUCP (Geoff Kuenning) (08/26/84)
Poor Harris. The Republicans taught us about the power of missing commas; he now has the misfortune of teaching us about the power of missing uparrows. :-) It sounds to me like he is having terminal/line noise problems. Most of the time, when I think I've seen a program misbehave with perfectly normal input, a history listing shows inserted control characters, or hidden printing characters from backspacing over a control characters. When is USG going to provide us with a *modern* tty driver that understands that, in most situations, people who type control characters want to see SOME sort of echo so they know what they typed? It's enough to make me buy a Vax so I can run the BSD tty driver. (Anybody got an extra 140K in spare change?) -- Geoff Kuenning Callan Data Systems ...!ihnp4!wlbr!callan!geoff