Sponsored Content
Full Discussion: pico vs vim
Top Forums UNIX for Dummies Questions & Answers pico vs vim Post 302343062 by Corona688 on Tuesday 11th of August 2009 12:00:58 PM
Old 08-11-2009
But its interface...

vi's a reliable last resort, but computing has moved on. The keyboard its interface was shoehorned to fit longer exists, its modern replacement does support hotkeys, and the "glass teletype" has eliminated the need to rubout characters.
Quote:
Originally Posted by Blackacid
I don't think I've ever been on a unix box that didn't have vi installed.
That would be mine. The only time I've needed to use vi was on an embedded system.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how do i install Pico onto a unix system?

I was just wondering how to install Pioc onto FreeBSD? could someone help mee? (1 Reply)
Discussion started by: Swifty
1 Replies

2. UNIX for Dummies Questions & Answers

Setting up pine(pico)

I'm trying to setup the pico editor, which comes with pine. But I am not sure how to activate pine. I'm using the newest stable version of openbsd. If someone could tell me what file to execute, or, if not 'onboard' the package, where to get it. I would be much obliged. Req (1 Reply)
Discussion started by: Requeth
1 Replies

3. UNIX for Dummies Questions & Answers

vi and pico

hello iam so new to unix / apache what is the dif between VI and PICO where can i get hands on training with both in Los Angeles any ideas would be helpfull. thanx whothought (5 Replies)
Discussion started by: whothought
5 Replies

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

5. UNIX for Dummies Questions & Answers

question about pico?

Quick question for all of you Unix gurus. What are your thoughts on Pico as an editor. I have been using this editor for the last week or so and have made a lot of headway with my script writing. However, I find a lot of the quirks associated with this editor to be quite annoying. For instance,... (1 Reply)
Discussion started by: wmosley2
1 Replies

6. UNIX for Dummies Questions & Answers

Pico?

Is pico editor not availible on all versions of Unix? I do have vi and emacs, but pico just give me a response of "not found". (4 Replies)
Discussion started by: dereckbc
4 Replies

7. UNIX for Dummies Questions & Answers

Can't run emacs, pico..

Hello, I cannot run emacs or pico from my Sun OS command shell. My account does not have a .cshrc file also. When I tried to make a text file and copied it to my account by the name .cshrc, the source commands I place in it do not work. Can anybody tell me how can I solve this? Any help... (8 Replies)
Discussion started by: aryajur
8 Replies

8. UNIX for Dummies Questions & Answers

Lost pico editor

I del a lot of files,after that I can't find pico. I have to use vi. However, I like pico. Can should I do ? (4 Replies)
Discussion started by: zhshqzyc
4 Replies

9. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

10. UNIX for Dummies Questions & Answers

Ed vs pico

Hello! Please, can someone make me clear the difference betveen and interactive and non-interactive test editor? (is not each editor somehow "interactive"???) Many thanks!!! (0 Replies)
Discussion started by: pinklemon
0 Replies
XtSetKeyboardFocus()													      XtSetKeyboardFocus()

Name
  XtSetKeyboardFocus - redirect keyboard input to a widget.

Synopsis
  void XtSetKeyboardFocus(subtree descendant)
	 Widget subtree, descendant;

Inputs
  subtree   Specifies  the  widget to be considered the root of the subtree for which the keyboard focus is to be set.	Must be of class Core
	    or any subclass thereof.

  descendant
	    Specifies a normal (non-popup) descendant of subtree to which keyboard events are to be redirected, or None.   May	be  of	class
	    Object or any subclass thereof.

Description
  XtSetKeyboardFocus() causes XtDispatchEvent() to remap keyboard events that occur within the widget hierarchy rooted at subtree and to dis-
  patch them to descendant.  If descendant is not a subclass of Core, it is replaced by its closest  windowed  ancestor.   If  descendant  is
  None, keyboard events within subtree will be dispatched normally.

  When subtree or one of its descendants acquires the X keyboard focus, or the pointer moves into the subtree such that keyboard events would
  now be delivered to subtree, a FocusIn event is generated for descendant if FocusChange events have been  selected  by  descendant.	Simi-
  larly, when subtree loses the X keyboard focus or the keyboard focus for one of its ancestors, a FocusOut event is generated for descendant
  if FocusChange events have been selected by descendant.

  For more details on how events are dispatched after a call to XtSetKeyboardFocus(), see XtDispatchEvent().

Usage
  XtSetKeyboardFocus() does not call the Xlib function XSetInputFocus(); it simply causes the Intrinsics to dispatch events differently.  For
  most applications, this approach is preferred over the more heavy-handed Xlib function.

Example
  If  a  dialog  box  contains a Label widget, some Button widgets, and a single Text widget for input, it is good style to allow the user to
  enter text into the dialog when the mouse is anywhere over the dialog, not only when the mouse is over the Text widget itself.  This can be
  arranged with code like the following:

     Widget shell, box, text, prompt, ok_button, cancel_button;

     XtPopup(shell, XtGrabExclusive);
     XtSetKeyboardFocus(box, text);

  After  this  call  to  XtSetKeyboardFocus(), whenever the dialog box gets the X input focus (for example, when the mouse moves into it) all
  keyboard events will be redirected at the text widget.

See Also
  XtAddGrab(1), XtDispatchEvent(1).

Xt - Keyboard Handling													      XtSetKeyboardFocus()
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy