change line editing back to stdout. the whole srw tail -f > in idea was wrong, seeing as tail doesn't cat. that being said i made a simple program that did tail -f with inotify and echoed from stdin to stdout, but it turns out you can't tell the difference between stdin and stdout from a pty

do all the line editing on stderr, so we can redirect output, which means that the cw part of pcw is really not needed if we just do 'srw tail -f > in'. the only problems with that are that tail -f updates periodically (use inotail?) and ii doesn't create |in automagically. if that's fixed then i can get rid of cw

add Home, End, Delete, tried fancier MIN/MAX macros to make sure nothing is evaluated twice, but it's not worth getting rid of the -pedantic flag, so i'll just try to be safe and not use MIN/MAX with a function call or increment/decrement