Sponsored Content
Full Discussion: Changing default editor
Top Forums UNIX for Dummies Questions & Answers Changing default editor Post 59625 by Tony Empire on Sunday 26th of December 2004 02:19:19 PM
Old 12-26-2004
Changing default editor

Redhat 9

I want to change my default text editor from vi to pico.
When I look in the .bash_profile or .bashrc I do not see the EDITOR variable. So how do I change the default permanently?
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changing colore in vi editor

how can i change colore of a command in vi (1 Reply)
Discussion started by: sheilly_2k7
1 Replies

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

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

4. UNIX for Dummies Questions & Answers

Default editor in zsh

Guys, Can somebody help in setting vi as the default editor in zsh shell. I know that in ksh and bourne we can achieve the setting through .profile file. I want to replicate the behavior of ksh in zsh where on command prompt when one presses escape the screen acts as a vi. And one can use all... (1 Reply)
Discussion started by: yabhi_22
1 Replies

5. Solaris

Default text editor

Hi, sorry if something similar has already asked. But I am interested how to change default text editor on Unix Solaris? When I open File Manager -> Edit -> Properties.. -> Category (Advanced Settings) -> Default Editor (Other) I have something like: shelltool sh -c "sleep 3; vi $FILE"... (13 Replies)
Discussion started by: spuzh
13 Replies
LDBEDIT(1)						    System Administration tools 						LDBEDIT(1)

NAME
ldbedit - Edit LDB databases using your preferred editor SYNOPSIS
ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor] [-H LDB-URL] [expression] [attributes...] DESCRIPTION
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend. OPTIONS
-?, --help Show list of available options, and a phrase describing what that option does. --usage Show list of available options. This is similar to the help option, however it does not provide any description, and is hence shorter. -H <ldb-url> LDB URL to connect to. For a tdb database, this will be of the form tdb://filename. For a LDAP connection over unix domain sockets, this will be of the form ldapi://socket. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://hostname. For an SQLite database, this will be of the form sqlite://filename. -s one|sub|base Search scope to use. One-level, subtree or base. -a, -all Edit all records. This allows you to apply the same change to a number of records at once. You probably want to combine this with an expression of the form "objectclass=*". -e editor, --editor editor Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables). If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used. -b basedn Specify Base Distinguished Name to use. -v, --verbose Make ldbedit more verbose about the operations that are being performed. Without this option, ldbedit will only provide a summary change line. ENVIRONMENT
LDB_URL LDB URL to connect to. This can be overridden by using the -H command-line option.) VISUAL and EDITOR Environment variables used to determine what editor to use. VISUAL takes precedence over EDITOR, and both are overridden by the -e command-line option. VERSION
This man page is correct for version 1.1 of LDB. SEE ALSO
ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1) AUTHOR
ldb was written by Andrew Tridgell[1]. If you wish to report a problem or make a suggestion then please see the http://ldb.samba.org/ web site for current contact and maintainer information. This manpage was written by Jelmer Vernooij and updated by Brad Hards. NOTES
1. Andrew Tridgell http://samba.org/~tridge/ LDB 1.1 06/17/2014 LDBEDIT(1)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy