-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ask whether the default system-wide editor should be ee or vi #3
Comments
FCP-20211005-ee: Default Editor As eeThe default editor is an essential tool for the initial configuration of Problem StatementMany new users and some seasoned users have difficulty with
Currently this is highly difficult without a reasonable knowledge of Problem DiscussionBoth The most basic requirements of a text editor are
Although it may be quite easy to change the During a fresh installation of Freebsd, many experienced users find the current This is offputting to new users of Freebsd, and as so may narrow the user-base Proposed SolutionThe default editor should be changed from Solution Discussion
The default editor of In recognition of those who prefer
Thank you. |
|
It is interesting to see that they give the choice of text editor both in text mode and in graphics mode. It is also interesting that they give the choice of shell in text mode and file manager in graphics mode. I do not think that graphics mode should be mandatory in Freebsd as it appears to be in Nomadbsd. But it does show that they understand the essentials of a basic environment, editor and shell, which includes the options of ee and sh. |
|
It would be fine with me if the default editor in FreeBSD was ee instead of vi. Anything to make things easier. I agree that graphics should not be a mandatory part of FreeBSD. Many valid FreeBSD applications do not require graphics. |
This comment was marked as resolved.
This comment was marked as resolved.
<yangzhong-freebsd/lua-httpd#3> Ask whether the default system-wide editor should be ee or vi <https://gist.github.com/grahamperrin/83fa2bd1f3dbf32fa8019ec04f810c6e> FreeBSD environments miscellany <https://redd.it/xbycd8> freebsd-update(8): prevent vi, prefer ee
|
Great commit, +1 for common sense. |
Thanks, although let's note that it's essentially a draft in my fork (not in the FreeBSD repo, https://cgit.freebsd.org/src/). Testing the waters: https://old.reddit.com/r/freebsd/comments/xbycd8/-/io2od72/?context=1 |

Implementation
Something like this:
Which command-line editor should be the system-wide default?
This system-wide default will apply to sh.
Per-user defaults for other shells may be set after starting the installed system.
Use a radio button GUI.
🔘 ee pre-selected.
If the user does not know: assume that they have no knowledge of vi, proceed as if ee was selected.
If the system-wide default will be ee, then append these two lines to
/etc/profile:Rationale
Essentially:
With a fresh installation of FreeBSD 13.0-RELEASE,
echo $EDITORreturnsvi.For some newcomers to the system, unexpected/unwanted appearance of vi will be unreasonably disorienting.
Contexts include:
Problems with accidental/unexpected appearance of vi were acknowledged, in FreeBSD base, twenty years ago.
Earlier (twenty-four years ago):
Thoughts
Compare with helloSystem/ISO@a59de6a#diff-0f711ba9ca1c5db6bee04e1572b1f3ddf469a1f53b2348a70f34cb94d9a32baeR142 where no choice is offered and nano is the default. Whilst nano is reasonable for helloSystem, it is not in FreeBSD base.
FreeBSD base includes a handful of editors, of which ee seems to be the easiest (for people who will have little or no knowledge of vi).
The text was updated successfully, but these errors were encountered: