xterm display options


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers xterm display options
# 1  
Old 08-27-2009
xterm display options

Hello everyboby,
can someone write me all options for Xterm option -name. For example, I know that @d give me server ip... but, how to write something like
Code:
${USER}@${HOST}: ${PWD}$

on title bar ?

I use a connection line like this
Code:
@(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue -geometry 132x24+1200+100 -sb -ls -sl 999 -name @d -display @d&@;

Thanks
# 2  
Old 08-28-2009
To modifique dinamy the title you need to send escape characters:
\033]0; -> refers to title bar

In terminal you can probe:
Code:
PROMPT_COMMAND='echo -ne "\033]0;New Title\007"'

Other example this chage the title every time you change directori
Code:
PROMPT_COMMAND='echo -ne "\033]0;$PWD\007"'

In the profile file of the user put something like this:
Code:
case $TERM in
    xterm*)
        TITLEBAR='\[\033]0;\h:\w\007\]'
        ;;
    *)
        TITLEBAR=''
        ;;
esac
PS1="${TITLEBAR}\u@\[\033[1;34m\]\h\[\033[0m\]:\W> "
export PS1 PS2

Tu put the Ip you only need to modificate this line, for example:
IP=10.10.10.10
TITLEBAR='\[\033]0;\h:\w:$IP\007\]'
# 3  
Old 08-28-2009
I'm sorry,
my request concerns more exceed configuration than xterm, but, for info, I've found that these options do something like like I'm looking for :
@(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue -geometry 132x24+1200+100 -sb -ls -sl 999 -name @w@"@a" -display @d&@;
(to insert this line you have to edit SERVER.xs file)

Now, as old times, I've tried with all options... someone has a list more complet ?

@a -> display
@b NADA
@c -> looking for some file... I don't know which
@d -> display:0.0
@e NOTHING
@f NOTHING
@g NOTHING
@h NOTHING
@i -> look for network interfaces
@j NOTHING
@k NOTHING
@l NOTHING
@m -> looking for some file... I don't know which
@n NOTHING
@o NOTHING
@p NOTHING
@q NOTHING
@r NOTHING
@s NOTHING
@t NOTHING
@u -> doesn't work ... :-/ --> "@u" open of xterm but nothing more
@v NADA
@w -> User
@x NOTHING
@y NOTHING
@z NOTHING
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. HP-UX

Xterm display immediatly dies in hpux 11.23

After install of the Sept. 2010 patch set on my hpux 11.23 system, my xterm when launched, dies immediately on the client with the xserver, with a core.xterm file in root of the hpux server. This had been working before the patch install. I tried to find xterm patches from ITRC (yes the old... (1 Reply)
Discussion started by: mrmurdock
1 Replies

2. UNIX for Dummies Questions & Answers

Display full command (including options) information in running

Suppose I am a Unix user, not a root. I can see all commands in running by ps -elf, or some similar commands. Such commands may be submit by other Unix users. Is there a way that I can display those commands with their full parameters/options. For example, I can see a user is running "ls"... (3 Replies)
Discussion started by: happy_lotus
3 Replies

3. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

4. UNIX for Dummies Questions & Answers

Display output of one xterm on another

Setup: Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh. Wanted: How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what... (8 Replies)
Discussion started by: Vi-Curious
8 Replies

5. UNIX for Dummies Questions & Answers

xterm -display

I am using this command but when I launch it, the font that comes up on the remote machine is very small. Is there a way to enlarge the font using some switch? xterm -display remotemachine:0.0 & (5 Replies)
Discussion started by: zapper222
5 Replies

6. UNIX for Dummies Questions & Answers

xterm and display

I go to a different terminal ctrl-alt f2 i want to be able to open up another xterm there. How do i do it? Specificly, I want to be able to log into another computer in term f2. I then want to open a gui term and then execute programs on one computer but have them display on mine? I... (1 Reply)
Discussion started by: macdonto
1 Replies
Login or Register to Ask a Question