Sponsored Content
Top Forums Shell Programming and Scripting Difference between .vimrc and .exrc? Post 302780767 by adisky123 on Friday 15th of March 2013 05:13:03 AM
Old 03-15-2013
Difference between .vimrc and .exrc?

What is the difference between .vimrc and .exrc? I google it but didn't find the brief explanation?

Regards
ADI
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

VIMRC question ????

Hi There, :) I Need to put the following command in the vimrc for the execution of ECLIPSE so I have written smthing like as follows, export PATH=$PATH:/JVM location after this i go to my eclipse folder and when I execute STILL it is not getting opened..... Any Help that makes my... (6 Replies)
Discussion started by: gk_linux
6 Replies

2. UNIX for Dummies Questions & Answers

.exrc is not working

Hi I want to customise my vi environment.So i have created a a .exrc file in my working directory and written all set commands.But when i am invoking vi ,it is not taking any effect of the vi. Can anybody have any idea what is happening Thanks in advance Regds Sas (12 Replies)
Discussion started by: SasDutta
12 Replies

3. Shell Programming and Scripting

URGENT : vi doesn't read my .exrc

I have created some custom commands (using the map macro feature) and have those map commands in my $HOME/.exrc file (I am using bash) Here are the commands, which I have in my $HOME/.exrc map! F /user\.base\.scope^V^Mk4ddF map! L /user\.base\.search^V^Mk4ddL map! V... (1 Reply)
Discussion started by: inditopgun
1 Replies

4. Solaris

editing crontab with vim and using .vimrc

Hi since we migrated from Solaris 8 to Solaris 10 I do miss a nice feature when editing crontab with vim editor: no more color highlighting after starting to edit. Well there is a hack, see below. I did define: export EDITOR='vim -c ":source /export/home/duc904/.vimrc"' Under Sol8 when... (2 Replies)
Discussion started by: duc904
2 Replies

5. UNIX for Advanced & Expert Users

vimrc help with line endings

I was reading this and thought I could put this in my vimrc and it would convert the line endings to unix. Am I doing something wrong or am I missing something? set ff=unixManaging/Munging Line-Endings with Vi/Vim | Jeet Sukumaran I used this command and it confirms that my global option is... (2 Replies)
Discussion started by: cokedude
2 Replies

6. Shell Programming and Scripting

Creating bashrc and vimrc using scripting

I am trying to write a bash script that will create a .bashrc and .vimrc. I was wondering if anyone would know how to do approach this. Would this work if there was no .bashrc file minus the "stuff" echo "stuff" >> .bashrc (5 Replies)
Discussion started by: meredith1990
5 Replies

7. UNIX for Advanced & Expert Users

Vimrc creating tabs instead of spaces

I'm having trouble getting my vimrc to work the way I want it. For some reason after I hit enter it is creating tabs instead of spaces like I would expect. Here is an example of what I am talking about. $ = newline, ^I = tab. On the line of struct EDGETAG* q; I hit enter and it created a tab... (2 Replies)
Discussion started by: cokedude
2 Replies

8. Shell Programming and Scripting

Double quote in vimrc not take as comment

Hi, 1. I'm using tcsh and I use a .gvimrc file which was working fine with my previous ksh shell. But while sourcing, I'm getting messages like 'Unmatched " '. I'm not trying anything fancy but just using " for commenting in the very first line and I see the error is thrown right there. 2.... (2 Replies)
Discussion started by: rishikpillai90
2 Replies

9. UNIX for Beginners Questions & Answers

Exrc file problem

My exrc file contents are set number set -o vi map Q :q! ab inc include set number and set -o vi is working but map and ab is not working can u help me ?? Please use CODE tags as required by forum rules! (1 Reply)
Discussion started by: varun aravinth
1 Replies

10. AIX

Is there virc or exrc for saving vi configuration settings in AIX?

There's no Vim in AIX (6 and 7), but Vi is natively available. I want to save my configuration for Vi like `set nu` to number lines in files. I couldn't find configuration related to Vi in /etc/ or /usr/etc/ folders. Please help me with that. (4 Replies)
Discussion started by: Chinggis6
4 Replies
HTML::Display(3pm)					User Contributed Perl Documentation					HTML::Display(3pm)

NAME
HTML::Display - display HTML locally in a browser SYNOPSIS
use strict; use HTML::Display; # guess the best value from $ENV{PERL_HTML_DISPLAY_CLASS} # or $ENV{PERL_HTML_DISPLAY_COMMAND} # or the operating system, in that order my $browser = HTML::Display->new(); warn "# Displaying HTML using " . ref $browser; my $location = "http://www.google.com/"; $browser->display(html => $html, location => $location); # Or, for a one-off job : display("<html><body><h1>Hello world!</h1></body></html>"); DESCRIPTION
This module abstracts the task of displaying HTML to the user. The displaying is done by launching a browser and navigating it to either a temporary file with the HTML stored in it, or, if possible, by pushing the HTML directly into the browser window. The module tries to automagically select the "correct" browser, but if it dosen't find a good browser, you can modify the behaviour by setting some environment variables : PERL_HTML_DISPLAY_CLASS If HTML::Display already provides a class for the browser you want to use, setting "PERL_HTML_DISPLAY_CLASS" to the name of the class will make HTML::Display use that class instead of what it detects. PERL_HTML_DISPLAY_COMMAND If there is no specialized class yet, but your browser can be controlled via the command line, then setting "PERL_HTML_DISPLAY_COMMAND" to the string to navigate to the URL will make HTML::Display use a "system()" call to the string. A %s in the value will be replaced with the name of the temporary file containing the HTML to display. %HTML::Display::os_default The hash %HTML::Display::os_default contains pairs of class names for the different operating systems and routines that test whether this script is currently running under it. If you you want to dynamically add a new class or replace a class (or the rule), modify %os_default : # Install class for MagicOS $HTML::Display::os_default{"HTML::Display::MagicOS"} = sub { $^O =~ qr/magic/i }; __PACKAGE__->new %ARGS $browser->display( %ARGS ) Will display the HTML. The following arguments are valid : base => Base to which all relative links will be resolved html => Scalar containing the HTML to be displayed file => Scalar containing the name of the file to be displayed This file will possibly be copied into a temporary file! location (synonymous to base) If only one argument is passed, then it is taken as if html => $_[0] was passed. EXPORTS
The subroutine "display" is exported by default COMMAND LINE USAGE
Display some HTML to the user : perl -MHTML::Display -e "display '<html><body><h1>Hello world</body></html>'" Display a web page to the user : perl -MLWP::Simple -MHTML::Display -e "display get 'http://www.google.com'" Display the same page with the images also working : perl -MLWP::Simple -MHTML::Display -e "display html => get('http://www.google.com'), location => 'http://www.google.com'" AUTHOR
Copyright (c) 2004-2007 Max Maischein "<corion@cpan.org>" LICENSE
This module is released under the same terms as Perl itself. perl v5.10.1 2007-10-20 HTML::Display(3pm)
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy