Sponsored Content
Full Discussion: multiple DISPLAY variables
Top Forums UNIX for Advanced & Expert Users multiple DISPLAY variables Post 8154 by Neo on Saturday 6th of October 2001 09:53:20 PM
Old 10-06-2001
Off hand, I don't know of any way to do either of the cool things you are thinking about, at least with freeware and boring, out of the box, utilities. Perhaps someone does..... if so, would be much appreciated. However, I'm drawing a blank on this one.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

multiple variables

hi all: im working in bourne shell and i want to keep in a varible separated strings and later use them independently can anybody write me an example?thanks (1 Reply)
Discussion started by: micromicrin
1 Replies

2. UNIX for Dummies Questions & Answers

Display multiple output lines

All, I have a file ABC.TXT which has two records: 12345 19.93 34.94 12345 94.84 10.48 If do the following command and grep '12345' ABC.TXT >> test1.txt If I look at the output of test1.txt I appears as follows: 12345 19.93 34.94 12345 94.84 10.48 I... (5 Replies)
Discussion started by: kingofprussia
5 Replies

3. Shell Programming and Scripting

Display variables in CAT area

Hi All, I've got a script to output YAML data, and I want to display data that's held inside variables inside one large CAT area. What's the easiest way to do this? cat << "END" --- classes: - general_image - $intro #Variable 1 - $mid #Variable 2 ... (2 Replies)
Discussion started by: glarizza
2 Replies

4. Shell Programming and Scripting

using sed command to display contents where line numbers are stored in variables

if i want to display the contents of a file between say line number 3 and 10 then i use the following command sed -n '3,10p' filename if this 3 was contained in x and 10 was contained in y then how wud this command modified? sed -n '$x,$yp' filename does not work..please advise (2 Replies)
Discussion started by: arindamlive
2 Replies

5. UNIX and Linux Applications

display correctly variables with a \

Hi, We are in AIX 5.3 In a shell program I use a variable coming from a file and containing a path : 'C:\temp\titi' Z2='C:\temp\titi' echo $Z2 When I want to print the variable with echo command , I have : C: emp iti How to have the correct variable ? Thanks (1 Reply)
Discussion started by: tbeghain
1 Replies

6. Shell Programming and Scripting

Running a script with multiple variables like 25 variables.

Hi All, i have a requirement where i have to run a script with at least 25 arguements and position of arguements can also change. the unapropriate way is like below. can we achieve this in more good and precise way?? #!/bin/ksh ##script is sample.ksh age=$1 gender=$2 class=$3 . . .... (3 Replies)
Discussion started by: Lakshman_Gupta
3 Replies

7. Shell Programming and Scripting

Reading multiple values from multiple lines and columns and setting them to unique variables.

Hello, I would like to ask for help with csh script. An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
Discussion started by: FMMOLA
7 Replies

8. Shell Programming and Scripting

Assigning multiple column's value from Oracle query to multiple variables in UNIX

Hi All, I need to read values of 10 columns from oracle query and assign the same to 10 unix variables. The query will return only one record(row). I tried to append all these columns using a delimiter(;) in the select query and assign the same to a single variable(V) in unix. I thought I... (3 Replies)
Discussion started by: hkrishnan91
3 Replies

9. Shell Programming and Scripting

Grep and display multiple lines

Hi guys, I have a log file that generates multiple logs about a query. <query time='2016-04-13 13:01:50.825'> <PagingRequestHandler> <Before>brand:vmu</Before> <After>brand:vmu</After> </PagingRequestHandler> <GroupDeviceFilterHandler> <Before>brand:vmu</Before> ... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

10. Shell Programming and Scripting

Search Multiple patterns and display

Hi, I have scenario like below and need to search for multiple patterns Eg: Test Time Started= secs Time Ended = secc Green test Test Time Started= secs Time Ended = secc Green test Output: I need to display the text starting with Test and starting with Time... (2 Replies)
Discussion started by: weknowd
2 Replies
cdk_marquee(3)						     Library Functions Manual						    cdk_marquee(3)

NAME
cdk_marquee - curses marquee widget SYNOPSIS
cc [ flag ... ] file ... -lcdk [ library ... ] #include <cdk.h> int activateCDKMarquee ( CDKMARQUEE *marquee, char *message, int delay, int repeat, boolean box); void deactivateCDKMarquee ( CDKMARQUEE *marquee); void destroyCDKMarquee ( CDKMARQUEE *marquee); void drawCDKMarquee ( CDKMARQUEE *marquee, boolean box); void eraseCDKMarquee ( CDKMARQUEE *marquee); boolean getCDKMarqueeBox ( CDKMENTRY *mentry); void moveCDKMarquee ( CDKMARQUEE *marquee, int xpos, int ypos, boolean relative, boolean refresh); CDKMARQUEE *newCDKMarquee ( CDKSCREEN *cdkscreen, int xpos, int ypos, int fieldWidth, boolean box, boolean shadow); void positionCDKMarquee ( CDKMARQUEE *marquee); void setCDKMarqueeBackgroundAttrib ( CDKMARQUEE *marquee, chtype attribute); void setCDKMarqueeBackgroundColor ( CDKMARQUEE *marquee, char * color); void setCDKMarqueeBox ( CDKMENTRY *mentry, boolean boxWidget); void setCDKMarqueeBoxAttribute ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeHorizontalChar ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeLLChar ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeLRChar ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeULChar ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeURChar ( CDKMARQUEE *marquee, chtype character); void setCDKMarqueeVerticalChar ( CDKMARQUEE *marquee, chtype character); DESCRIPTION
The Cdk marquee widget creates a pop-up marquee window. The following functions create or manipulate the Cdk marquee widget. AVAILABLE FUNCTIONS
activateCDKMarquee activates the marquee widget. The marquee parameter is a pointer to a defined marquee widget. The delay parameter states how long to wait between movements. This value is highly dependent on each machine the program runs on. The repeat value tells the marquee wid- get how many times to display the given message. The box option draws the widget with or without a box. This function returns -1 if the message passed is NULL, 0 otherwise. deactivateCDKMarquee deactivates the marquee widget. destroyCDKMarquee removes the widget from the screen and frees memory the object used. drawCDKMarquee draws the marquee widget on the screen. If the box parameter is true, the widget is drawn with a box. eraseCDKMarquee removes the widget from the screen. This does NOT destroy the widget. getCDKMarqueeBox returns true if the widget will be drawn with a box around it. moveCDKMarquee moves the given widget to the given position. The parameters xpos and ypos are the new position of the widget. The parameter xpos may be an integer or one of the pre-defined values TOP, BOTTOM, and CENTER. The parameter ypos may be an integer or one of the pre- defined values LEFT, RIGHT, and CENTER. The parameter relative states whether the xpos/ypos pair is a relative move or an absolute move. For example, if xpos = 1 and ypos = 2 and relative = TRUE, then the widget would move one row down and two columns right. If the value of relative was FALSE then the widget would move to the position (1,2). Do not use the values TOP, BOTTOM, LEFT, RIGHT, or CENTER when relative = TRUE. (weird things may happen). The final parameter refresh is a boolean value which states whether the wid- get will get refreshed after the move. newCDKMarquee creates a marquee widget and returns a pointer to it. Parameters: screen is the screen you wish this widget to be placed in. xpos controls the placement of the object along the horizontal axis. It may be an integer or one of the pre-defined values LEFT, RIGHT, and CENTER. ypos controls the placement of the object along the vertical axis. It may be an integer or one of the pre-defined values TOP, BOTTOM, and CENTER. width controls the width of the field. If you provide a value of zero for the width, the widget uses the width of the screen. If a negative value is provided, then the widget uses the width of the screen less the value provided. shadow turns the shadow on or off around this widget. If the widget could not be created then a NULL pointer is returned. positionCDKMarquee allows the user to move the widget around the screen via the cursor/keypad keys. See cdk_position (3) for key bindings. setCDKMarqueeBackgroundAttrib sets the background attribute of the widget. The parameter attribute is a curses attribute, e.g., A_BOLD. setCDKMarqueeBackgroundColor sets the background color of the widget. The parameter color is in the format of the Cdk format strings. For more information see cdk_display (3). setCDKMarqueeBox sets whether the widget will be drawn with a box around it. setCDKMarqueeBoxAttribute sets the attribute of the box. setCDKMarqueeHorizontalChar sets the horizontal drawing character for the box to the given character. setCDKMarqueeLLChar sets the lower left hand corner of the widget's box to the given character. setCDKMarqueeLRChar sets the lower right hand corner of the widget's box to the given character. setCDKMarqueeULChar sets the upper left hand corner of the widget's box to the given character. setCDKMarqueeURChar sets the upper right hand corner of the widget's box to the given character. setCDKMarqueeVerticalChar sets the vertical drawing character for the box to the given character. SEE ALSO
cdk(3), cdk_binding(3), cdk_display(3), cdk_position(3), cdk_screen(3) cdk_marquee(3)
All times are GMT -4. The time now is 11:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy