Sponsored Content
Top Forums Shell Programming and Scripting Setting properties for vi during run time. Post 302225039 by ashish_uiit on Thursday 14th of August 2008 11:29:44 AM
Old 08-14-2008
Thanks for help.

but it will set line numbers everytime i use vi to open file. I just want to set line numbers when vi is run from my script.

Is there any way that i can specify which configuration for vi to be used.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting date and time

how do i set the system date and time? i know i have to be root to do it but i'm new to unix--really new--and some of this stuff seems really cryptic. thanks for any help.:confused: (2 Replies)
Discussion started by: singlefin
2 Replies

2. UNIX for Dummies Questions & Answers

setting session time

Please lemme know how & where to set the session time for ftp connection in Wu-ftp . Regards Gambhi. (5 Replies)
Discussion started by: gambhi_s
5 Replies

3. UNIX for Dummies Questions & Answers

Time zone setting

Tru64 (4.0D) How to change the time zone setting for the system? Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies

4. UNIX for Dummies Questions & Answers

Setting Directory Time

How would I modify the time of a directory? The touch command appears to only work on files and I searched through the threads looking for an example on dealing with directories. I have a directory that has a recent date, but none of the files within the directory are recent. I'd like to set... (2 Replies)
Discussion started by: jgordon
2 Replies

5. UNIX for Dummies Questions & Answers

need help setting time!

I am trying to change the time on a Sun Solaris System, but I am having some difficulties. I thought by accessing the clock icon in the CDE would allow me to change the time. Also when I clicked the help icon I still could not fine any information. (1 Reply)
Discussion started by: wmosley2
1 Replies

6. Solaris

Setting up SSH - first time

Good day to you all. I have a server (running on SunOS 5.8) that i always got into via telnet. I have eventually decided to block telnet access to it and instead look toward using SSH. The problem is, whne i establish the SSH connection via PuTTy, i get the "Log in as" prompt, but upon... (5 Replies)
Discussion started by: de049
5 Replies

7. UNIX for Dummies Questions & Answers

Setting time from application

Hello all, I wish to set the time and date of the system from my application. (I write code in C ). How can it be done? I found the function stime() - but it gets time in seconds as a parameter, and I don't know how to convert my time & date to seconds since EPOCH. What's the best... (0 Replies)
Discussion started by: klafte
0 Replies

8. Shell Programming and Scripting

Exit shell after setting executable to run?

Hi, I have an executable file that has a rather long and tedious process to complete. How would I launch the executable using the shell, and then exit the shell while leaving the executable to run in the background? (1 Reply)
Discussion started by: pcwiz
1 Replies

9. Solaris

Time setting on Solaris 10

Hi all, Any idea please how to: -Change Time format from 24h format to 12h format (AM and PM) -Turn off DST: Daylight Save Time on a Solaris10 server Thanks in advance (1 Reply)
Discussion started by: rafikrafik09
1 Replies

10. Shell Programming and Scripting

Reading properties from file and setting variable values

I want to read properties from a file and print evaluated values of each key. I am using AIX6.1. myfile.props protocol=http siteA.host=siteAhostname pageA=pageNameA siteAURL1=${protocol}:/${siteA.host}/pagea/blabla?v1=32 siteAURL2=${protocol}:/${siteA.host}/${pageA}/blabla?v1=32... (5 Replies)
Discussion started by: kchinnam
5 Replies
JEDIT(1)						      General Commands Manual							  JEDIT(1)

NAME
jedit - Programmer's text editor written in Java SYNOPSIS
jedit [ options ] [ files ] DESCRIPTION
This manual page briefly documents jEdit's command-line parameters. Complete documentation can be found by invoking the Help->jEdit Help menu item within jEdit. jEdit is a cross-platform text editor written in Java. It has an extensive feature set that includes syntax highlighting, auto indent, folding, word wrap, abbreviation expansion, multiple clipboards, powerful search and replace, and much more. Furthermore, jEdit is extremely customizable, and extensible, using either macros written in the BeanShell scripting language, or plugins written in Java. jEdit requires Java 2 version 1.3. jEdit is released under the GNU General Public License, which can be found in the online help. GENERAL COMMAND LINE USAGE
When opening files from the command line, a line number or marker to position the caret on can be specified like so: $ jedit MyApplet.java +line:10 $ jedit thesis.tex +marker:c Command-line switches begin with a "-". Some take a parameter. A file whose name begins with "-" can be opened like so: $ jedit -- -myfile MISCELLANEOUS OPTIONS
-log=level Set the minimum log level to an integer between 1 and 9. Default is 7. Has no effect when connecting to another instance via the edit server. -usage Show a brief command line usage message without starting jEdit. This message is also shown if an invalid switch was specified. -version Show the version number without starting jEdit. -- Specifies the end of command-line processing. Further parameters are treated as file names, even if they begin with a dash. CONFIGURATION OPTIONS
-plugins Enable loading of plugins. This is the default. Has no effect when connecting to another instance via the edit server. -noplugins Disable loading of plugins. Has no effect when connecting to another instance via the edit server. -restore Restore previously open files on startup. This is the default. -norestore Do not restore previously open files on startup. -run=script Run the specified BeanShell script. There can only be one of these parameters on the command line. -settings=dir Store user-specific settings in the directory named "dir", instead of the default $HOME/.jedit. The directory will be created auto- matically if it does not exist. Has no effect when connecting to another instance via the edit server. -nosettings Start jEdit without loading user-specific settings. -startupscripts Run startup scripts. This is the default. Has no effect when connecting to another instance via the edit server. -nostartupscripts Disable startup scripts. Has no effect when connecting to another instance via the edit server. EDIT SERVER OPTIONS
For information about the edit server, see the section "Starting jEdit" in the jEdit online help. -background Run jEdit in background mode. In background mode, the edit server will continue listening for client connections even after all views are closed. Has no effect when connecting to another instance via the edit server. -nobackground Disable background mode. This is the default. Has no effect when connecting to another instance via the edit server. -gui Open an initial view. This is the default. Has no effect when connecting to another instance via the edit server. -nogui Do not open an initial view, and instead only open one when the first client connects. Can only be used in combination with the -background switch. You can use this switch to "pre-load" jEdit when you log in to your computer, for example. Has no effect when connecting to another instance via the edit server. -server Store the server port info in the file named "server" inside the settings directory. This is the default. -server=name Store the server port info in the file named "name". File names for this parameter are relative to the settings directory. -noserver Do not attempt to connect to a running edit server, and does not start one either. FILES
/usr/share/jedit jEdit program files. /usr/share/jedit/doc jEdit online help, which can be viewed from within jEdit using the Help->jEdit Help command. /usr/share/java/jedit.jar The jEdit program. /usr/bin/jedit Shell script for starting jEdit. /usr/share/man/man1/jedit.1 This manual page. $HOME/.jedit Each user who runs jEdit has a settings directory. Its content is documented in the "Customizing jEdit" section of the online help. SEE ALSO
java(1) VERSION
jEdit 4.2 BUGS
See http://www.jedit.org/index.php?page=feedback for bug reporting information. WEB
http://www.jedit.org/ AUTHOR
This page was written by Krzysztof Krzyzaniak (eloy) <eloy@debian.org> for Debian project, with further modifications and additions for jEdit 4.2 by Slava Pestov <slava@jedit.org>. April 23, 2003 JEDIT(1)
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy