Sponsored Content
Full Discussion: perl colors in nedit editor
Top Forums UNIX for Advanced & Expert Users perl colors in nedit editor Post 302225839 by Alalush on Sunday 17th of August 2008 08:12:54 AM
Old 08-17-2008
perl colors in nedit editor

Hi,

I would like to change the color of the nedit editor for perl scripts.
I tried to find the .nedit file in my $HOME directory but didn't find it.

Can anyone tell where can I find the .nedit file or where can I modify the
color for perl scripts in the nedit editor ?

Thanks in advance
 

9 More Discussions You Might Find Interesting

1. HP-UX

is nedit available in hpux 11i version 2?

hi 1).in the command "set" result, the 2nd line is EDITOR=vi is it means the vi editor is the default editor? 2). is "nedit"editor available in hpux 11iv2? if no how to install or work in nedit in hpux 11i? (0 Replies)
Discussion started by: sekar sundaram
0 Replies

2. UNIX for Dummies Questions & Answers

can't find my NEDIT utility after shell change

Hello, My System Admin. just switched me from KSH to BASH and something happened to my "nedit" utility! Does anyone know how to reactivate nedit by anychance? Thanks very much! BobK (2 Replies)
Discussion started by: bobk544
2 Replies

3. Shell Programming and Scripting

how to make VI editor show colors in Unix

Hi, I saw some people's vi editor show different colors on the text according the nature of text when using it. It would be nice if I can see diffrerent colors with my vi editor. Do anybody know how to set it up? I use PowerTermPro program to access unix machine. I tried to use vim editor but... (7 Replies)
Discussion started by: whatisthis
7 Replies

4. UNIX for Dummies Questions & Answers

changing the colors of nedit

I have only slight difference between remarks (gray) and code (black) using c and c++ how cani change remark to other color ? The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

7. Shell Programming and Scripting

Perl - Problems iwith colors while printing from dynamic array at runtime..

Hi Perl folks, I am having problems printing elements from an array at runtime. I wish to push elements into array at runtime and the print it later. Now I wish to print this matrix using colors. So I do something like this to enter the runtime values in array: ... (1 Reply)
Discussion started by: som.nitk
1 Replies

8. Programming

how to change Editor in perl

i have following code that runs fine on my Ubuntu workstation. However when i run this on a HPUX it wont open the text file i am trying to open for editing. I figured i just have to change gvim editor to vi, but that didnt work out well. Can some one help me out here? This is written in Perl ... (1 Reply)
Discussion started by: usustarr
1 Replies

9. Shell Programming and Scripting

Set the number of lines to be displayed on nedit!!

Dear Help, I have been encountering a strange problem. When I run a shell script, I do expect the output number of lines to be 12000 and it runs fine on one my linux w/s.But it just terminate at line 2704 on another linux machine. I have put 'nedit text.file' at the last part of the script,... (5 Replies)
Discussion started by: Indra2011
5 Replies
NC(1)								NEdit documentation							     NC(1)

NAME
nedit-nc - Client program for NEdit text editor SYNOPSYS
nedit-nc [-read] [-create] [-line n | +n] [-do command] [-ask] [-noask] [-svrname name] [-svrcmd command] [-lm languagemode] [-geometry geometry | -g geometry] [-icon | -iconic] [-display [host]:server[.screen]] [-timeout seconds] [-wait] [-xrm resourcestring] [-tabbed] [-untabbed] [-group] [-V | -version] [-h | -help] [--] [file...] DESCRIPTION
nedit-nc is the client interface to the NEdit text editor. A server can be started explicitly by running NEdit in server mode: nedit -server If no server is running, nedit-nc will start one unless configured otherwise. Client/server mode is useful for integrating NEdit with software development environments, mailers, and other programs; or just as a quick way to open files from the shell command line without starting a new NEdit session. OPTIONS
-read Open the file read-only regardless of the actual file protection. -create Don't warn about file creation when a file doesn't exist. -line n, +n Go to line number n. -do command Execute an NEdit macro or action on the file following the -do argument on the command line. If you use this command without a filename, nedit-nc would randomly choose one window to focus and execute the macro in. -ask, -noask Instructs nedit-nc whether to automatically start a server if one is not available. This overrides the X resource `nc.autoStart'. -svrname name Explicitly instructs nedit-nc which server to connect to, an instance of nedit(1) with a corresponding -svrname argument. By naming servers, you can run several simultaneously, and direct files and commands specifically to any one. -svrcmd command The command which nedit-nc uses to start an NEdit server. It is also settable via the X resource `nc.serverCommand', by default, "nedit -server". -lm languagemode Initial language mode used for editing succeeding files. -geometry geometry, -g geometry The initial size and/or location of editor windows. The argument geometry has the form: [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>] where `<width>' and `<height>' are the desired width and height of the window, and `<xoffset>' and `<yoffset>' are the distance from the edge of the screen to the window, + for top or left, - for bottom or right. -geometry can be specified for individual files on the command line. -icon, -iconic Initial window state for succeeding files. -display [host]:server[.screen] The name of the X server to use. host specifies the machine, server specifies the display server number, and screen specifies the screen number. host or screen can be omitted and default to the local machine, and screen 0. -timeout seconds Basic time-out period (in seconds) used in communication with an NEdit server. Default: 10 seconds. Also settable via the X resource `nc.timeOut'. Under rare conditions (such as a slow connection), it may be necessary to increase the time-out period. In most cases, the default is fine. -wait Instructs nedit-nc not to return to the shell until all files given are closed. Normally, nedit-nc returns once the files given in its command line are opened by the server. When this option is given, nedit-nc returns only after the last file given in this call is closed. Note that this option affects all files, not only the ones following this option in the command line. -xrm resourcestring Set the value of an X resource to override a default value. -tabbed Open all subsequent files in new tabs. Resets -group option. -untabbed Open all subsequent files in new windows. Resets -group option. -group Open all subsequent files as tabs in a new window. -V, -version Prints version and build information, to be mentioned when reporting bugs and problems. -h, -help Prints the command line help and then exits. -- Treats all subsequent arguments as file names, even if they start with a dash. This is so NEdit can access files that begin with the dash character. ENVIRONMENT
DISPLAY NEdit requires an X-based workstation or X-Terminal. If you have used telnet or rlogin to access the host Unix system, set the Unix environment variable for your display: % setenv DISPLAY devicename:0 NOTES
Communication between nedit-nc(1) and nedit(1) is through the X display. So as long as X windows is set up and working properly, nedit-nc will work properly as well. nedit-nc uses the `DISPLAY' environment variable, the machine name and your user name to find the appropriate server, meaning, if you have several machines sharing a common file system, nedit-nc will not be able to find a server that is running on a machine with a different host name, even though it may be perfectly appropriate for editing a given file. In typical Unix style, arguments affect the files which follow them on the command line, for example: incorrect: nedit-nc file.c -line 25 correct: nedit-nc -line 25 file.c For more information see NEdit's online help, or nedit.doc in the NEdit distribution kit. SEE ALSO
nedit(1), X(1), mwm(1), ctags(1), etags(1) AUTHORS
NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, and TK Soh. COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception to the GNU GPL, the copyright holders give permission to link the code of this program with the Motif and Open Motif libraries (or with modified versions of these that use the same license), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than linking with Motif/Open Motif. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License in the Help section "Distribution Policy" for more details. NEdit 2009-10-06 NC(1)
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy