Re: Switching windows with added command

Neal Fultz <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAL9B2vc54zozS9mpFF1709Suh=3xM_ObQ9P4ZVkk8Na0Gd0W6w@mail.gmail.com>
I would recommend switching to the new window using it's title rather then
it's number.

Here is an example of binding C-a M to switch to mutt, then sending a y to
make it open the mailbox list:

bind m eval "select mutt" "stuff y"


On Fri, Nov 25, 2016 at 11:36 AM, ed <ed-screen-4OMkJz7ov/[email protected]> wrote:

> On Fri, Nov 25, 2016 at 10:52:55AM -0500, Dan D. wrote:
> > For example if switching into a window holding a running program,
> > can a command be sent to that running program as the swittch is
> > underway?
>
> Why not switch to the window then bind a key with 'stuff' to send
> whatever you need?
>
> --
> Best regards,
> Ed http://www.s5h.net/
>
>
> _______________________________________________
> screen-users mailing list
> screen-users-mXXj517/[email protected]
> https://lists.gnu.org/mailman/listinfo/screen-users
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.