Re: Window Titling

2020-07-01 Thread Dan Mahoney (Gushi)
On Wed, 1 Jul 2020, Dave Wood wrote: On 01/07/20 00:24, Dan Mahoney (Gushi) put forth the proposition: On Tue, 30 Jun 2020, Dan Mahoney (Gushi) wrote: All, I'm using the \033k hack to auto-title my windows in the listing brought up by ctrl-a " (and also in the statusline). Is there a way to

Re: Window Titling

2020-07-01 Thread Dave Wood
On 01/07/20 00:24, Dan Mahoney (Gushi) put forth the proposition: > On Tue, 30 Jun 2020, Dan Mahoney (Gushi) wrote: > > All, > > > > I'm using the \033k hack to auto-title my windows in the listing brought > > up by ctrl-a " (and also in the statusline). > > > > Is there a way to embed color infor

Re: Window Titling

2020-07-01 Thread Dan Mahoney (Gushi)
On Tue, 30 Jun 2020, Dan Mahoney (Gushi) wrote: All, I'm using the \033k hack to auto-title my windows in the listing brought up by ctrl-a " (and also in the statusline). Is there a way to embed color information into this screen (for example, I might want any window with a root shell to ha

Window Titling

2020-06-30 Thread Dan Mahoney (Gushi)
All, I'm using the \033k hack to auto-title my windows in the listing brought up by ctrl-a " (and also in the statusline). Is there a way to embed color information into this screen (for example, I might want any window with a root shell to have a red title). -Dan -- "Don't think of it as

Re: shelltitle, window titling

2005-08-29 Thread Dan Mahoney, System Admin
On Thu, 25 Aug 2005, Phil!Gregory wrote: * Dan Mahoney, System Admin <[EMAIL PROTECTED]> [2005-08-25 13:25 -0400]: Is there any way to have command options included for certain commands? i.e. to have some sort of script or regex look allow me to have ssh:[EMAIL PROTECTED], or irc:irc.freenode.

Re: shelltitle, window titling

2005-08-25 Thread Dan Mahoney, System Admin
On Thu, 25 Aug 2005, Phil!Gregory wrote: * Dan Mahoney, System Admin <[EMAIL PROTECTED]> [2005-08-25 13:25 -0400]: Is there any way to have command options included for certain commands? i.e. to have some sort of script or regex look allow me to have ssh:[EMAIL PROTECTED], or irc:irc.freenode.

Re: shelltitle, window titling

2005-08-25 Thread Phil!Gregory
* Dan Mahoney, System Admin <[EMAIL PROTECTED]> [2005-08-25 13:25 -0400]: > Is there any way to have command options included for certain commands? > > i.e. to have some sort of script or regex look allow me to have > ssh:[EMAIL PROTECTED], or irc:irc.freenode.net screen does not support this; i

Re: shelltitle, window titling

2005-08-25 Thread Adam Lazur
Dan Mahoney, System Admin ([EMAIL PROTECTED]) said: > On Thu, 25 Aug 2005, Aaron Griffin wrote: > >I know someone who did something like this is zsh - I've been meaning > >to ask him, but I know his screen displays "vim:/file/I/am/editing" > >... maybe some version of ps? I guess it could be done i

Re: shelltitle, window titling

2005-08-25 Thread Aaron Griffin
On 8/25/05, Adam Lazur <[EMAIL PROTECTED]> wrote: > In zsh you can define a preexec() function to be executed just prior to > command execution. See zshmisc(1) for info. There ya go, that's exactly what was used this functionality is great, yet I don't think bash has anything similar (no clue

Re: shelltitle, window titling

2005-08-25 Thread Aaron Griffin
On 8/25/05, Dan Mahoney, System Admin <[EMAIL PROTECTED]> wrote: > What does your script do? Nothing much... it's mainly a script so I can add custom things to it later (exactly like you're looking for). Right now, it get's the current directory (replacing $HOME with "~" to make it simpler), if t

Re: shelltitle, window titling

2005-08-25 Thread Dan Mahoney, System Admin
On Thu, 25 Aug 2005, Aaron Griffin wrote: On 8/25/05, Dan Mahoney, System Admin <[EMAIL PROTECTED]> wrote: My question is this: Is there any way to have command options included for certain commands? i.e. to have some sort of script or regex look allow me to have ssh:[EMAIL PROTECTED], or irc

Re: shelltitle, window titling

2005-08-25 Thread Aaron Griffin
On 8/25/05, Dan Mahoney, System Admin <[EMAIL PROTECTED]> wrote: > My question is this: > > Is there any way to have command options included for certain commands? > > i.e. to have some sort of script or regex look allow me to have > ssh:[EMAIL PROTECTED], or irc:irc.freenode.net I use bash, and

shelltitle, window titling

2005-08-25 Thread Dan Mahoney, System Admin
Hey all, I've got screen auto-titling my windows with the following prompt: set prompt="%{\ek\e\\%}\%" and the shelltitle "%|csh" option in my .screenrc (I run tcsh) My question is this: Is there any way to have command options included for certain commands? i.e. to have some sort o