Re: new ideas for screen
"Tom Scogland" <[email protected]> Mon, 20 Oct 2008 20:13:47 -0400
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <b0bad2450810201713y6c1a6b57j99b80748d1fd1cab__7180.19606215439$1238089102$gmane$org@mail.gmail.com> |
------=_Part_80582_17437228.1224548028085 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Oct 20, 2008 at 8:09 PM, Edward Peschko <[email protected]> wrote: > hey all, > > I'm *very* glad that screen seems to have risen from the dead; it's > one of my favorite tools by far and has saved me tons of time over the > years. > > However, there are a couple of features that I think would make it a > lot more useful, and I was wondering how feasible it would be to > implement them: > > 1. Named buffers. right now, there is only one buffer in vim. I assume you mean "in screen" since vim has buffers available for essentially every printable character, yes? > I'd like > to have 26 - one per letter. As for key binding, perhaps C-a <esc> > <return> to get into copy mode (as usual), and when done, press > <C-a>;;<letter> (ie: <C-a>;;a to get into buffer a, <C-a>;;b in > buffer b, etc). As for pasting, use semicolon to access the correct > buffer, and paste it, ie: <C-a>;<letter> to paste. > > This would be incredibly helpful, more times than I could count. > > 2. Cross search in buffers. Be able to toggle it on and off so that > <C-a>/ searches not only the current buffer but *all* buffers. > > 3. redefinable 'master' control character (<C-a>). On occasion, I've > had the need for embedding screens within screens (for large > administration jobs on lots of machines). But the control characters > get in the way of each other. It would be very helpful to be able to > define the main control character so that I could be able to send > screen commands to both 'master' and 'slave' commands. You can, I do this all the time, my primary computer uses C-z and all my target machines use C-a. just put the following in your screenrc to make it C-z. Non modified keys can work too, used to use backtick, but as it turns out the mousewheel doesn't get along with that too well, so I would suggest using something modified. escape ^zz > > Anyways, I've been out of screen development for a while, so I'm not > sure how much of this has been already suggested and/or programmed, > but I'd be interested to find out.. > > Ed > > > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_80582_17437228.1224548028085 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div dir="ltr"><div class="gmail_quote">On Mon, Oct 20, 2008 at 8:09 PM, Edward Peschko <span dir="ltr"><<a href="mailto:[email protected]">[email protected]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> hey all,<br> <br> I'm *very* glad that screen seems to have risen from the dead; it's<br> one of my favorite tools by far and has saved me tons of time over the<br> years.<br> <br> However, there are a couple of features that I think would make it a<br> lot more useful, and I was wondering how feasible it would be to<br> implement them:<br> <br> 1. Named buffers. right now, there is only one buffer in vim.</blockquote><div>I assume you mean "in screen" since vim has buffers available for essentially every printable character, yes? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> I'd like<br> to have 26 - one per letter. As for key binding, perhaps C-a <esc><br> <return> to get into copy mode (as usual), and when done, press<br> <C-a>;;<letter> (ie: <C-a>;;a to get into buffer a, <C-a>;;b in<br> buffer b, etc). As for pasting, use semicolon to access the correct<br> buffer, and paste it, ie: <C-a>;<letter> to paste.<br> <br> This would be incredibly helpful, more times than I could count.<br> <br> 2. Cross search in buffers. Be able to toggle it on and off so that<br> <C-a>/ searches not only the current buffer but *all* buffers.<br> <br> 3. redefinable 'master' control character (<C-a>). On occasion, I've<br> had the need for embedding screens within screens (for large<br> administration jobs on lots of machines). But the control characters<br> get in the way of each other. It would be very helpful to be able to<br> define the main control character so that I could be able to send<br> screen commands to both 'master' and 'slave' commands.</blockquote><div>You can, I do this all the time, my primary computer uses C-z and all my target machines use C-a. just put the following in your screenrc to make it C-z. Non modified keys can work too, used to use backtick, but as it turns out the mousewheel doesn't get along with that too well, so I would suggest using something modified.</div> <div><br></div><div>escape ^zz</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br> <br> Anyways, I've been out of screen development for a while, so I'm not<br> sure how much of this has been already suggested and/or programmed,<br> but I'd be interested to find out..<br> <br> Ed<br> <br> <br> </blockquote></div><br><br clear="all"><br>-- <br>-N<br>AKA:Tom Scogland<br>I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.<br> -Albert Einstein<br> </div> ------=_Part_80582_17437228.1224548028085--