Hi,
My script prints a few varibales as each it reads each line of a text file and then prints them on screen, however iam having problem in aligning and sorting them.
what happens is this
Last First Number
Mark leo 87798798... (1 Reply)
Hi, I have a small question about the value cannot display correctly:
MSG=log
fruit=apple
print "No $fruit in the store" > "$MSG/fruit_message.txt"
output: No $fruit in the store
should be: No apple in the store
AND
$MSG/fruit_message.txt ----------> cannot find the... (5 Replies)
Setup:
Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh.
Wanted:
How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what... (8 Replies)
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Hi Gurus,
I've the following output from my scripting as shown below.
0.48 GB 0.29 GB 0.19 GB 60%
0.48 GB 0.29 GB 0.19 GB 60%
228.90 GB 89.47 GB 139.42 GB 39%
228.76 GB 72.37 GB 156.39 GB 31%
Is it possible to format this output into a proper... (16 Replies)
Hi Gurus,
This is my raw data. How would I able to format this output into a better alignment?
/dev/vg00/lvol5 /home 0.12 GB 0.02 GB 0.10 GB 19%
/dev/vg00/misc /misc 28.43 GB 4.92 GB 23.51 GB 17%
/dev/vg00/lvol6 /opt 8.25 GB 5.43 GB 2.82 GB 65%
/dev/vgsap/ora10264 ... (10 Replies)
Hi
How can I alaign the output of a script.
Exaplme
my script has assigned values to two variables, VAR1 and VAR2
VAR1=This is RAJ working as a DB2 UDB DBA for VISA Corporation, Need your help in Shell scripting
VAR2= This is RAM working as a ORACLE DEVELOPER for TARGET... (1 Reply)
Heyas
I'm trying to add color 'support' to my TUI.
It works, but behaves weird.
Code in question: (status.conf)
R="\033" ; TUI_WORK=""
TUI_DONE="" ; TUI_FAIL=""
TUI_SKIP="" ; TUI_NEXT=""
TUI_BACK="" ; TUI_CANC=""
TUI_ON="" ; TUI_OFF=""
TUI_INFO="" ; TUI_HELP=""
The... (4 Replies)
Discussion started by: sea
4 Replies
LEARN ABOUT LINUX
xvisibilityevent
XVisibilityEvent(3) XLIB FUNCTIONS XVisibilityEvent(3)NAME
XVisibilityEvent - VisibilityNotify event structure
STRUCTURES
The structure for VisibilityNotify events contains:
typedef struct {
int type; /* VisibilityNotify */
unsigned long serial; /* # of last request processed by server */
Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window window;
int state;
} XVisibilityEvent;
When you receive this event, the structure members are set as follows.
The type member is set to the event type constant name that uniquely identifies it. For example, when the X server reports a GraphicsEx-
pose event to a client application, it sends an XGraphicsExposeEvent structure with the type member set to GraphicsExpose. The display
member is set to a pointer to the display the event was read on. The send_event member is set to True if the event came from a SendEvent
protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant
bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers.
The window member is set to the window whose visibility state changes. The state member is set to the state of the window's visibility and
can be VisibilityUnobscured, VisibilityPartiallyObscured, or VisibilityFullyObscured. The X server ignores all of a window's subwindows
when determining the visibility state of the window and processes VisibilityNotify events according to the following:
o When the window changes state from partially obscured, fully obscured, or not viewable to viewable and completely unobscured, the X
server generates the event with the state member of the XVisibilityEvent structure set to VisibilityUnobscured.
o When the window changes state from viewable and completely unobscured or not viewable to viewable and partially obscured, the X server
generates the event with the state member of the XVisibilityEvent structure set to VisibilityPartiallyObscured.
o When the window changes state from viewable and completely unobscured, viewable and partially obscured, or not viewable to viewable
and fully obscured, the X server generates the event with the state member of the XVisibilityEvent structure set to VisibilityFullyOb-
scured.
SEE ALSO XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XConfigureEvent(3),
XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWindowEvent(3), XErrorEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx-
poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz-
eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3), XSelectionRequestEvent(3), XUnmapEvent(3),
Xlib - C Language X Interface
X Version 11 libX11 1.5.0 XVisibilityEvent(3)