Sponsored Content
Full Discussion: nano-2.0.6 HELP!!!!
Top Forums UNIX for Dummies Questions & Answers nano-2.0.6 HELP!!!! Post 302140914 by porter on Tuesday 16th of October 2007 04:25:38 PM
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"

Code:
#!/bin/sh
exec /usr/local/bin/./nano $@

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

6 More Discussions You Might Find Interesting

1. 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 2.cd microwindows-0.90/src 3.cp configs config 4.make clean; make 5. make 6.now 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

2. 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

3. 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

4. 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

5. 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

6. 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
getusershell(3C)					   Standard C Library Functions 					  getusershell(3C)

NAME
getusershell, setusershell, endusershell - get legal user shells SYNOPSIS
#include <unistd.h> char *getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If /etc/shells does not exist, the following locations of the standard system shells are used in its place: /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/ksh93 /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/pfsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/ksh93 /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/sfw/bin/zsh /usr/xpg4/bin/sh The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells. The setusershell() function rewinds the file or the list. The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells. RETURN VALUES
The getusershell() function returns a null pointer on EOF. BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved. NOTES
Restricted shells should not be listed in /etc/shells. SunOS 5.11 1 Nov 2007 getusershell(3C)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy