Le jeudi 21 août 2025, 19:12:57 heure d’été d’Europe centrale Bastien Roucaries a écrit : > Hi, Hi I propose this kind of man pages I can ship on sensible utils if needed rouca > > I concours with this but the behavior of editor should be safe. > > I think we must document that is an editor in sense of posix > > I can carry an editor man pages on sensible-utils and it will be nice to have an common ABI > > To ensure safe behavior, the editor should: > > Avoid destructive operations unless explicitly requested > > Handle signals gracefully (e.g., SIGINT, SIGHUP) > > Not hang or fork indefinitely when invoked non-interactively > > Avoid launching graphical interfaces unless explicitly configured > > Morevover it will be nice to specify that is the behavior to get line column. > > I suggest something like for editor > > editor [options] [--] +line:column file > > and ignore options that are not supported by current editor > > Moreover editor should return 126 is TERM is not supported > > Last but not least we must specify that editor will run sensible-terminal-emulator or terminal-emulator if the editor does not support X/wayland. > > rouca
Attachment:
editor.1
Description: Unix manual page
Attachment:
signature.asc
Description: This is a digitally signed message part.