Ticket UUID: | fb47088db591c3521d294dedcc7600577ceb22ca | ||
Title: | The default editor on Linux is ed | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Minor | Priority: | |
Subsystem: | Resolution: | Not_A_Bug | |
Last Modified: | 2010-06-04 22:44:46 | ||
Version Found In: | [cb44f7dea4] 2010-05-24 18:43:32 | ||
Description & Comments: | |||
When new repository is created or cloned on Linux and changes are committed the commit log is opened in ed.
I do have visual editors like sensible-editor, vi, vim, or even nano. eric added on 2010-05-26 18:12:00: fossil set editor ...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. anonymous added on 2010-06-03 13:19:53: vi is much more likely to be present and more useful. eric added on 2010-06-04 22:44:46: vi is a nightmare for someone who has used only GUI editors, and as for an emacs enthusiast's opinion of it... There is no way for Fossil to make the right choice, so it makes the traditional default choice. Set EDITOR in your .profile or whatever, and programs other than Fossil will use it too. |