hi there
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
I am using windows and is connecting to an ubuntu server I want to add this line to a text file
/dev/xvdf /mnt1 auto defaults,nobootwait 0 0
obviously I prefer to copy and paste that rather than typing it
So I do nano /etc/fstab in amazon ec2
Then what?
I can't paste anything. How do I paste lines like that to nano or any other linux text editor?
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
* /bin/nano
* /usr/bin/nano
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 using NANO as my everyday text editor. I'm using an old laptop, so NANO it's fast, lightweight, and saves me battery.
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.
Any help would be much appreciated.
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?