04-10-2006
Threads merged. Please read the rules and do NOT cross-post.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
in unix when i use top
i get an output like this:
load averages: 0.64, 0.57, 0.53 14:04:42
347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped
CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
2. UNIX for Dummies Questions & Answers
Hellp all,
if there is 3G memory in my Unix server I want to know if all the 3G space can be used by ong sigle process. As i know, in Windows, one process can only access at most 1G memory despite there is probably more than 1G memory is equipped. (1 Reply)
Discussion started by: cy163
1 Replies
3. Shell Programming and Scripting
I need to pass an empty space in the command ="java ......... "
as one of the arguments where java calls some java command....
(It accepts it in windows as " ")
Thanks in advance
SD (2 Replies)
Discussion started by: shweta_d
2 Replies
4. UNIX for Advanced & Expert Users
Hi All
Can any body help me out.
Amoung tar and gzip whiich unix command is more practical with respect to space management and file restoration.
Eg if I use tar or gzip which will be more helpful to reduce the space and during the file restoration.
Please help me out.
regards... (3 Replies)
Discussion started by: manas6
3 Replies
5. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
6. Shell Programming and Scripting
Hi
I need help on this. Its very urgent for me.. please try to help me out..
I have data in tables in DB2 database. I would like to export the data from DB2 tables into a text file, which has to be space delimited. so that I can carry out awk, grep operations on that file. I tried to export... (2 Replies)
Discussion started by: ss3944
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. Shell Programming and Scripting
Hi,
executing below command for export in cygwin, though I have already mentioned the username and password with the command but on execution it again asks for username, what modification is needed in the below command ? may be there is some problem in using inverted comma ?
exp... (1 Reply)
Discussion started by: milink
1 Replies
9. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
10. Shell Programming and Scripting
It would be great if you tell me how to check the ram memory size in unix machine
RAM memory size check (10 Replies)
Discussion started by: arun888
10 Replies
LEARN ABOUT DEBIAN
crosshair
crosshair(3tk) Crosshairs crosshair(3tk)
__________________________________________________________________________________________________________________________________________________
NAME
crosshair - Crosshairs for Tk canvas
SYNOPSIS
package require Tcl ?8.4?
package require Tk ?8.4?
package require crosshair ?1.0.2?
crosshair::crosshair w ?arg...?
crosshair::off w
crosshair::configure w ?arg...?
crosshair::track on w cmdprefix
crosshair::track off w
_________________________________________________________________
DESCRIPTION
The crosshair package provides commands to (de)activate and track crosshairs on canvas widgets.
API
The following commands are exported to the public:
crosshair::crosshair w ?arg...?
This command activates the display of a pair of cross-hairs for the canvas widget w. The cross-hairs track the pointing device. The
result of the command is the empty string.
All arguments after the widget w are treated as options as for a canvas line item in w. Of particular interest are -fill and -dash.
crosshair::off w
This command removes the cross-hairs from the canvas widget w. Nothing is done if the widget had no cross-hairs. The result of the
command is the empty string.
crosshair::configure w ?arg...?
This command changes the appearance of the cross-hairs in the canvas widget w. It is an error to call it for a canvas which has no
cross-hairs.
All arguments after the widget w are treated as options as for a canvas line item in w. Of particular interest are -fill and -dash.
The result of the command are the current configuration settings.
crosshair::track on w cmdprefix
This command activates reporting of the location of the cross-hairs in the canvas widget w. It is an error to use this command for a
canvas which has no cross-hairs. The result of the command is the empty string.
After the invokation of this command the specified command prefix cmdprefix will be called whenever the mouse moves within the can-
vas, with 7 arguments. These are, in order:
[1] The widget w
[2] The x-location of the cross-hairs, in pixels.
[3] The y-location of the cross-hairs, in pixels.
[4] The x-location of the top-left corner of the viewport, in pixels.
[5] The y-location of the top-left corner of the viewport, in pixels.
[6] The x-location of the bottom-right corner of the viewport, in pixels.
[7] The y-location of the bottom-right corner of the viewport, in pixels.
A previously existing callback for w will be disabled. I.e. per canvas widget with cross-hairs only one callback reporting their
location is possible.
crosshair::track off w
This command disables the reporting of the location of the cross-hairs in the canvas widget w. It is an error to use this command
for a canvas which has no cross-hairs. The result of the command is the empty string.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tklib ::
crosshair of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you
may have for either package and/or documentation.
KEYWORDS
canvas, cross-hairs, location, tracking, viewport
COPYRIGHT
Copyright (c) 2003 Kevin Kenny
Copyright (c) 2008 (docs) Andreas Kupries <andreas_kupries@users.sourceforge.net>
crosshair 1.0.2 crosshair(3tk)