Defining custom screen commands?

Dun Peal <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAD03jn4BYsA2LpBnbntFncOoqTK=BLYWUOosUPxJ15za9kqQwQ@mail.gmail.com>
Folks,

There's a sequence of screen operations that I execute every once in a
while. I can use `bind` and `eval` to execute it by keystroke, but it
is not used commonly enough to justify a keystroke binding.

Is there a way to define it such that I can execute it by running a
custom command on the `C-a :` command line?

So for example, I'd define it as custom command `foo`, such that when
I hit `C-a :` then type `foo` and press enter, the sequence of screen
commands gets executed.

Thanks, D.
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.