[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682347: editor policy



Hi,

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: signature.asc
Description: This is a digitally signed message part.


Reply to: