screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raggle


From: Dan Mahoney, System Admin
Subject: Re: Raggle
Date: Thu, 4 Dec 2008 13:22:15 -0500 (EST)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

On Thu, 4 Dec 2008, Micah Cowan wrote:

Dan Mahoney, System Admin wrote:
Is it possible to define "viewer" commands in Alpine that would do
either of the following:

1) Launch in a separate window and/or
2) set the title correctly?

Right now, my shell seems to step in and want to set the title for
whatever pipe command, viewer, or filter I ran from within Alpine.

I don't use Alpine, so probably can't help with specifics; but you can
set the title either with "screen -X title foo" or by sending the
sequence ESC k foo ESC \ (e.g., printf '%b' '\033kfoo\033\\').

That's part of it, my .cshrc contains:

if ($TERM == "screen") then
alias precmd    'printf "\033%s%s %s\033\\" "k" "tcsh" "[$HOST]"'
alias postcmd 'printf "\033%s%s %s %s\033\\" "k" "\!#:0" "\!#:$" "[$HOST]"'
endif

I'm just wondering why the shell sees the invocation of those commands. Shouldn't alpine just be "like another shell"?

Given, this may also be an alpine question and I might ask this there too...but the answer lies somewhere in the interaction.

-Dan

(Who would love to have alpine able to start composes in new windows, right now I do it via a new shell, but this doesn't work on replies, etc.).

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]