3 ms·
And what does pico do? (Display cursor position) what about in control D? Terminate the input stream? Nope. It deletes the character under the cursor. Line o
by fnordpiglet 4y ago
And what does pico do? (Display cursor position) what about in control D? Terminate the input stream? Nope. It deletes the character under the cursor.
Line oriented interactions ^C as break maybe makes sense. In a screen oriented termcap application I don’t think you are right.
- quesera 4y agoPico owns zero mindshare in UNIX software. Ask yourself why. This is my point.
- fnordpiglet 4y agoAt one time it did. In fact I think exactly zero screen oriented editors I have ever used in a terminal don’t honor control c as break. Giving a statement that it doesn’t work isn’t handling it the way the terminal line oriented programs work.
- quesera 4y agoI would not argue that a screen-oriented editor should interrupt/exit on Ctrl-C. Certainly not without confirmation. (Note that "Break" is another key sequence entirely. If someone asks you to send a Break, you would not send Ctrl-C.) I am arguing that setting Ctrl-C to any other action (esp a very common action like Copy) in a terminal environment application of any kind, e.g. a screen-oriented editor, is a bad idea.