Re: Issue with the titlebar

2009-08-12 Thread Thorsten Kampe
* Kilian Krockauer (Wed, 12 Aug 2009 17:58:08 +0200) > I have quite a disturbing task my colleque gave to me. > He uses CygWin Cygwin > and has up to 10 Windows opened, Sounds like your colleague needs a serious clue injection. Ever heard of the recent (recent like in "more than a decade ago")

Re: Issue with the titlebar [OT]

2009-08-12 Thread Mark J. Reed
On Thu, Aug 13, 2009 at 12:29 AM, Andrew DeFaria wrote: > Mark J. Reed wrote: Hey, I was just recommending lmgtfy. I wasn't endorsing Jason's reply. You'll note I replied elsewhere with arguably useful information... :) -- Mark J. Reed -- Problem reports: http://cygwin.com/problems.ht

Re: Issue with the titlebar [OT]

2009-08-12 Thread Andrew DeFaria
Mark J. Reed wrote: On Wed, Aug 12, 2009 at 12:57 PM, Jason Pyeron wrote: http://www.googleit1st.com/search?hl=en&safe=off&q=ssh+host+titlebar&aq=f&oq=&aqi= For this sort of thing, I prefer lmgtfy: http://lmgtfy.com/?q=ssh+host+title+bar While that's cutsy! It does not address the issue at al

Re: Issue with the titlebar [OT]

2009-08-12 Thread Andrew DeFaria
Jason Pyeron wrote: -Original Message- From: Andrew DeFaria Sent: Wednesday, August 12, 2009 12:28 Subject: Re: Issue with the titlebar Jason Pyeron wrote: export title=`hostname` export PS1='\[\e]0;$title\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' I would apreciat

Re: Issue with the titlebar

2009-08-12 Thread Andrew DeFaria
Mark J. Reed wrote: On Wed, Aug 12, 2009 at 12:30 PM, Andrew DeFaria wrote: It was my understanding that one of those escape sequences told the shell not to count these characters. Ah, you're right! Things between \[...\] in the prompt string aren't counted. I missed that little detail. I ret

Re: Issue with the titlebar [OT]

2009-08-12 Thread Mark J. Reed
On Wed, Aug 12, 2009 at 12:57 PM, Jason Pyeron wrote: > http://www.googleit1st.com/search?hl=en&safe=off&q=ssh+host+titlebar&aq=f&oq=&aqi= For this sort of thing, I prefer lmgtfy: http://lmgtfy.com/?q=ssh+host+title+bar -- Mark J. Reed -- Problem reports: http://cygwin.com/problems.html

RE: Issue with the titlebar [OT]

2009-08-12 Thread Jason Pyeron
> -Original Message- > From: Andrew DeFaria > Sent: Wednesday, August 12, 2009 12:28 > Subject: Re: Issue with the titlebar > > > > Jason Pyeron wrote: > > > > export title=`hostname` > > export PS1='\[\e]0;$title\w\

Re: Issue with the titlebar

2009-08-12 Thread Andrew Schulman
> I have quite a disturbing task my colleque gave to me. > He uses CygWin and has up to 10 Windows opened, now he's getting tired of > looking through every single Window when he searches for a specific one. To > be exact, he uses ssh to connect to our servers and wants the titlebar to > show w

Re: Issue with the titlebar

2009-08-12 Thread Mark J. Reed
On Wed, Aug 12, 2009 at 12:30 PM, Andrew DeFaria wrote: > It was my understanding that one of those escape sequences told the shell > not to count these characters. Ah, you're right! Things between \[...\] in the prompt string aren't counted. I missed that little detail. I retract my objection.

Re: Issue with the titlebar

2009-08-12 Thread Andrew DeFaria
Mark J. Reed wrote: Putting title-setting escape sequences in PS1 has the unfortunate side effect that the shell thinks that it has output those characters, and shrinks the length of the line readline has to work with by that amount. It was my understanding that one of those escape sequences

Re: Issue with the titlebar

2009-08-12 Thread Jeremy Bopp
Mark J. Reed wrote: > Putting title-setting escape sequences in PS1 has the unfortunate side > effect that the shell thinks that it has output those characters, and > shrinks the length of the line readline has to work with by that > amount. I have set everything in PS1 for a long time without any

Re: Issue with the titlebar

2009-08-12 Thread Andrew DeFaria
Jason Pyeron wrote: export title=`hostname` export PS1='\[\e]0;$title\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' I would apreciate a rather quick help or response You might want to hire someone Why? You gave him the answer - quick and for free. Why then should he e

Re: Issue with the titlebar

2009-08-12 Thread Mark J. Reed
Putting title-setting escape sequences in PS1 has the unfortunate side effect that the shell thinks that it has output those characters, and shrinks the length of the line readline has to work with by that amount. A better option is to define PROMPT_COMMAND to echo the appropriate sequence. --

Re: Issue with the titlebar

2009-08-12 Thread Jeremy Bopp
Kilian Krockauer wrote: > Hello there, > > I have quite a disturbing task my colleque gave to me. > He uses CygWin and has up to 10 Windows opened, now he's getting tired of > looking through every single Window when he searches for a specific one. To > be exact, he uses ssh to connect to our s

RE: Issue with the titlebar

2009-08-12 Thread Jason Pyeron
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of Kilian Krockauer > Sent: Wednesday, August 12, 2009 11:58 > To: cygwin@cygwin.com > Subject: Issue with the titlebar > > Hello there, > > I have quite

Re: Issue with the titlebar

2009-08-12 Thread Christopher Faylor
On Wed, Aug 12, 2009 at 05:58:08PM +0200, Kilian Krockauer wrote: >Hello there, > >I have quite a disturbing task my colleque gave to me. >He uses CygWin and has up to 10 Windows opened, now he's getting tired >of looking through every single Window when he searches for a specific >one. To be exa

Issue with the titlebar

2009-08-12 Thread Kilian Krockauer
Hello there, I have quite a disturbing task my colleque gave to me. He uses CygWin and has up to 10 Windows opened, now he's getting tired of looking through every single Window when he searches for a specific one. To be exact, he uses ssh to connect to our servers and wants the titlebar to sho