nano is a text editor for Unix-like computing systems or operating environments using a command line interface.

learn more… | top users | synonyms

0
votes
1answer
11 views

Nano does not resize to window size in bash on OS X

Any ideas on how I can fix this? I am not sure what to google for =[
0
votes
1answer
25 views

Mouse-scrolling nano in Terminal.app

In the OS X Terminal, we can use the mouse or trackpad to scroll in programs that use the alternate screen, such as less. This used to be possible in nano as well, both for local sessions as well as ...
1
vote
1answer
32 views

nano in the PATH but no nano access

I've put nano in the Windows PATH. Nano was initially available globally from the Windows command line but has now disappeared. I am loathe to restart the machine at the moment for a number of ...
0
votes
1answer
20 views

Why does nano not redraw the screen correctly on some systems?

This is a weird one. On some of my Debian systems - but not all - I get strange corruption in certain terminal programs, such as nano. It does not happen, however, when using less. In this particular ...
1
vote
1answer
41 views

Vagrant SSH & Nano on Linux Mint 17.3

I've recently installed Vagrant (1.7.4) and VirtualBox (5.0) on 3 laptops each running Linux Mint. Have reached a stage on all 3 where I need to edit a config file on the VM itself. So far, so good. ...
0
votes
2answers
107 views

How do I copy text from window text editor to nano/vi in a Putty window

I was following some guide to create key-pair for my remote linux system, one of the steps being copy the public key generated and saved on my local computer to the authorized-keys file on remote ...
1
vote
1answer
447 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. ...
1
vote
1answer
59 views

How to use nano in /usr/local/bin

I'm trying to install the most recent version of nano on my mac. I did so with homebrew, and it seems to be the first version listed in my path, i.e. `which nano` -V returns GNU nano, version ...
0
votes
1answer
28 views

Do nano simcards performs better than a normal sim card? [closed]

I wonder if a nano simcard has any capability to perform better than that of a normal or micro sim card other than it's considerable size difference.I heard that's these nano ones have much more speed ...
2
votes
1answer
433 views

How to copy and paste selected text in nano on a Mac?

I’m using nano in iTerm2, I can mark the text using ctrl+^ but I'm not able to copy and paste the text. I know that ctrl+k can be used cut the entire line. What is the keyboard shortcut for copying ...
5
votes
1answer
274 views

In Windows avoid nano triggering overwrite mode on cmd line

In Windows 8 I have installed nano, because it's my preferred command line text editor. When I use it, it works normally, just as it would on any Linux distribution: C:\>nano file.c However, ...
0
votes
0answers
17 views

How to get the field number as well as line number in nano

I have a file with 90 fields per line. I can get the line number and column number in nano by doing Ctrl+C. However, judging by the fact that there are 1374 columns on the first line, it's not the ...
0
votes
1answer
8 views

Nano in Pathfinder Terminal Shows 2-Line Header

I use nano (= pico) for editing git commits in my terminal window. I'm trying to use the terminal in PathFinder but this happens: There are almost no settings for Path Finder. Is there anything I ...
-3
votes
1answer
75 views

Set nano as a default editor over Vim [duplicate]

Every time I login to ssh terminal to edit files I execute the command export EDITOR=nano How Could I set nano as default editor so I shouldn't execute this command anymore
0
votes
1answer
355 views

Editing files locally with Vagrant

Is it possible to edit files using non command-line editors, such as Notepad++, with Vagrant?  If so, how would it be done?
0
votes
2answers
320 views

How To Enable Syntax Highlighting for Nano In Windows?

I am a huge fan of the nano editor, but I can't get the syntax highlighting to work in the windows version. Is it possible to have syntax highlighting in windows?
0
votes
1answer
319 views

Cygwin nano syntax highlighting

I want to have basic syntax highlighting in a cygwin implementation of nano. This comment confirms for me that it's possible, but I can't find any information on how to actually make it happen.
4
votes
2answers
240 views

How can I configure putty to retain the feed from nano on the screen after exiting?

When I use SecureCRT as my ssh client, and I exit a nano session, the prompt appears under the last state of the nano screen. I've gotten used to being able to refer back to content I was editing, so ...
0
votes
3answers
157 views

Open man page using nano

I want to open man pages in another text editor, in this case "nano". Does anyone know how I can achieve this please?
0
votes
1answer
38 views

How do I configure the insert file target in nano?

The GNU nano text editor has the ability to insert another file into the current file (^R). The behaviour of this command can be modified to insert the file into a new buffer with M-F. I would like ...
0
votes
1answer
128 views

Make nano wrap on $

Is it possible to make nano wrap on $ on very long lines? I regularly have to check log file and then copy and paste the contents into an email for example (I want to use mouse select - Ctrl U does ...
1
vote
1answer
3k views

How do you reinstall nano on Mac OS X?

I accidentally overwrote my nano app with a unix binary version, and now nano doesnt work on my Mac OS (Maverick). How do I restore nano or get it back? I couldnt find it on homebrew and I don't ...
0
votes
1answer
35 views

Nano usablely open second file

Is it possible to open second file into Nano text editor not by browsing files in program interface (it's not so usable because you can't do nothing like search etc in it) but in command line or in mc ...
0
votes
1answer
41 views

command to delete slected text portion in nano

I am using nano editor for the first time. I know that CTRL + K will delete an entire line. But I am unable to understand how to delete a selected portion (selected using mouse) of the the text. is ...
1
vote
0answers
1k views

Nano syntax highlighting on Mac OSX not working

I installed the Macports version of the nano text editor sudo port install nano +colors and now i have all the syntax highlighting nanorc files ls /opt/local/share/nano drwxr-xr-x 31 root ...
0
votes
1answer
1k views

Print feature in nano?

Is there a way to print a document from the nano text editor, i.e. send it to a printer to be physically printed out? I see that vim and emacs have this feature but I like the simplicity of nano. If ...
0
votes
1answer
676 views

How to save module configuration in Linux Terminal

I'm following a tutorial to boot Linux from usb3.0. I stumbled across this tutorial: http://evilshit.wordpress.com/2012/06/29/how-to-install-ubuntu-server-on-a-usb-3-0-stick-and-boot-that-stick/ In ...
5
votes
1answer
8k views

Find next command in nano?

I use CTRL+W then Enter every time, is there a "Find Next" command in nano?
0
votes
2answers
535 views

Nano syntax highlighting malformed regex?

I found this javascript syntax highlighting file for nano on google code, downloaded it and included it in my /etc/nanorc file: File: /usr/share/nano/js.nanorc ## all *js files ( e.g. Firefox ...
-1
votes
1answer
290 views

How do I enable some type of c++ syntax highlighting for pico in terminal? [duplicate]

I use my MacBook for my CS class, using terminal. I usually connect to a Linux server via ssh. The servers are super laggy at times so I've decided to just work on projects on my local machine and ...
1
vote
0answers
268 views

Running nano WinSSHD and Putty

I have following setup; Windows 7 running WinSSHD GitBash (WinSSHD launches this as console when connected) Nano 2.2.6 WIN32 version Remote Windows with Putty connected via ssh to above server ...
8
votes
2answers
8k views

Copying from one file to another using nano editor

How do I copy a few lines from one file to another file using the nano editor?
28
votes
2answers
17k views

Git on Mac: How to set Nano as the default text editor?

When I'm using Git on Mac and need to do a rebase, the Vim editor kicks in by default. I would prefer Nano – could someone please explain how to reconfigure Git to make it use Nano for rebase? Thank ...
0
votes
1answer
51 views

weird resolving of path to command

I have the terminal editor 'nano' installed in two places on my mac /usr/bin/nano /opt/local/bin/nano The installations are of different versions. The one in /usr does not support my configuration ...
1
vote
0answers
284 views

Nano (pico) editor window resize

I am still not sure what I have done but I was testing some button combinations when I was in nano editor and all of a sudden the contents of the window started not to adjust themselves when I resized ...
0
votes
2answers
880 views

Failed to install Nano editor on Mac

I downloaded the latest version of nano and I followed the instructions described on its website, but I was stopped by step 3: Download the source file (nano-2.2.6.tar.gz) and unpack it. Open ...
6
votes
7answers
221 views

Open a Console Based Editor with limited access

I have a script that will be executed through SSH. My SSH server is configured to always trigger this script, so the user doesnt have access to actual machine. One of the features of this script is ...
0
votes
1answer
749 views

How to get nano to work properly under mutt?

I have set nano as the default editor in mutt; mutt launches nano normally enough, but when I try to send the message (ie. save and quit, separately) mutt says the message has been aborted. Any idea ...
0
votes
0answers
125 views

Nano suddenly putting in weird characters when I type

I am using a shell and editing a file in nano (similar to pico). A short while ago, it started doing this thing where if I type: $query = "select" * from topics where id='' "; and then I hit ...
1
vote
2answers
418 views

Cursor in nano jumps instead of scrolling

When scrolling (by holding down the down key) in nano, the cursor does not move while the key is pressed, but once I let go of the key it jumps to where it should be. How can I get it to move as I ...
5
votes
2answers
153 views

An esay way to empty a config file in Linux?

Is there a way to empty a configuration file in Linux without deleting it so that it won't lose the permissions? Thanks.
0
votes
2answers
437 views

Nano-like editor that support Ctrl+Backspace and Ctrl+Arrow keys

Does anybody know of a nano-like editor that supports Ctrl+Backspace and Ctrl+Arrow keys? Like in Windows, where you can delete and navigate words. I have been trying to learn the basics of Vim for ...
2
votes
2answers
1k views

Centos Nano Upgrading

I'm having a few issues with the default version of Nano...Its extremely buggy and when I scroll between characters they mysteriously change without my editing. How do I update my nano version? The ...
8
votes
3answers
21k views

How to input hash (#) symbol to terminal?

I'm running Ubuntu Server as a virtual machine (using VirtualBox) on my mac. Normally on the Mac, I'd press alt + 3 to input the hash (#) sybmol. However, if I do this in my Ubuntu Server's console, ...
1
vote
1answer
1k views

Nano syntax highlighting for Debian

I am running Debian and I would like to turn on syntax highlighting for nano. My system has predefined syntax definitions... standage@idebian:~$ ls /usr/share/nano/ asm.nanorc c.nanorc ...
0
votes
1answer
497 views

very strange keyboard/chars behavior in nano editor from terminal

I use "nano" to edit my files on remote servers. I'm on MAC OSX. When I type characters to nano from time to time it just doesn't enter characters as I type them. The behavior is very strange and ...
4
votes
3answers
1k views

Missing the first character of a line on full screen apps on Linux server ssh'ed from OS X Terminal

I am having problems with the Terminal application on Mac OS X Snow Leopard. I use ssh to connect to a remote Linux server and perform configuration file editing. For some reason, it sometimes ...
3
votes
0answers
158 views

Why is nano ignoring the first line in files?

I've sshed into Server A and Server B from Windows Vista. I've sshed into Server A and Server B from Windows XP. In all 4 cases, when I edit a file with nano, the first line does not show up in nano ...
2
votes
1answer
134 views

Nano World Wrap Without Hard Breaks

How would I use the nano edtior to show the wrapping of the text, but without having the text broken by end of line characters? If I turn wrap off I'm only able to view one line of text, but if I have ...
4
votes
1answer
2k views

Unix command-line editor for big files

I sometimes run into the problem where I need to replace just a few characters in files ~10Gb. As I only have 2Gb RAM, opening such a file with Vim or nano will consume all system resources. The way ...