If you don't do a <verbatim>fossil set editor ...</verbatim> fossil checks the VISUAL and EDITOR environment variables, in that order, since they are the normal Linux/Unix way to set a default editor. If they don't exist either then fossil has very little choice but to fall back to the only editor that is almost certain to exist on every system. All other editors are optional.