01-27-2012
Using "\003" instead of "\c" makes it work like a charm .. even with the older printf.
Thanks for the help!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to echo some text onto the window title bar...in exceed client...so that we can know where we are in..in multiple hostnames kinda..thing..
any advice.. (1 Reply)
Discussion started by: tintedwindow
1 Replies
2. UNIX for Advanced & Expert Users
Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies
3. UNIX for Advanced & Expert Users
I have implemented the solution from mschwage located in post https://www.unix.com/unix-advanced-expert-users/35784-change-putty-title-window.html; ie
wt ()
{
echo -n "^2;${@}^G"
}
This method is awesome!!!!
The reason I am sending you this message is to get your assistance with... (3 Replies)
Discussion started by: lwif
3 Replies
4. UNIX for Advanced & Expert Users
Is it possible to set the PuTTY title to show the current hostname of the terminal opened?
I meant to say I would be rlogin between servers, that should be updated in PuTTTY title ? :confused: (4 Replies)
Discussion started by: ./hari.sh
4 Replies
5. Linux
hi all.
I have a small program on a debian server which i need to execute remotely from a windows machine using putty.
when i use putty to execute the program it starts running , but when i close the session the program stops running on the debian server as well.
Can anyone guide me how... (4 Replies)
Discussion started by: coolatt
4 Replies
6. Shell Programming and Scripting
I have a Perl script that changes the terminal window title and I would like to reset it to the original value when I am done. We are using Putty which emulates xterm. We are not running X-Windows so I can't use something like xprop (can I?). I'm using XTerm control codes to change the title and I... (2 Replies)
Discussion started by: NateTut
2 Replies
7. Linux
hi all,
i am using a Ubuntu work station. i have following piece of code that works ok. But i cant figure out a way to insert a string call $Name into the title of the window i am opening. As you can see, i tried two different ways without a success. Can someone please help me out here? :(
... (3 Replies)
Discussion started by: usustarr
3 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com)
Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)...
now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies
9. Shell Programming and Scripting
hi friends,
This is not a shell scripting related doubt, but still posting so that you can answer it ;) or redirect to correct place in this website.
Many a times i have to open multiple putty sessions by duplicating a session and want to rename their tabs.
For this activity i have to right... (4 Replies)
Discussion started by: kunwar
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Last 2 weeks I have searched many forums and i haven't found the answer for the question:
How to get all command output to Putty title?
Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
Discussion started by: domagaj
1 Replies
LEARN ABOUT OPENSOLARIS
sdl_joystickopen
SDL_JoystickOpen(3) SDL API Reference SDL_JoystickOpen(3)
NAME
SDL_JoystickOpen - Opens a joystick for use.
SYNOPSIS
#include "SDL.h"
SDL_Joystick *SDL_JoystickOpen(int index);
DESCRIPTION
Opens a joystick for use within SDL. The index refers to the N'th joystick in the system. A joystick must be opened before it game be used.
RETURN VALUE
Returns a SDL_Joystick structure on success. NULL on failure.
EXAMPLES
SDL_Joystick *joy;
// Check for joystick
if(SDL_NumJoysticks()>0){
// Open joystick
joy=SDL_JoystickOpen(0);
if(joy)
{
printf("Opened Joystick 0
");
printf("Name: %s
", SDL_JoystickName(0));
printf("Number of Axes: %d
", SDL_JoystickNumAxes(joy));
printf("Number of Buttons: %d
", SDL_JoystickNumButtons(joy));
printf("Number of Balls: %d
", SDL_JoystickNumBalls(joy));
}
else
printf("Couldn't open Joystick 0
");
// Close if opened
if(SDL_JoystickOpened(0))
SDL_JoystickClose(joy);
}
SEE ALSO
SDL_JoystickClose
SDL
Tue 11 Sep 2001, 23:00 SDL_JoystickOpen(3)