Questions tagged [nano]

GNU nano is an open source, curses-based text editor for Unix systems. It is a clone of [tag:pico], the proprietary Pine e-mail client editor.

Nano is a simple, small, lightweight text editor for written in . It was created in 1999 under the name TIP ("this isn't pico"). It was renamed to avoid conflit with the tip command in 2000 and officially joined the GNU project in 2001.

Nowadays, nano supports interaction through mouse, syntax highlight, -based search, customization of key bindings and (experimental) undo/redo support. More about it can be read in its homepage.

295 questions
0
votes
1 answer

How can I send cloudant db data to ejs template from an app.js file

I'm new with nodejs, I need some help. I've app.js file, where I make a query to a cloudantDB using nano driver, the code looks like this: var nano = require('nano')('localhost:3000'), db = nano.use('compania_cia') result =…
0
votes
1 answer

Gerrit Code Review - Change-Id is not working if I am using sublime-text for commit

Just realize today, if I am using sublime-text instead of nano to commit or amend my changes willl not allow me to do a git review remote: Hint: To automatically insert Change-Id, install the hook: remote: gitdir=$(git rev-parse…
raduken
  • 2,091
  • 16
  • 67
  • 105
0
votes
1 answer

Pandas subtracting nanoseconds

In [65]: import pandas as pd In [66]: one = pd.Timestamp('2016-12-22 12:22:02.123456789') In [67]: two = pd.Timestamp('2016-12-22 12:22:02.123456779') In [68]: one - two Out[68]: Timedelta('0 days 00:00:00.000000') I only get microsecond precision…
Ant Smith
  • 91
  • 1
  • 1
  • 7
0
votes
1 answer

showing if files exist - if i use 1 argument it works but when i use multiple it shows an error

Newbie to bash anybody know the problem it seems quite easy to solve but I just can't figure it out myself! basically the command I am making does something to the arguments that the user enters, these arguments are filenames [THIS IS FOR AN…
0
votes
2 answers

Nix on OSX fails to build nano?

I'm trying to use nix and I've run into a problem which I think is related to nix failing to build nano, but I'm not certain. I'm on OSX 10.11.4 (I'm very new to Macs as well) and am getting the following error: clang -DHAVE_CONFIG_H -I. -I.. …
Gregory
  • 1,205
  • 10
  • 17
0
votes
2 answers

Terminal thinks "nano" is "open" in a command I put in .bash_profile (mac)

I've made a bunch of commands to use as shortcuts and they work but I wanted to make a command that would shortcut and open the in-terminal text editor, nano, with the .bash_profile. Essentially instead of typing sudo nano…
Michael Zakariaie
  • 165
  • 1
  • 1
  • 10
0
votes
1 answer

Can I delete current file opened with nano?

Can I delete current file opened with nano? That means after I opened file with nano , press a shortcut key for delete .
Nabi K.A.Z.
  • 9,887
  • 6
  • 59
  • 81
0
votes
2 answers

How to Select All and Copy in Nano or Vi

I want to select all (960 lines) of my script file that is in UNIX and paste it to text file on windows. I have tried gg"+yG, gg#+yG, :%y and many other things but those only yank and don't paste to my text file on windows. I have been copying file…
James
  • 193
  • 2
  • 4
  • 15
0
votes
0 answers

Using Commands in Nano

I want to display the date as a user would log onto a system in CLI. I was editing the .bashrc file to say to the CLI the username, hostname, and date. How would you use the date command in nano? I tried putting it in regularly and it would just…
0
votes
1 answer

Client/server: running "nano editor" command from client

I have a client/ server program written i c language, a client can send and receive .txt documents to the server, i wish to Open the file received to visualize it with command nano For example, inside the running process: Something like…
iDoc
  • 35
  • 1
  • 5
0
votes
1 answer

nano: Move forwards/backwards one word with META+Left / META+Right

One can move forwards / backwards one word using Ctrl+Space and Meta+Space respectively. How can I bind META+Left arrow to move backwards one word / META+Right to move forwards one word? Thx for helping.
0
votes
0 answers

Nano is putting random B's everywhere

I've got a really weird issue with nano. It's putting B's all over any file I open. These aren't saved to the file, or in the file normal, there just displayed inside of nano. Anyone got any idea what on earth is going on? The set up is, I'm…
TMH
  • 6,096
  • 7
  • 51
  • 88
0
votes
1 answer

Why does terminal switches to nano console on merge in ubuntu?

Only in the time of Merge, the Terminal || Terminator both switches to nano console in ubuntu 14.01 and i get struck here. Not able to move out of it and it takes too much time to get updated, but windows not causing any such kind of issues. Anybody…
Mithun Shreevatsa
  • 3,588
  • 9
  • 50
  • 95
0
votes
1 answer

Remove '^@' line from a file

I have a file in which I have a particular line of this type: ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ ... Actually all the others lines are a list (a matrix) of numbers or *******. The problem is that I can not be able to open…
0
votes
0 answers

Redirection/Piping in C Bugs

Ok, in this code I have 2 primary problems. 1: The parent doesn't wait for the child to print before returning to main and printing. I included a waitpid() but it doesn't seem to be working how I expected. When I redirect, I create the file…
north.mister
  • 500
  • 1
  • 7
  • 24