Sponsored Content
Full Discussion: PuTTY TITLE
Top Forums UNIX for Advanced & Expert Users PuTTY TITLE Post 302245564 by ./hari.sh on Friday 10th of October 2008 10:54:26 AM
Old 10-10-2008
Didnt help!

Both didnt help me.


Also Pls note the error if I try xterm inside the terminal
Code:
xterm
Error: Can't open display:
Error: Couldn't find per display information

 

9 More Discussions You Might Find Interesting

1. SCO

Title changing

I am using SCO Open Server 5.0.6 in different machines in same building. In order to avaoid confusion I would like to give different login messages instead of 'SCO OpenServer(TM) Release 5' prior to machine name. Pl. help. Praseeda (2 Replies)
Discussion started by: praseeda
2 Replies

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

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

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

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

6. UNIX for Dummies Questions & Answers

Change putty title name

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

7. Shell Programming and Scripting

Perl title help

my codeothers (1 Reply)
Discussion started by: sauravrout
1 Replies

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

9. Shell Programming and Scripting

Extract title

need a bit of help please i have a htmlfile in the file there is a long list of txt each line has a different title i want to extract all the titles with egrep, sed, awk, and save them to a txt.file example extract the bits in red from this <h3... (8 Replies)
Discussion started by: bob123
8 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 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy