BTW:

                } else if (strncmp(p, "write", cnt) == 0
                        || strncmp(p, "wq", cnt) == 0
                        || strncmp(p, "wn", cnt) == 0
                        || (p[0] == 'x' && !p[1])
                ) {
                        cnt = file_write(current_filename, text, end - 1);
                        if (cnt < 0) {
                                if (cnt == -1)
                                        status_line_bold("Write error:
%s", strerror(errno));
                        } else {
                                modified_count = 0;
                                last_modified_count = -1;

What will happen now when user presses 'u'? This one:

        Undo [-2] deleted 8 chars at position 450

This looks.. er.. amusing?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to