Wow, I missed the completion bits also!
I like this better than the cwm menu or dmenu, so I'll be using this
from now on instead of the window manager.
Here's my cool 3 liners to nab all them hosts ;-)
set -A complete_ssh $(
(awk '!/\*/ && /^Host /{print $2}' ~/.ssh/config;
awk '
On Mon, Jul 10, 2017 at 04:04:47PM +0200, Ingo Schwarze wrote:
> Hi,
>
> Bryan Steele wrote on Mon, Jul 10, 2017 at 09:38:32AM -0400:
>
> > This was a feature added last year by nicm@, not touching emacs.c
> > at all..
>
> edit.c is a helper file containing common utilities for emacs.c
> and vi.
Hi,
Bryan Steele wrote on Mon, Jul 10, 2017 at 09:38:32AM -0400:
> This was a feature added last year by nicm@, not touching emacs.c
> at all..
edit.c is a helper file containing common utilities for emacs.c
and vi.c. So it is also misdocumented. It is only documented
for emacs mode, but vi mo
On Mon, Jul 10, 2017 at 03:22:48PM +0200, Ingo Schwarze wrote:
> Hi,
>
> Bryan Steele wrote on Mon, Jul 10, 2017 at 08:21:19AM -0400:
>
> > Instead of relying on the window manager, why not add it to your
> > shell?
> >
> > https://deftly.net/posts/2017-05-01-openbsd-ksh-tab-complete.html
> >
>
Hi,
Bryan Steele wrote on Mon, Jul 10, 2017 at 08:21:19AM -0400:
> Instead of relying on the window manager, why not add it to your
> shell?
>
> https://deftly.net/posts/2017-05-01-openbsd-ksh-tab-complete.html
>
> set -A complete_ssh $(awk '!/\*/ && /^Host /{print $2}' ~/.ssh/config)
>
> I'
On Mon, Jul 10, 2017 at 07:59:15AM +0100, Stuart Henderson wrote:
> On 2017/07/10 00:56, Todd T. Fries wrote:
> > What are our options to replace it with equivalent functionality should you
> > feel the need to march on without it?
>
> ssh `cut -d' ' -f1 .ssh/known_hosts | dmenu`
Instead of relyi
On 2017/07/10 00:56, Todd T. Fries wrote:
> What are our options to replace it with equivalent functionality should you
> feel the need to march on without it?
ssh `cut -d' ' -f1 .ssh/known_hosts | dmenu`
I'm going to echo Martijn's opinion below.
Nearly 95% of my ssh sessions to lots of systems start with alt-. followed
by a few keys typed to confirm the hostname is correct followed by enter.
Typing the full hostname or providing shortened versions in .ssh/config is
unwieldy and quite cumbersome
As a sysadmin with access to over a couple of 100 machines I find this
feature extremely useful. It would require me quite a bit of extra
brainpower to remember the correct/full hostname of each and every one
of them, especially since I can start typing halfway through the
hostname.
So yeah, I thi
On Fri, Jul 07, 2017 at 12:44:35PM -0400, o...@demirmen.com wrote:
> Hi cwm users,
>
> In converting this to use getline(3) over fgetln(3), I'm asking the question
> if
> this (imho) mis-feature belongs in a window manager. I've hinted at wanting to
> remove it in the past but there was oppositio
On Fri, Jul 07, 2017 at 12:44:35PM -0400, Okan Demirmen wrote:
> Hi cwm users,
>
> In converting this to use getline(3) over fgetln(3), I'm asking the question
> if
> this (imho) mis-feature belongs in a window manager. I've hinted at wanting to
> remove it in the past but there was opposition.
Hi cwm users,
In converting this to use getline(3) over fgetln(3), I'm asking the question if
this (imho) mis-feature belongs in a window manager. I've hinted at wanting to
remove it in the past but there was opposition. As a compromise, we could just
leave the 'ssh>' menu available, but it will
12 matches
Mail list logo