Sponsored Content
Full Discussion: Vi editor code
Top Forums Programming Vi editor code Post 11641 by bhaskar_a on Monday 10th of December 2001 06:04:41 AM
Old 12-10-2001
Network Vi editor code

Does any one have the code to create a shell scrpit for making a VI editor ?
mouse trapping of menus is also required...Smilie
Regards,
Bhaskar.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Vi Editor

I'm doing a teaching ass't for a basic unix course for a local college and we have given the new students an assignment where they have to code 10 pages of html by hand using the Vi Editor (i know it's cruel) The purpose of this exersize is to get them used to unix and vi commands and how the... (4 Replies)
Discussion started by: juxtaman
4 Replies

2. UNIX for Dummies Questions & Answers

Need vi editor help

Is it possibly to bring up the vi editor in the insert mode. i.e. maybe vi /i filename or something. Can anyone help. Thanks (1 Reply)
Discussion started by: ejaggers
1 Replies

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

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

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

6. UNIX for Dummies Questions & Answers

ED editor

Hi folks I wanted help with writing a ED editor script that automatically runs files i saved in my directory /home/MyFiles/firstBorn. Any helping ideas... ? thanx Lakerfan (2 Replies)
Discussion started by: Lakerfan
2 Replies

7. UNIX for Dummies Questions & Answers

Vi Editor

I have recently installed ubuntu 11.10 version in my laptop. Please tell me how to use the vi editor. Because the vi editor in ubuntu is totally different from the vi editor we have in Mandriva or Sabayon. Why am i not able to use backspace or the cursor movement keys(up, down, left, right)... (6 Replies)
Discussion started by: Sudip_Felipemas
6 Replies

8. Shell Programming and Scripting

Vi Editor

Hi , I would like to delete all lines after 40th line in vi editor . Please let me know what command I can use for it? Also how to replace one word with another in the middle of 5th line? Thanks (2 Replies)
Discussion started by: manish_1678
2 Replies

9. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies
install_mouse(3alleg4)						  Allegro manual					    install_mouse(3alleg4)

NAME
install_mouse - Installs the Allegro mouse handler. SYNOPSIS
#include <allegro.h> int install_mouse(); DESCRIPTION
Installs the Allegro mouse handler. You must do this before using any other mouse functions. RETURN VALUE
Returns -1 on failure, zero if the mouse handler is already installed (in which case this function does nothing) and the number of buttons on the mouse if the mouse handler has successfully been installed (ie. this is the first time a handler is installed or you have removed the previous one). Note that the number of mouse buttons returned by this function is more an indication than a physical reality. With most devices there is no way of telling how many buttons there are, and any user can override the number of mouse buttons returned by this function with a custom configuration file and the variable num_buttons. Even if this value is overridden by the user, the global mouse variables will still report whatever the hardware is sending. SEE ALSO
remove_mouse(3alleg4), poll_mouse(3alleg4), mouse_x(3alleg4), show_mouse(3alleg4), get_mouse_mickeys(3alleg4), position_mouse(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4) Allegro version 4.4.2 install_mouse(3alleg4)
All times are GMT -4. The time now is 09:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy