Sponsored Content
Full Discussion: Core Utility Source Code
Top Forums UNIX for Advanced & Expert Users Core Utility Source Code Post 302333344 by jim mcnamara on Sunday 12th of July 2009 05:59:33 PM
Old 07-12-2009
GNU source, requires gcc:
Coreutils - GNU core utilities

you probably want the fileutils subset.
 

9 More Discussions You Might Find Interesting

1. Programming

multiple source code

Is there any site that has the source code for just about all the apps that usually come default installed on most *nix systems (su, grep, find, etc...). Im average at c/c++ programming and feal like taking on a new challenge, understanding the source of well know apps. (2 Replies)
Discussion started by: minion
2 Replies

2. UNIX for Dummies Questions & Answers

Where can I review the source code?

A very n00b question: After compiling and installing software, where does the original source code reside? I'd like to study the source code of some of the ports I've installed. Thanks! :D (1 Reply)
Discussion started by: Aaron Van
1 Replies

3. Shell Programming and Scripting

source code for a shell

if somebody can help me pls. i need the source code for a shell which compiles C or java programs in unix i need a very short and simple one, just the compiling part Respect (2 Replies)
Discussion started by: zlatan005
2 Replies

4. Shell Programming and Scripting

Linux source code

Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies

5. UNIX for Dummies Questions & Answers

Where can i get unix source code?

Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies

6. Programming

Core dump error in code

HI, I am getting run time error when am trying to compile the following coe can any one please help me while (fgets(strLine, MAX_LINELEN, vobjFile) != NULL && feof(vobjFile) == 0) { printf("this is the first loop\n"); while (strcmp(strLine, "BEGINTRANS\n") !=... (5 Replies)
Discussion started by: uday.sena.m
5 Replies

7. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

8. Linux

Source code

I need the source code of fedora. plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies

9. UNIX for Dummies Questions & Answers

Source code

hii... i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
XtInstallAllAccelerators()												XtInstallAllAccelerators()

Name
  XtInstallAllAccelerators - install all accelerators from a widget and its descendants onto a destination widget.

Synopsis
  void XtInstallAllAccelerators(destination, source)
	 Widget destination;
	 Widget source;

Inputs
  destination
	    Specifies the widget in which events specified in the accelerator tables will be detected.	Must be of class Core or any subclass
	    thereof.

  source    Specifies the root widget of the widget tree from which the actions of any descendant widget can be invoked when events occur  in
	    destination.  Must be of class Core or any subclass thereof.

Description
  XtInstallAllAccelerators()  is  a  convenience function for installing all accelerators from a widget and all its descendants onto a single
  destination widget.  It recursively traverses the widget tree rooted at source and installs the accelerator resource values of each  widget
  onto destination.  It also calls the display_accelerator() method of each widget in the source tree that has one.

Usage
  A  common use for XtInstallAllAccelerators() is to install the accelerators for all the buttons of a menu or an entire menu bar onto a sin-
  gle destination widget.  The XtNaccelerator resource of each button would be specified when the button was created or would come  from  the
  resource database, and the single call to XtInstallAllAccelerators() would make all those accelerators available in a widget.

  Note	that  if you want to provide keyboard shortcuts for a menu system from within two different text widgets, you will have to call XtIn-
  stallAllAccelerators() twice.

  Also note that if a widget is not interested in events of a certain type, then those events will propagate up the widget hierarchy  to  the
  first  ancestor  widget that is interested.  If your interface contains a composite widget that contains only button and other widgets that
  are not interested in keyboard input, then you can install a set of keyboard accelerators on the composite widget, and they will be invoked
  when keyboard events occur anywhere within that widget.

See Also
  XtInstallAccelerators(1),
  display_accelerator(4).

Xt - Translations and Actions												XtInstallAllAccelerators()
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy