Sponsored Content
Full Discussion: vi alternative
Operating Systems Solaris vi alternative Post 302549175 by orange47 on Monday 22nd of August 2011 05:23:29 AM
Old 08-22-2011
I found a solution for ubuntu/debian:
cp /etc/vim/vimrc ~/.vimrc

(doesn't require vim install) however, there is no such file in Solaris.

about nano, yes I have used it (seems to be crontab default in debian) and like it very much. but when I went to sunfreeware.com, it listed a lot of dependencies. I'd like to avoid installing anything on a server, to minimize resource usage.

is there any other way to get arrow keys working in vi edit mode?
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

getopts alternative?

I have to implement switches (options) like this in my script. ./myscript -help ./myscript -dir /home/krish -all ./myscript -all getopts allows switches to have one character (like a, b, etc.). How can I customize it for handling the above situation? Or, is there any alternative to... (3 Replies)
Discussion started by: krishmaths
3 Replies

2. Shell Programming and Scripting

help with while loop or any other alternative?

i=1 while do mm=02 dd=03 yy=2008 echo "$mm$dd$yy" i=$(( i+1)) echo "$i" done whenever i execute the script above i will get the error below: syntax error at line 30: `i=$' unexpected (3 Replies)
Discussion started by: filthymonk
3 Replies

3. Shell Programming and Scripting

du alternative in perl

I have a perl script that just does a `du -sk -x` and formats it to look groovy ( the argument can be a directory but usually is like /usr/local/* ) #!/usr/bin/perl use strict; use warnings; my $sizes = `du -x -sk @ARGV | sort -n`; my $total = 0; print "MegaBytes Name\n"; for(split... (1 Reply)
Discussion started by: insania
1 Replies

4. HP-UX

alternative for egrep -o on HP-UX

Hello to all board members!! I have a problem on a HP-UX system. I should write a script. Therefore I need to search after IP addresses in the output of a command. On Debian this works: ifconfig | egrep -o "{1,3}\.{1,3}\.{1,3}\.{1,3}" The script where i need this is not ifconfig, but... (2 Replies)
Discussion started by: vostro
2 Replies

5. Shell Programming and Scripting

Alternative for ikecert

Hi Folks... Is there an alternative for ikecert(SunOS) - man info - "manipulates the machine's on-filesystem public-key certificate databases" in linux? Can we use pkcs7, pkcs8 or something like that?... I also came across ssh-keygen and ssh-keygen2... My best guess is to use ssh-certtool... (0 Replies)
Discussion started by: ahamed101
0 Replies

6. Shell Programming and Scripting

Alternative for wc -l

Hi techies .. This is my first posting hr .. Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db I have used wc -l to confirm whether the loader... (14 Replies)
Discussion started by: rajesh_2383
14 Replies

7. Solaris

Alternative to sshfs?

I have an automated testing script that relies on the dev box being able to see production's (NFS) share. It uses rsync and ssh to handle transfers and command execution; however, it also needs the production share mounted in order to run Perl code against it when Unix commands via ssh will not do.... (2 Replies)
Discussion started by: effigy
2 Replies

8. Shell Programming and Scripting

Looking for an alternative to Tcl

I've created quite a collection of tcl scripts which have buttons, radio buttons, check boxes, text fields, etc. These tcl scripts in turn call and execute several hundred sh, csh, bash, perl scripts and pass in the args based on the gui selections on the same and other redhat machines. We're... (4 Replies)
Discussion started by: scottwevans
4 Replies
vim-addon-manager(1)					      General Commands Manual					      vim-addon-manager(1)

   ["NAME"]
       vim-addon-manager - command line manager of Vim add-ons

   ["SYNOPSIS"]
       vim-addons [OPTION ...] [COMMAND [ADDON ...]]

   ["DESCRIPTION"]
       Manage Vim addons installed system-wide, enabling on a per-user basis their installation, removal, ...

       vim-addons  is  capable	of  managing  all Vim addons registered in the system-wide registry of Vim addons (see vim-registry(5)). Each sys-
       tem-wide addon can be, with respect to a user Vim configuration, in one of the following states:

       ["installed"]
	      all of the files composing the addon are installed (i.e. symlinked) to their respective places under the target directory. The addon
	      is fully functional for the current user

       ["removed"]
	      the  files  composing the addon are not installed under the target directory.  The addon might still be working for the current user
	      if it is installed system-wide by the local administrator

       ["disabled"]
	      the files composing the addon are not installed under the target directory, but the addon is  installed  system-wide.  However,  the
	      addon has been disabled for the current user explicitly via some configuration line in plugin/vim-addons.vim under the target direc-
	      tory. The addon is not working for the current user

       ["broken"]
	      only some of the files composing the addon are installed under the target directory. The addon is probably not working for the  cur-
	      rent user

       ["unavailable"]
	      some (or all) of the files composing the addon are missing from the source directory

   ["COMMANDS"]
       A  number  of  commands	can  be  given to vim-addons to inspect or alter the status of the addons: list, status, install, remove, disable,
       amend, files, show.

       A description of the semantics of each command is reported below.

       ["list"]
	      list, one per line, the names of the addons available in the system (i.e. of all the addons mentioned in the registry, not necessar-
	      ily of all enabled addons)

       ["status"]
	      show,  one  per  line,  the status of the addons available in the system. If one or more addon arguments are specified only show the
	      status of those addons.  This is the default command if nothing is specified.

       ["install"]
	      install one or more addons under the target directory. Requires at least one addon argument

       ["remove"]
	      remove one or more addons from the target directory. Requires at least one addon argument

       ["disable"]
	      disable one or more addons to be used by the current user. Usually used for addons which are system-wide enabled by the local admin-
	      istrator	but  that  the	current  user  does not want to be used. Using this command will automatically change the content of plug-
	      in/vim-addons.vim under the target directory, probably adding ":let" commands which will inhibit the given addon	from  being  used.
	      Requires at least one addon argument

       ["enable"]
	      undo the effects of a previous disable command. Requires at least one addon argument

       ["files"]
	      list,  one  per  line, the files composing the specified addons. Files are listed relative to components of the Vim runtimepath (see
	      'runtimepath' in the Vim help). Requires at least one addon argument

       ["show"]
	      displays detailed information about the specified addons

   ["OPTIONS"]
       All commands accept the following options:

       ["-h, --help"]
	      show this usage message and exit

       ["-q, --query"]
	      be quiet and make the output more parseable (for "status")

       ["-r, --registry-dir"]
	      set the registry directory (default: /usr/share/vim/registry)

       ["-s, --source-dir"]
	      set the addons source directory (default: /usr/share/vim/addons)

       ["-t, --target-dir"]
	      set the addons target directory (default: $HOME/.vim)

       ["-v, --verbose"]
	      increase verbosity level

       ["-z, --silent"]
	      silent mode: supress most of the output

       ["-y, --system-dir"]
	      set the system-wide target directory (default: /var/lib/vim/addons)

       ["-w, --system-wide"]
	      set the addons target directory to the system-wide target directory, possibly overriding the -t option

   ["AUTHOR"]
       Stefano Zacchiroli <zack@debian.org> James Vega <jamessan@debian.org>

   ["SEE ALSO"]
       vim(1), vim-registry(5)

   ["COPYRIGHT"]
       Copyright (C) 2007 Stefano Zacchiroli Copyright (C) 2009 James Vega

       This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as pub-
       lished by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

								   October 2012 					      vim-addon-manager(1)
All times are GMT -4. The time now is 08:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy