Sponsored Content
Full Discussion: vi editor
Top Forums UNIX for Dummies Questions & Answers vi editor Post 11474 by sskb on Wednesday 5th of December 2001 10:06:35 PM
Old 12-05-2001
Thank you Wizard.
This is just what i was looking for.
I got it!
Smilie Smilie
sskb
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Vi editor ?

Hello everybody, My question is: how to add /tmp/work at the end of line in vi editor. my file looks like: cp file1 cp file2 cp file3 **** I need to add " /tmp/work" at the end of each line. I tried this :%s/$/" /tmp/work" and this :%s/$/\ /tmp/work\/ but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies

2. HP-UX

instead VI editor - which one?

I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one? thx (6 Replies)
Discussion started by: diamond
6 Replies

3. UNIX for Advanced & Expert Users

vi editor

Hi, how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before. for exemple if in my file i have line 1 line 2 I want to have : start line 1 end start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies

4. HP-UX

vi editor

I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work. how can I enable them. thanks (3 Replies)
Discussion started by: hkoolivand
3 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. 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

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

8. Shell Programming and Scripting

About vi editor

How can ` character be printed on vi editor ? empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies

9. Shell Programming and Scripting

Not able to use @ in VI editor

Hello All, Need one Help for one issue. I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it. It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies

10. Open Source

What editor does everyone use?

I was looking through the topics and I wasn't sure if this was the best place to post this question: I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful.... (409 Replies)
Discussion started by: yongho
409 Replies
Config::Model::TkUI(3pm)				User Contributed Perl Documentation				  Config::Model::TkUI(3pm)

NAME
Config::Model::TkUI - Tk GUI to edit config data through Config::Model SYNOPSIS
use Config::Model::TkUI; # init trace Log::Log4perl->easy_init($WARN); # create configuration instance my $model = Config::Model -> new ; my $inst = $model->instance (root_class_name => 'a_config_class', instance_name => 'test'); my $root = $inst -> config_root ; # Tk part my $mw = MainWindow-> new ; $mw->withdraw ; $mw->ConfigModelUI (-root => $root) ; MainLoop ; DESCRIPTION
This class provides a GUI for Config::Model. With this class, Config::Model and an actual configuration model (like Config::Model::Xorg), you get a tool to edit configuration files (e.g. "/etc/X11/xorg.conf"). Be default, only items with "beginner" experience are shown. You can change the "experience" level in "Options -> experience" menu. USAGE
Left side tree o Click on '+' and '-' boxes to open or close content o Left-click on item to open a viewer widget. o Right-click on any item to open an editor widget o Use Ctrl-C to copy configuration data in an internal buffer o Use Ctrl-V to copy configuration data from the internal buffer to the configuration tree. Beware, there's no "undo" operation. o Before saving your modifications, you can review the change list with the menu entry "File -> show unsaved changes". This list is cleared after performing a "File -> save". o Pasting cut buffer into: o a leaf element will store the content of the buffer into the element. o a list element will split the content of the buffer with / / or /,/ and push the resulting array at the end of the list element. o a hash element will use the content of the cut buffer to create a new key in the hash element. Search Hit "Ctrl-F" or use menu "Edit -> Search" to open a search widget at the bottom of the window. Enter a keyword in the entry widget and click on "Next" button. The keyword will be searched in the configuration tree, in element name, in element value and in documentation. Editor widget The right side of the widget is either a viewer or an editor. When clicking on store in the editor, the new data is stored in the tree represented on the left side of TkUI. The new data will be stored in the configuration file only when "File-"save> menu is invoked. Wizard A wizard can be launched either with "File -> Wizard" menu entry or with "Run Wizard" button. The wizard will scan the configuration tree and stop on all items flagged as important in the model. It will also stop on all erroneous items (mostly missing mandatory values). TODO
- add tabular view ? - expand the whole tree at once - add plug-in mechanism so that dedicated widget can be used for some config Class (Could be handy for Xorg::ServerLayout) AUTHOR
Dominique Dumont, (ddumont at cpan dot org) More information o See Config::Model home page <https://github.com/dod38fr/config-model/wiki> o Or Author's blog <http://ddumont.wordpress.com> where you can find many post about Config::Model. o Send a mail to Config::Model user mailing list: config-model-users at lists.sourceforge.net LICENSE
Copyright (c) 2008-2012 Dominique Dumont. This file is part of Config-Model. Config-Model is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. Config-Model is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Config-Model; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA FEEDBACK and HELP wanted This project needs feedback from its users. Please send your feedbacks, comments and ideas to : config-mode-users at lists.sourceforge.net This projects also needs help to improve its user interfaces: o Look and feel of Perl/Tk interface can be improved o A nicer logo (maybe a penguin with a wrench...) would be welcomed o Config::Model could use a web interface o May be also an interface based on Gtk or Wx for better integration in Desktop If you want to help, please send a mail to: config-mode-devel at lists.sourceforge.net SEE ALSO
o Config::Model o http://config-model.wiki.sourceforge.net/ o Config::Model mailing lists on http://sourceforge.net/mail/?group_id=155650 perl v5.14.2 2012-09-19 Config::Model::TkUI(3pm)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy