You are not logged in.

#1 2009-04-28 06:18:37

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

nano and ctrl+z (solved)

i'm posting this problem here because it probably has been addressed time after time but i can't seem to find an answer.

I can't send nano to the background with ctrl+z
can anyone help?

thanks

Last edited by SIGTERMer (2009-04-29 08:33:13)

Offline

#2 2009-04-28 08:11:10

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: nano and ctrl+z (solved)

why are you wanting to send nano to the background?  Have you tried the 'screen' command?  It might be what you're looking for if you want to have nano running and still access the commandline.

Offline

#3 2009-04-28 09:05:23

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: nano and ctrl+z (solved)

what "screen", please elaborate?

i have a habit of sending stuff to the background when i work, and have no problem with gdb, python, gnuplot.
nano is the only program that refuses to be sent to the background and nanorc doesn't seem to have anything to do with it sad

any suggestions?

Offline

#4 2009-04-28 09:11:45

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: nano and ctrl+z (solved)

Screen is a terminal multiplexer. Very handy piece of software. There are plenty of threads about customising it's appearance.

Offline

#5 2009-04-28 15:54:31

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: nano and ctrl+z (solved)

sorry i wasn't more specific.  basically screen allows you to detach running programs from the terminal, which allows them to stay running in the background while you do other things.  So if you started nano with

screen nano

if you wanted to go back to the terminal, you could detach the screen by hitting: CTRL+A+D

and if you wanted to reattach the screen and use nano again, you would run the command:

 screen -r

it's a very handy little program once you get used to it.

Offline

#6 2009-04-28 21:55:30

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: nano and ctrl+z (solved)

Check the nanorc file and make sure the "allow nano to suspend" line is uncommented too.

Offline

#7 2009-04-28 21:56:46

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: nano and ctrl+z (solved)

mine works fine now.

Last edited by quarkup (2009-04-28 21:58:07)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#8 2009-04-29 03:07:43

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: nano and ctrl+z (solved)

MoonSwan wrote:

Check the nanorc file and make sure the "allow nano to suspend" line is uncommented too.

i can't believe i missed that when i searched in the rc file. thanks MoonSwan (and everyone else who tried t help)

Offline

#9 2009-04-29 08:14:59

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: nano and ctrl+z (solved)

You're welcome, don't forget to mark this solved too.  smile

Offline

Board footer

Powered by FluxBB