xtset man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

xtset(1)		  BSD General Commands Manual		      xtset(1)

NAME
     xtset — Set title text for xterm

SYNOPSIS
     xtset [-i] [-t] text

DESCRIPTION
     xtset writes an xterm ``set title text'' command sequence based on the
     text argument to stdout.  If the TERM environment variable does not start
     with xterm, xtset does nothing.

   OPTIONS
     -t	     Set the title only.

     -i	     Set the icon name only.

     By default, xtset sets both the title and the icon name.

   METAVARIABLES
     A number of metavariables allow substituting environmental information:

     %h	     is replaced by the hostname, excluding domain name.

     %H	     is replaced by the hostname, including domain name if gethostname
	     returns it.

     %d	     is replaced by the current directory name.

	     is replaced by the current directory name, only last part (unless
	     this is src, man, doc, etc., in which case the previous part is
	     included as well).

     %u	     is replaced by the current user name.

     %g	     is replaced by the current group name.

	     is replaced by the current real user name.

     %G	     is replaced by the current real group name.

     %m	     is replaced by the octal current umask.

     %e	     is replaced by the value of environment variable XTXTRA or null
	     string.

     %t	     is replaced by the complete name of the stdin terminal, if it is
	     a terminal.

     %T	     is replaced by the last part of the stdin file name, if it is a
	     terminal.

     %%	     is replaced by the real percent sign.

ENVIRONMENT
     Uses the TERM and XTXTRA variables.

FILES
     xtset always writes to stdout.

EXAMPLES
	   xtset -i Foo

     will expand to

	   Foo
     but only on the icon.  The title will remain unchanged.

	   xtset %d@%h (%u:%g)

     might expand to

	   /home/sol/msmith@rheya (msmith:group2)"

	   xtset -t %u (%T) %h:%D
	   xtset -i %u@%h:%D

     might set the title text to

	   root (ttyp0) myhost:usr/src

     and the icon text to

	   root@myhost:usr/src

AUTHORS
     Written by Martin Smith <msmith@lssec.bt.co.uk>.  Modifications by Greg
     Lehey <grog@FreeBSD.org>

BSD				 March 9, 2001				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net