TuxRadar: "Nano supports syntax highlighting. Nano supports text justification. And yet, Nano is so much easier than Emacs or Vim. Discover the hidden power of this versatile command line text editor"
on 06/23/2010 – Made popular on 06/23/2010
i am using thinstation 2.2.2d and built nano editor after embed and build run thinstation ,the nano editor is not run the following error displays
Error opening terminal :xterm
help what i was wrong, i want to rum nano in thinstation platform
My favorite editor is vim, but some others prefer nano, or emacs, nano reminds me WordStar, anyway.
Cron job default editor which is invoqued by the command crontab -e is vi, while I prefer vim, and you may prefer nano, you can use this command.
env EDITOR=nano crontab -e
or as I usually do:
env EDITOR=vim crontab -e
nano has a useful bit of syntax highlighting that actually highlights whitespace (tabs and spaces), under two conditions: (1) the whitespace does not have a non-whitespace character between either the last character or the beginning of the line and it, and (2) that the file is source code and not plain, plain text (as in a shopping list). How can I emulate this kind of behavior in vim?
i tried following command (nano ~/.bashrc) in order to include some path in .bashrc file in home directory but m not able to run any command and always getting following error
rag@rag-Satellite-C640:~$ nano ~/.bashrc
Command 'nano' is available in the following places
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment var
Well, the 'standard' Ubuntu text editor gEdit has a bug that prevents it from opening some (many?) files and, IMHO, gEdit has gotten too complex for its own good anyway. However, there is a simple terminal-based editor, Nano, that is part of the Ubuntu distribution that seems to be a good alternative for simple file viewing and editing.
I am trying to learn nano installed on my server (ubuntu 1204), but the problem is whenever I open a file in nano editor it opens the file (say a shell script) as one big line rather than with line breaks which fit the screen.
Is it possible to open files with linebreaks in nano? I have tried googling this problem, but couldn’t find anything which works.
I was just curious if there's a way to get input not from StdIn but from $EDITOR - be it vim, nano, emacs or even a non-command-line-editor (MacVim/TextMate). What are the options/workarounds/bestpractices?