-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Clarifying how to use the editor #52
Comments
I know this is done in the shell novice lesson, with I can add some more guidance to the instructor notes on choice of editor and practicalities of presenting this, but I don't think peppering these lessons with repeated instructions on how to start a text editor is helpful to anyone. |
Again, the ability to edit text files is a prerequisite to this course, and is discussed in the Carpenties shell novice lessons. |
Again, I think this is down to whoever is running the particular course to decide what editor environment they are happiest presenting and how much introduction it needs for their given audience. They may decide to use neither GEdit nor Nano, in which case the course shouldn't stand in their way and be over-prescriptive. Mentioning |
Further comments were made by @cmeesters: when introducing gedit (in the setup section), it is recommended to start the editor in the background. I noticed, myself, that you have to describe what the ampersand (&) actually does to newbies. likewise with Nano, a number of rather "cryptic" command line flags are given and not explained. |
I don't understand this comment. The text explains that these flags in nano select the equivalent settings described above for GEdit, and then for good measure I give the settings in more legible |
Actually it's more complex that this, because gedit has a habit of printing sporadic warnings into the terminal which is annoying and confusing. So I'm going to remove the recommendation to use |
Well, Essentially, all editors with a steep learning curve (nano, vi, emacs, ...) have their quirks and will lead to issues with some participants in the classrooms. Choosing gedit and nano (as nano is not that strange as vi and emacs are) is an attempt to reduce such issues. However, when people start not knowing what |
So this gets to the fundamental question: is this course aimed at Linux newbies or is it aimed at people with shell scripting experience. I wrote it for the latter, but you (and previously @tkphd) are saying it should be modified to suit the former. "when people start not knowing what |
from @tkphd
Two editors are mentioned here, but no editor is invoked in the lesson material.
Throughout, when showing changes to a file, preface it with the command the
instructor should use to launch the editor.
Provide installation instructions or suggest a framework (like
gitforwindows) that provides an editor.
"Setup" is meant to be run by the learner hours or days ahead of the
workshop. Any alias they set will be lost by the time they need it.
Recommend editing ~/.nanorc to set appropriate flags instead, or editing
~/.bashrc to retain the alias, and revisiting this at the beginning of the
lesson to make sure everyone has a consistent editing environment.
The text was updated successfully, but these errors were encountered: