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)
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)
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)
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)
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)
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)
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)
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
hi,
how do we change the title of a thread after it is created?
Thanks (5 Replies)
Discussion started by: milhan
5 Replies
LEARN ABOUT PHP
domdocument.savexml
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)