How do you open/edit text files in the terminal such that I don't need to navigate through pages of the text file, I just want to see the whole file there so I can scroll up and down it (similar to the output with "cat").
How do you open/edit text files in the terminal such that I don't need to navigate through pages of the text file, I just want to see the whole file there so I can scroll up and down it (similar to the output with "cat").
I tried Pico, but the view forces me to navigate through large text files by changing the "page". I can't simply scroll through the content, which is easier for me. Are there any alternative editors that have such a view in terminal?
That's simply not how Terminal works so you won't find anything most likely. Just use a different editor like MacVim, TextWrangler, Emacs, or whatever.
I tried Pico, but the view forces me to navigate through large text files by changing the "page". I can't simply scroll through the content, which is easier for me. Are there any alternative editors that have such a view in terminal?
No. Even the editors that allow you to move the cursor will "jump" to the next page upon reaching the bottom of the previous one. You are looking for a GUI text editor, apparently.
I guess, you didn't understand the concept of the terminal. The scrollbar on the terminal window just shows you a kind of terminal-output history. Only the last part of this windows is the actual terminal. For an editor you may want to try the old-school "vi" (or actually vim):type
Code:
vi textfile
Use "i" to enter the edit mode, ESC to switch to command mode.
":q!" quits without saving, "ZZ" saves the file to disk. Refer to "man vi" for more infos.
But if you want to open a file for editing, you can also use