Sponsored Content
Top Forums Shell Programming and Scripting set EDITOR=vi -> default editor not setting for cron tab Post 92085 by aarora_98 on Wednesday 7th of December 2005 04:39:20 PM
Old 12-07-2005
oops.............. even

$set EDITOR=vi
$export EDITOR

OR

$export EDITOR=vi

is also not working..... I feel sad. :-(

Help Plz......

Aru
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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? (1 Reply)
Discussion started by: Tony Empire
1 Replies

2. AIX

How to set path for the EDITOR variable?

For some reason something has changing in my AIX environment where when I type: ACLEDIT filename ...I get: 3002-104 acledit: EDITOR environment variable must be full pathname I know I need to reset the EDITOR variables path to /usr/bin/vi but I can't remember the syntax anyone? (2 Replies)
Discussion started by: heprox
2 Replies

3. Solaris

where can i set editor option to yes

Hi all I am new to this forum (just registered) I need help from you guys Even if it is a basic question please don't hesitate to answer.Any answer will be helpful to me I am unable to get the previously entered commands by pressing uparrow When i enered uparrow it is giving ^[[A I got... (2 Replies)
Discussion started by: oracle_sri
2 Replies

4. Solaris

cron tab setting

hi guys , i need some help i want to set cron job for every sunday , of each month so any body plz help or this proble :confused: (1 Reply)
Discussion started by: Kbharat20
1 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. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

7. Solaris

How to set VI editor column size on Solaris?

I am setting the size using "stty columns 120" . But I still get the prompt saying "terminal too wide " when I am in vi. is there any time limit for this setting? how to set the column size to 120 permanently? Thanks in advance, Devi (4 Replies)
Discussion started by: pvkdevi
4 Replies

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

9. UNIX for Dummies Questions & Answers

Problem with setting vi as my default editor in ksh

Hi , Below is the content of my .profile $cat .profile # Workstation users: Make changes to your .profile file in your home dir. . /.profile set -o vi PS1=$ But anytime I login I have to source "set -o vi" separately.Please suggest (8 Replies)
Discussion started by: ramesh12621
8 Replies

10. UNIX Desktop Questions & Answers

GNOME Desktop - Setting missing from dconf-editor?

Hello All, Last night I installed OpenSuSE 12.1 (i586) on a HP Mini 110 laptop. And I selected GNOME as my Desktop during install... So I was trying to customize some things about the desktop, for example adding the Maximize/Minimize/Close options to the titlebar of a window. I did this... (2 Replies)
Discussion started by: mrm5102
2 Replies
Config::Pit(3pm)					User Contributed Perl Documentation					  Config::Pit(3pm)

NAME
Config::Pit - Manage settings SYNOPSIS
use Config::Pit; my $config = pit_get("example.com", require => { "username" => "your username on example", "password" => "your password on example" }); # if the fields are not set, open setting by $EDITOR # with YAML-dumped default values (specified at C<require>). # use $config->{username}, $config->{password} DESCRIPTION
Config::Pit is account setting management library. This library automates editing settings used in scripts. Original library is written in Ruby and published as pit gem with management command. You can install it by rubygems: $ sudo gem install pit $ pit set example.com # open setting of example.com with $EDITOR. And Config::Pit provides ppit command which is pit command written in Perl. See: $ ppit help FUNCTIONS
Config::Pit::get(setting_name, opts) Get setting named "setting_name" from current profile. my $config = Config::Pit::get("example.com"); This is same as below: my $config = pit_get("example.com"); opts: require Specify fields you want as key and hint (description or default value) of the field as value. my $config = pit_get("example.com", require => { "username" => "your username on example.com", "password" => "your password on example.com" }); "require" specified, module check the required fields all exist in setting. If not exist, open the setting by $EDITOR with merged setting with current setting. Config::Pit::set(setting_name, opts) Set setting named "setting_name" to current profile. Config::Pit::set("example.com"); #=> will open setting with $EDITOR opts: data Config::Pit::set("example.com", data => { username => "foobar", password => "barbaz", }); When "data" specified, will not open $EDITOR and set the data directly. config Config::Pit::set("example.com", config => { username => "config description or default value", password => "same as above", }); Open $EDITOR with merged setting with specified config. Config::Pit::switch(profile_name); Switch profile to "profile_name". Profile is setting set: $ pit get foobar # foo bar... $ pit switch devel Switch profile to devel $ pit get foobar # bar baz $ pit switch Switch profile to default $ pit get foobar # foo bar... AUTHOR
cho45 <cho45@lowreal.net> LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
<http://lowreal.rubyforge.org/pit/> is pit in Ruby. bin/ppit is pit command in Perl. perl v5.10.1 2010-01-14 Config::Pit(3pm)
All times are GMT -4. The time now is 02:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy