Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
47 views

How to type a right to left language in terminal?

Please forgive me if this is a bad question. OK. I have installed Debian recently (without a GUI) to learn the CLI and C using the LearnTheHardWay tutorials. Its going well, and I feel at this stage I ...
4
votes
2answers
65 views

Is it posssible to save text in nano with one keypress

I use nano as my favorite text editor. I was able to save my documents by pressing F3 + Enter. But is there a way to save the document directly by pressing some key, if I'm sure I would like to save ...
2
votes
1answer
56 views

How to auto highlight comments in nano?

I was wondering how could I make lines commented with a # highlighted in a different colour in nano? I saw this question on askubuntu that shows how to syntax highlight for different languages. ...
0
votes
1answer
133 views

Long line wrapping in Nano

When editing an authorised_keys file in Nano, I want to wrap long lines so that I can see the end of the lines (i.e tell whose key it is). Essentially I want it to look like the output of cat ...
1
vote
1answer
824 views

How to indent multiple lines in nano

Selecting lines in nano can be achieved using Esc+A. With multiple lines selected, how do I then indent all those lines at once?
1
vote
1answer
174 views

What does the command set speller “aspell -x -c” in nanorc do?

When I pressed Ctrl+T in Nano it gave the error Spell checking Failed: Error invoking Spell. So I followed this answer and added set speller "aspell -x -c" to my ~/.nanorc and the spell check is now ...
0
votes
1answer
546 views

Tmux ranger integration: opening text files in new panes

Here we have some amazing tools: tmux, ranger, vim... Would be amazing to configure ranger to open the files (when text editable) in a tmux newpane? Is that easy and how it is done?
12
votes
2answers
4k views

What does “XOFF ignored, mumble mumble” error mean?

While trying to save a file out of Nano the other day, I got an error message saying "XOFF ignored, mumble mumble". I have no idea what that's supposed to mean. Any insights?
1
vote
4answers
78 views

Editors Nano/VIM not using resources

Does anyone here know the resources it takes for editors to search and replace in a large file? The reason I am asking, is I have a 32 core server that HTOP is only showing one core at 100% when ...
0
votes
0answers
95 views

All installed software/commands will not run unless root user in Slackware 14

I originally thought it was just startx, but now I've discovered ALL commands are "not found" for any user except root... I obviously haven't checked the path for every single one, but the path for ...
5
votes
4answers
405 views

Accidental `nano SomeFile | uniq` renders the shell unresponsive

In my attempt to get unique entries (read lines) out of a simple text file, I accidentally executed nano SomeTextFile | uniq. This "instruction" renders the shell (bash) completely (?) ...
3
votes
2answers
532 views

Piped input to nano

Why does ls | nano - open the editor in Ubuntu but close the editor and save a file to -.save in CentOS? How can I get nano in CentOS to remain open when reading stdin?
3
votes
1answer
894 views

Fixing scrolling in nano running in tmux in mate-terminal

The problem: I open a terminal (in Linux Mint, so mate-terminal) zsh is the shell Then I run tmux Edit a file with nano Scroll up and down that file with the cursor Issue: When scrolling down in ...
2
votes
5answers
2k views

Comment all lines in a text file?

In a text file I need to comment out all lines by adding a ";" as first character of each line. What is a good way to do this? I thought of Vim's visual block mode, but I couldn't find a "select all" ...
0
votes
0answers
175 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 ...
2
votes
1answer
134 views

How do I detect whether changes in nano were discarded or saved?

I am currently writing a small setup script for a Linux application that needs the user to edit a configuration file before the application is started. I've chosen to make the script simply open the ...
2
votes
2answers
2k views

Nano editor - display not updating with PuTTY

When I use PuTTY to connect to a specific Linux server via the SSH protocol, and I try to edit a file using the nano editor, the "enter" does not update the display. When I press enter to insert ...
7
votes
2answers
408 views

Does OS X have its own line format?

Obviously there are at least two newline types: DOS and Unix. But does OS X have its own plaintext 'format'? I opened a text file in nano and was surprised to see: [ Read 26793 lines (Converted from ...
5
votes
1answer
1k views

How to 'UnJustify!' text in GNU nano

I enjoy using nano as a respite from my usual GTK-based text editor. I like the simplicity of the interface, and using CTRL-K is the fastest way I know of to edit down long textfiles. However, I have ...
6
votes
2answers
6k views

Is there line numbering for nano?

Is there a way to turn on line numbering for nano?
17
votes
2answers
7k views

Is it possible to save as sudo from nano after you've forgotten to run as sudo?

A lot of the time I edit a file with nano, try to save and get a permission error because I forgot to run it as sudo. Is there some quick way I can become sudo without having to re-open and re-edit ...