Re: [DNG] Bash keyboard shortcuts working really ugly [SOLVED]

2017-05-29 Thread Miroslav Rovis
On 170526-14:52+0200, Alessandro Selli wrote:
> On Thu, 25 May 2017 at 07:30:29 +
> Miroslav Rovis  wrote:
> 
> > On 170525-06:51+0200, Alessandro Selli wrote:
> > > On Wed, 24 May 2017 at 16:27:36 + Miroslav Rovis
> > >  wrote:
> > > 

[NOTE: ... typos in the old quoted texts below edited for readability
('s/demonstate/demonstrate/' in two pastes of mine, also 's/undr/under/' in
Alessandro's reply) ]

The Issue
=
> > > > mr@gd0v:~$  I am only trying to demonstrate the issue.
> > > >
> > > > That's ' I' in first editable space of the command line. I move to
> > > > beginning with Ctrl-A.
> > > >
> > > > And I press Alt-D. Here's what I get:
> > > >
> > > > mr@gd0v:~$ ä I am only trying to demonstrate the issue.
> > > >
> > > > But I did press Alt-D... So that one doesn't work.
> > ...
Alessandro's reply which solved it for me:

> > >   This is a problem with Xresources if it happens under Xorg, and/or with
> > > input library keybindings, that is with the .inputrc file.
> > > 
[NOTE: Let's make the solution conspicuously stand out, for people who will be
getting here via search engines with the problem like mine: ]

> > >   Under X I can replicate your problem when I comment this line in
> > >   ~/.Xresources:
> > > 
> > > *metaSendsEscape: true
=

^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | | | | | | | | |

> > > 
> > >   Try uncommenting or adding this line, then run:
> > > 
> > > xrdb -merge ~/.Xresources
> > > 
> > > open a new terminal and see if the problem went away.
> > 
> > #==#
> > #  And it did go away! Both Alt-D and Alt-Backspace now work!  # 
> > #==#
> 

That's all. Now follows my belated reply to Alessandro's kind email. It is
belated because I hadn't secured sufficiently well my Devuan to be able to use
it more freely until a few hours ago.

Being it very likely a fact that my Gentoo has been broken into[1] again
(mildly so, but yes: broken into, IMO), notwithstanding and regardless of my
serious and stubborn effort to not be owned again[2]), I decided to take
security even more seriously[3] with my main OS of the next months to come,
Devuan.

Because I want my Devuan to endure any hardship and to last for me, and that I
be able to do good things with it :) .

Alessandro pls. accept my apologies for being this late. In truth I got
hundreds of emails (from all kinds of GNU/FOSS/... lists that I'm subscribed
to) today with remarkably (so far) well working Getmail, Maildrop and Mutt, as
well as Postfix --for sending only--, along with for local mail... Hundreds of
emails because since my reply to Steve which I sent just some twenty minutes
after I replied to you, I haven't gone online with my Devuan, since four days
ago, until today. I really want to make my Devuan secure.

> /me pops open a bottle of Spumante and toast!
My toast to you too, but the red Italian wine you mention further below sounds
even more delicious!

> 
> > And just think of it: I was willing (almost ready) to reinstall my Devuan
> > because of this trivial glitch, kind of... Phew!
> 
>   It's trivial *after* you learned what the issue was, but it can drive you
> crazy for weeks before that!  Especially when the issue concerns some of
> those arcane, scantly documented old-time Unix config files and settings very
> few people think of when something misbehaves under X.
>   I am not sure this setting, that is, everything you put in your
> ~/.Xresources file, is read automatically at every X session, though I
> believe it probably is: it depends by your Desktop Manager.  In my Devuan
> system I find it configures in /etc/X11/Xsession, where I can find:

(Looking into):

> #!/bin/sh
> #
> # /etc/X11/Xsession
> #
> # global Xsession file -- used by display managers and xinit (startx)
> 
> [...]
> 
> USRRESOURCES=$HOME/.Xresources
> 
> and then in /etc/X11/Xsession.d/30x11-common_xresources:
> 
> # $Id: 30x11-common_xresources 305 2005-07-03 18:51:43Z dnusinow $
> 
> # This file is sourced by Xsession(5), not executed.
> 
> [...]
> 
> if has_option allow-user-resources && [ -f "$USRRESOURCES" ]; then
>   if type xrdb >/dev/null 2>&1; then
> xrdb -merge $USRRESOURCES
>   else

I found both the files, and they, by quick check, have the same content you
cite in my box as well, but I only vaguely understand what they do...

> 
> [...]
> 
> > But that's what the developers are here for us users/hopeful testers...  
> 
>   Surely!
> 
>   By the way, people: as I was perusing among the files in /etc/X11
> documenting this email of mine, I updated this file:
> 
> --- /etc/X11/wdm/Xresources 2017-05-26 14:12:25.104413649 +0200
> +++ /etc/X11/wdm/Xresources.orig2017-05-26 14:22:20.487768651 +0200
> @@ -8,8 +8,7 @@
> CtrlReturn: set-session-argument(failsafe) 

Re: [DNG] Bash keyboard shortcuts working really ugly [SOLVED]

2017-05-25 Thread Miroslav Rovis
On 170525-06:51+0200, Alessandro Selli wrote:
> On Wed, 24 May 2017 at 16:27:36 + Miroslav Rovis
>  wrote:
> 
...
> >
> > mr@gd0v:~$  I am only trying to demonstate the issue.
ERRATA: demonstrate
> >
> > That's ' I' in first editable space of the command line. I move to beginning
> > with Ctrl-A.
> >
> > And I press Alt-D. Here's what I get:
> >
> > mr@gd0v:~$ ä I am only trying to demonstate the issue.
ERRATA: demonstrate
> >
> > But I did press Alt-D... So that one doesn't work.
...
>   This is a problem with Xresources if it happens undr Xorg, and/or with
> input library keybindings, that is with the .inputrc file.
> 
>   Under X I can replicate your problem when I comment this line in
>   ~/.Xresources:
> 
> *metaSendsEscape: true
> 
>   Try uncommenting or adding this line, then run:
> 
> xrdb -merge ~/.Xresources
> 
> open a new terminal and see if the problem went away.

#==#
#  And it did go away! Both Alt-D and Alt-Backspace now work!  # 
#==#

And just think of it: I was willing (almost ready) to reinstall my Devuan
because of this trivial glitch, kind of... Phew! 

But that's what the developers are here for us users/hopeful testers... But we
wouldn't even have Devuan if it weren't for bright people like you devs!

> 
> -- 
> Alessandro Selli http://alessandro.route-add.net
> VOIP SIP: dhatarat...@ekiga.net
> Chiavi PGP/GPG keys: B7FD89FD, 4A904FD9

Molte grazie, caro vicino di paese!
(
for the readers proficient only in lingua franca of these late centuries:
Many thanks, dear neighbor ... (the sintagma is untranslatable literally, but
'vicino di paese' means: neighbor because living in the neighboring country, so
not neighbor because, say, living in a nearby house or town)!
)

Molte grazie, caro vicino di paese!

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng