Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX command to go to next line Post 302937320 by fpmurphy on Thursday 5th of March 2015 03:45:01 AM
Old 03-05-2015
Your question is too vague. Reposition cursor on a display? In an editor? Or what?
This User Gave Thanks to fpmurphy For This Post:
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

starteam for unix (command line )

hello does someone knows if there is starteam (like sourcesafe ) for unix ? in command line mode ? (0 Replies)
Discussion started by: umen
0 Replies

2. UNIX for Dummies Questions & Answers

UNIX command line mailer

What is the difference betweeen MAILX and SENDMAIL. I have SENDMAIL configured in my system, how is it different then MAILX, espicially in the syntax of sending mail from the command line. Thanks in advance (3 Replies)
Discussion started by: dctm_deve
3 Replies

3. Shell Programming and Scripting

assign a command line argument and a unix command to awk variables

Hi , I have a piece of code ...wherein I need to assign the following ... 1) A command line argument to a variable e.g origCount=ARGV 2) A unix command to a variable e.g result=`wc -l testFile.txt` in my awk shell script When I do this : print "origCount" origCount --> I get the... (0 Replies)
Discussion started by: sweta_doshi
0 Replies

4. SCO

UNIX Command line administration and Tools

Hi Everyone I have a few things i need help with in SCO-UNIXWARE 7.1.4 that the version am running. I am an ex-Debian user and i am finding that UNIXWARE is not the cup of Coffee i like I would like to know it the following are available or are there substitutes a locate command - a... (1 Reply)
Discussion started by: Han.nlo
1 Replies

5. UNIX for Dummies Questions & Answers

Logging Command Line and Output in Unix

Hi, This might be a bit stupid question, but what command to use to create like a session which logs the command line, and output on to the screen? Basically, a log to a file, where I can review what I had install, uninstall, etc. Thank you (4 Replies)
Discussion started by: kittoinc
4 Replies

6. UNIX for Dummies Questions & Answers

Unix command line question

I'm new to Unix and I'm looking for some assistance. We have 20 different accounts we must login to every day. Logging in has become quite the chore and most nights, we have to log out. I'm looking for a way to simply copy and paste the commands into each window to make things easier. I have been... (2 Replies)
Discussion started by: Judo_Bear
2 Replies

7. UNIX for Advanced & Expert Users

unix command : how to insert text at the cursor location via command line?

Hi, Well my title isn't very clear I think. So to understand my goal: I have a script "test1" #!/bin/bash xvkbd -text blabla with xbindkeys, I bind F5 key in order it runs my test1 script So when I press F5, test1 runs. I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Discussion started by: xib.be
0 Replies

8. Shell Programming and Scripting

command line args in unix

Hi, i have a perl script named test.pl. It is executed as cat *.log|test.pl i need the complete command line args. I tried using basename $0 but im getting test.pl only but not cat *.log... Can anyone help me on this. Thanks in advance (3 Replies)
Discussion started by: niteesh_!7
3 Replies

9. Shell Programming and Scripting

UNIX script / Command >>> in one line

Hi Experts, Basically I am a SAP programmer. I don't know much about UNIX. But I got a situation, need to use UNIX script /command in my programming. I searched the forum and found the below code. I would like to pass the below UNIX script in my programming code. But my programming will... (1 Reply)
Discussion started by: rbadveli
1 Replies

10. Shell Programming and Scripting

Specify an entire UNIX command as a command line argument

I'm trying to write a bash script called YN that looks like the following YN "Specify a question" "doThis" "doThat" where "doThis" will be executed if the answer is "y", otherwise "doThat". For example YN "Do you want to list the file dog?" "ls -al dog" "" Here's my attempt... (3 Replies)
Discussion started by: LeoKSimon
3 Replies
XRecolorCursor(3X11)						     MIT X11R4						      XRecolorCursor(3X11)

Name
       XRecolorCursor, XFreeCursor, XQueryBestCursor - manipulate cursors

Syntax
       XRecolorCursor(display, cursor, foreground_color, background_color)
	  Display *display;
	  Cursor cursor;
	  XColor *foreground_color, *background_color;

       XFreeCursor(display, cursor)
	  Display *display;
	  Cursor cursor;

       Status XQueryBestCursor(display, d, width, height, width_return, height_return)
	  Display *display;
	  Drawable d;
	  unsigned int width, height;
	  unsigned int *width_return, *height_return;

Arguments
       background_color
		 Specifies the RGB values for the background of the source.

       cursor	 Specifies the cursor.

       d	 Specifies the drawable, which indicates the screen.

       display	 Specifies the connection to the X server.

       foreground_color
		 Specifies the RGB values for the foreground of the source.

       width
       height	 Specify the width and heightof the cursor that you want the size information for.

       width_return
       height_return
		 Return the best width and height that is closest to the specified width and height.

Description
       The function changes the color of the specified cursor, and if the cursor is being displayed on a screen, the change is visible immedi-
       ately.

       can generate a error.

       The function deletes the association between the cursor resource ID and the specified cursor.  The cursor storage is freed when no other
       resource references it.	The specified cursor ID should not be referred to again.

       can generate a error.

       Some displays allow larger cursors than other displays.	The function provides a way to find out what size cursors are actually possible on
       the display.  It returns the largest size that can be displayed.  Applications should be prepared to use smaller cursors on displays that
       cannot support large ones.

       can generate a error.

Diagnostics
       A value for a Cursor argument does not name a defined Cursor.

       A value for a Drawable argument does not name a defined Window or Pixmap.

See Also
       XCreateColormap(3X11), XCreateFontCursor(3X11), XDefineCusor(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															      XRecolorCursor(3X11)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy