Sponsored Content
Full Discussion: VI or text editor
Top Forums UNIX for Dummies Questions & Answers VI or text editor Post 10185 by Rado1x on Friday 9th of November 2001 06:05:11 AM
Old 11-09-2001
Depending on your "vi" version, there exist "set ruler" command.


Try to add line :

set ruler


to your ~/.exrc or ~/.vimrc file
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Text editor on Sun OS 3.0

I trying to setup a netranger security box. I don't know unix and went to view a filein the text editor. What is command to exit text editor. I tried esc q and ctrl q. HELP!!! STUCK IN TEXT EDITOR :) (2 Replies)
Discussion started by: malic
2 Replies

2. UNIX for Dummies Questions & Answers

pico text editor

I was wondering if there is any way to get a version of pico for windows. I have done a lot of programming work on Linux/UNIX exvironments for school, and I enjoy using pico for my programming needs, but I find all of the text editors in windows horrible, they distort my code and do not adhere to... (5 Replies)
Discussion started by: popac
5 Replies

3. UNIX for Dummies Questions & Answers

Text editor

I currently use konsole fo rmy terminal use. when i go into vi and type the letter t the stupied thing highlights the letter brown and it messes my thing up. Whereever i type the letter t it highlights in brown. Is there some way to change it. I dont know how this problem start. RH 8 (3 Replies)
Discussion started by: ASpin
3 Replies

4. UNIX for Dummies Questions & Answers

How to load text editor PICO

Hi... I was wondering if anyone has any step by step guide on how to load the UNIX text editor PICO onto the Sun box? Thanks :) (2 Replies)
Discussion started by: atomicsushi
2 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

how to add text after a particular line on vi editor

hi suppose i have file 0f 10 lines. i want to add something after 8 line. may i append it anyhow without opening file. eg. i can appned at last. echo text >> file Thanks (9 Replies)
Discussion started by: manoj_dahiya22
9 Replies

7. Programming

Text editor in C

Hi, I want to create a text editor in C on Unix. Can any1 jus tell me how to start with n wat all I have to look into if I have to write an editor.. Thanks (2 Replies)
Discussion started by: julie_s
2 Replies

8. Windows & DOS: Issues & Discussions

need a good text editor for windows

I am looking to start to code some shell scripts, php, and probably some other web stuff. Free is preferred. I was looking at rocketedit but I would rather just use free open source if possible. On my Mac I love to use TextWrangler, so is there a Windows equivalent? For Vista/Win7 64bit ... (5 Replies)
Discussion started by: tlarkin
5 Replies

9. UNIX for Dummies Questions & Answers

Any better text editor for unix?

Do you know any text editor (other than Gvim, which I am using) which is made specially for c type languages? The reason I ask for it is: I just spent 3 hours trying to find out start "if" and its end "if end".:wall: I hope there is an editor which can link each if with its closing endif . (4 Replies)
Discussion started by: animesharma
4 Replies

10. 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
Gtk2::Ruler(3pm)					User Contributed Perl Documentation					  Gtk2::Ruler(3pm)

NAME
Gtk2::Ruler - wrapper for GtkRuler HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Ruler INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable METHODS
$ruler->draw_pos $ruler->draw_ticks metrictype = $ruler->get_metric $ruler->set_metric ($metric) o $metric (Gtk2::MetricType) (lower, upper, position, max_size) = $ruler->get_range $ruler->set_range ($lower, $upper, $position, $max_size) o $lower (double) o $upper (double) o $position (double) o $max_size (double) PROPERTIES
'lower' (double : default 0 : readable / writable / private) Lower limit of ruler 'max-size' (double : default 0 : readable / writable / private) Maximum size of the ruler 'metric' (Gtk2::MetricType : default "pixels" : readable / writable / private) The metric used for the ruler 'position' (double : default 0 : readable / writable / private) Position of mark on the ruler 'upper' (double : default 0 : readable / writable / private) Upper limit of ruler ENUMS AND FLAGS
enum Gtk2::MetricType o 'pixels' / 'GTK_PIXELS' o 'inches' / 'GTK_INCHES' o 'centimeters' / 'GTK_CENTIMETERS' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Ruler(3pm)
All times are GMT -4. The time now is 11:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy