Sponsored Content
Full Discussion: Change putty title name
Top Forums UNIX for Dummies Questions & Answers Change putty title name Post 302628555 by abdul.irfan2 on Monday 23rd of April 2012 04:53:24 PM
Old 04-23-2012
Quote:
Originally Posted by neutronscott
Still no ksh wizard? is ksh88 or ksh93? try
Code:
set -A args "$@"

Thanks, atleast past though one stage..or the main one...but when i exit out..the title remains the same as ServerB....and i get below....


Code:
servername:/home/oracle> exit
logout
Connection to servername closed.
ssh[8]: HOSTNAME: parameter not set
$


Last edited by Scrutinizer; 04-23-2012 at 06:39 PM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Change Console Title

Hello. I am trying to figure out how to change the title of my console window. I don't need it to dynamically change with my current directory. I just want to be able to change the name of it, so when I minimize the window I can see which windows are for what purpose. I've tried using the... (8 Replies)
Discussion started by: medmonson
8 Replies

2. Solaris

Change Terminal Title

Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window. I was looking for similar functionality for terminal windows. Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies

3. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

4. UNIX for Advanced & Expert Users

putty title window?

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

5. UNIX for Advanced & Expert Users

PuTTY TITLE

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

6. Shell Programming and Scripting

How do I Get the Title of My Putty Window (Emulating an XTerm)

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. AIX

How to change cronjob title?

Once I type "mail" command, I got to see the mail like below: > 1 daemon Thu Aug 12 17:31 31/938 "Output from cron job " My question is, how to do change the default title "Output from cron job " to be more customized title? Thanks. (4 Replies)
Discussion started by: ngaisteve1
4 Replies

8. Shell Programming and Scripting

Remotely setting putty window title

I have successfully used a script to modify putty's window title for many years. It has worked great in a Solaris 10 environment, using, sh, bash and tcsh. But I've never been able to get it to work in linux :( The script relies on sending escape sequences via gnu echo. The version of echo on... (4 Replies)
Discussion started by: tsreyb
4 Replies

9. UNIX for Dummies Questions & Answers

Getting command output to putty window title.

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

10. Post Here to Contact Site Administrators and Moderators

Change title of a thread after it is created

hi, how do we change the title of a thread after it is created? Thanks (5 Replies)
Discussion started by: milhan
5 Replies
DOMDOCUMENT.SAVEXML(3)							 1						    DOMDOCUMENT.SAVEXML(3)

DOMDocument::saveXML - Dumps the internal XML tree back into a string

SYNOPSIS
public string DOMDocument::saveXML ([DOMNode $node], [int $options]) DESCRIPTION
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below. PARAMETERS
o $node - Use this parameter to output only a specific node without XML declaration rather than the entire document. o $options - Additional Options. Currently only LIBXML_NOEMPTYTAG is supported. RETURN VALUES
Returns the XML, or FALSE if an error occurred. ERRORS
/EXCEPTIONS o DOM_WRONG_DOCUMENT_ERR - Raised if $node is from another document. CHANGELOG
+--------+-------------------------------+ |Version | | | | | | | Description | | | | +--------+-------------------------------+ | 5.1.0 | | | | | | | Added the $options parameter | | | | +--------+-------------------------------+ EXAMPLES
Example #1 Saving a DOM tree into a string <?php $doc = new DOMDocument('1.0'); // we want a nice output $doc->formatOutput = true; $root = $doc->createElement('book'); $root = $doc->appendChild($root); $title = $doc->createElement('title'); $title = $root->appendChild($title); $text = $doc->createTextNode('This is the title'); $text = $title->appendChild($text); echo "Saving all the document: "; echo $doc->saveXML() . " "; echo "Saving only the title part: "; echo $doc->saveXML($title); ?> The above example will output: Saving all the document: <?xml version="1.0"?> <book> <title>This is the title</title> </book> Saving only the title part: <title>This is the title</title> SEE ALSO
DOMDocument::save, DOMDocument::load, DOMDocument::loadXML. PHP Documentation Group DOMDOCUMENT.SAVEXML(3)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy