Visit Our UNIX and Linux User Community

nano-2.0.6 HELP!!!!

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers nano-2.0.6 HELP!!!!
# 1  
Old 10-16-2007
Data nano-2.0.6 HELP!!!!

Hi all,
I have this problem. I am running suse linux 10.0 Enterprise.
I was able to install nano-2.0.6 and as root I am able to use it.

This is where my problem starts.
When I exit root and try to use nano, I get this error message.

nano: Command not found.
but when I type /usr/local/bin/./nano I am able to use it.

and since I am using tcsh shell I made a file called .cshrc and added the following:

setenv EDITOR/usr/local/bin/./nano ( which didn't work )
then I tried this also
setenv EDITOR/usr/local/bin/nano (which also didn't work)

can someone out there help this NEWBIE!!!!!

# 2  
Old 10-16-2007
copy" the nano executable to other location ? like "cp /path/to/nano /the-new/path/nano" && chown user:group /the-new/path/nano.
"ln -s" , i.e. symlink them ? I'm not aware of the way tcsh works, but EDITOR may not be accepted, why not add the nano path in your $PATH ?
# 3  
Old 10-16-2007
nano problem

copy" the nano executable to other location ? like "cp /path/to/nano /the-new/path/nano" && chown user:group /the-new/path/nano.
"ln -s" , i.e. symlink them ? I'm not aware of the way tcsh works, but EDITOR may not be accepted, why not add the nano path in your $PATH ?

Hi sysgate,
Thanks for reply.
this real issue is that I need to run nano like so /usr/local/bin/./nano
I just can't run nano by just typing nano OR /usr/local/bin/nano. So by setting the path it wouldn't make a differents.

the group and owner is so

-rwxr-xr-x 1 root root 347904 2007-10-15 23:12 nano

did I install nano wrong?

# 4  
Old 10-16-2007
Where did you get nano from and how did you install it.

It all sounds highly screwed up

Write a shell script as "/usr/bin/nano"

exec /usr/local/bin/./nano $@

setenv EDITOR/usr/local/bin/./nano
Would you not need a space after "EDITOR"? And did you export it?

Previous Thread | Next Thread
Test Your Knowledge in Computers #461
Difficulty: Medium
Simple Network Time Protocol (SNTP) is a less complex implementation of NTP, using the same protocol but without requiring the storage of state over extended periods of time.
True or False?

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help with these scripts in nano...

So I am trying to write 3 different scripts using nano. Having some trouble with each. The first one is prompting for the person's information, and I would like to store that information in a new text file. I have most of it complete. The only problem I have here is that I do not know the code... (2 Replies)
Discussion started by: tburns517
2 Replies

2. Shell Programming and Scripting

How to Create files using Nano?

I need to switch files in a directory using Nano thinking i have all the files in the same directory? how would i go about doing that ? (2 Replies)
Discussion started by: JuankyKong
2 Replies

3. UNIX for Dummies Questions & Answers

Nano ; does it have split screen capability?

Can nano have two files open at once? Thanks in advance! (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

4. UNIX for Dummies Questions & Answers

using nano x to design GUI

Hi, I am working on a project to develop an embedded device that can transfer files between two usb devices ( pen drives). We are using an NUC950A ARM9 microcontroller and we've put the Linux 2.1 kernel on the development board and it works. Can i use nano -x to design my own GUI so that i can run... (3 Replies)
Discussion started by: dilumcc
3 Replies

5. HP-UX

Nano installation for ON HP UX

How to isntall nano on HP UX? Thanks:eek: (1 Reply)
Discussion started by: ldaliosmane
1 Replies

6. Linux

microwindow and nano-X

Dear all I have problem in installing microwindows. What I did 1.I have microwindows-0.90 in home/SHIVA microwindows-0.90/src 3.cp configs config 4.make clean; make 5. make it is giving error :- winevent.c:18: error: static declaration of Ďabs' follows non-static declaration... (0 Replies)
Discussion started by: mishra_sk_in
0 Replies

Featured Tech Videos