The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem when extracting the title of HTML doc i007 Shell Programming and Scripting 2 12-01-2008 07:30 AM
problem with cygwin raya_g UNIX for Dummies Questions & Answers 0 08-16-2007 09:46 AM
Change Terminal Title here2learn SUN Solaris 8 11-21-2005 10:39 AM
cygwin problem gauri_agr UNIX for Dummies Questions & Answers 0 07-28-2005 06:40 AM
terminal type problem with cygwin on aix rein UNIX for Advanced & Expert Users 1 05-12-2005 04:35 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-09-2009
SilversleevesX SilversleevesX is offline
Registered User
  
 

Join Date: May 2009
Location: Northeast USA
Posts: 48
Terminal title bar tweak discrepancy problem in Cygwin/X

Code for the tweak (not my fave 'running process' but the more popular 'working directory') :

Code:
case "$TERM" in
xterm*|rxvt*|rxvt-unicode*)
      PROMPT_COMMAND='echo -e "\033]0;$TERM: ${PWD}\007"'
        ;;
*)
        ;;
esac
Where it works: rxvt (the one I run 'rootless' outside of XWindows)
Where it doesn't work: urxvt (aka rxvt-unicode) inside Xwindows
(wm is Fluxbox, the 1.0.0 build that was contributed tangentially to the Cygwin folks; colorscheme is Leopard from Freshmeat, but I just tried some others and it made no difference)
How it doesn't work: urxvt's title bar, after the rest of .bash_profile loads and displays its wares, switches to a string of 6 non-printing characters (rectangles) and stays that way. I see "bash" until my Welcome.sh script loads, then the six npc's

Anyone know urxvt well enough to have a good idea as to why this tweak shouldn't work? I have some others that I've C&P'd from around the Web, and if this one is a dead rabbit, I'll just try one of those. On that score I'd need a hint as to what kind of code should work in urxvt.

TIA for all advice and suggestions.

BZT

Last edited by SilversleevesX; 05-09-2009 at 07:06 AM..
 

Bookmarks

Tags
cygwin, rxvt, titlebar, tweak, x11

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0