05-03-2012
when you will use vi,
you should use some special keys in keyboard.
for example
for insert you have to press "i" first.
when you need to change something you have press r
to delete line press d .... keep going like this....
check the below line for more help
vi Editor Commands
This User Gave Thanks to ijustneeda For This Post:
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
Discussion started by: simhab
1 Replies
2. Programming
hi
I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of... (0 Replies)
Discussion started by: nimishm
0 Replies
3. UNIX for Dummies Questions & Answers
This is truly embarrassing but I have to know the answer anyway :p
Can anyone share, how to assign keyboard mapping in hp-ux system? Every time I issue command which contain character "@", it'll go the next line. What I need is how to assign the character "@" to @ as it is supposed to be.
... (2 Replies)
Discussion started by: Olli.Lang
2 Replies
4. Solaris
After Solaris 10 installation I was unable to change keyboard using known commands
kbd -s and eeprom keyboard layoit.
Also modifinig /boot/solaris/bootenv.rc did not helped.
And is possible to replace Solaris keymap with ubuntu keymap because my keyboard
work perfectly under Ubuntu and... (7 Replies)
Discussion started by: microbot
7 Replies
5. Solaris
Hi to everyone
Once again I tried to modify my keyboard , because I am crazy keyborad can not be changed using
kbd-s
eeprom
also I tried to modify /boot/solaris/bootenv.rc
but I tried opensolaris and my keyboard works perfectly
So my question is
Can I transfer settings from... (14 Replies)
Discussion started by: solaris_user
14 Replies
6. Programming
Hi all,
How am I read a file, find the match regular expression and overwrite to the same files.
open DESTINATION_FILE, "<tmptravl.dat" or die "tmptravl.dat";
open NEW_DESTINATION_FILE, ">new_tmptravl.dat" or die "new_tmptravl.dat";
while (<DESTINATION_FILE>)
{
# print... (1 Reply)
Discussion started by: jessy83
1 Replies
7. UNIX for Dummies Questions & Answers
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies
LEARN ABOUT MOJAVE
glutkeyboardupfunc
glutKeyboardUpFunc(3GLUT) GLUT glutKeyboardUpFunc(3GLUT)
NAME
glutKeyboardUpFunc - sets the keyboard up (key release) callback for the current window.
SYNTAX
#include <GLUT/glut.h>
void glutKeyboardUpFunc(void (*func)(unsigned char key,
int x, int y));
ARGUMENTS
func The new keyboard up callback function.
DESCRIPTION
glutKeyboardFunc sets the keyboard up (key release) callback for the current window. When a user types into the window, each key release
matching an ASCII character will generate a keyboard up callback. The key callback parameter is the generated ASCII character. The state of
modifier keys such as Shift cannot be determined directly; their only effect will be on the returned ASCII data. The x and y callback
parameters indicate the mouse location in window relative coordinates when the key was pressed. When a new window is created, no keyboard
callback is initially registered, and ASCII key strokes in the window are ignored. Passing NULL to glutKeyboardFunc disables the generation
of keyboard callbacks.
During a keyboard up callback, glutGetModifiers may be called to determine the state of modifier keys when the keystroke generating the
callback occurred.
To avoid the reporting of key release/press pairs due to auto repeat, use glutIgnoreKeyRepeat to ignore auto repeated keystrokes.
There is no guarantee that the keyboard press callback will match the exact ASCII character as the keyboard up callback. For example, the
key down may be for a lowercase b, but the key release may report an uppercase B if the shift state has changed. The same applies to sym-
bols and control characters. The precise behavior is window system dependent.
Use glutSpecialUpFunc for a means to detect non-ASCII key releases.
SEE ALSO
glutKeyboardFunc, glutSpecialUpFunc, glutSpecialFunc, glutCreateWindow, glutMouseFunc, glutSpaceballButtonFunc, glutButtonBoxFunc, glut-
TabletButtonFunc, glutGetModifiers, glutIgnoreKeyRepeat
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutKeyboardUpFunc(3GLUT)