Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 12:19:28 +0200
From:      Aymeric Mansoux <aymeric@kuri.mu>
To:        Shane Ambler <FreeBSD@ShaneWare.Biz>, Mark Felder <feld@feld.me>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: When to submit regression in a PR
Message-ID:  <20130625101928.GA1804@treefort.hro.nl>
In-Reply-To: <1371931585.12063.140661247273837.65C9D1AA@webmail.messagingengine.com> <51C53689.4060005@ShaneWare.Biz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi,

Shane Ambler said :
> > My question therefore is: while I will mention these problems
> > upstream, should I also make the PR? Contact the port maintainer
> > directly? I understand it is not FreeBSD specific (same issue on
> > Debian Sid) however it really make the current port unusable for
> > those working on laptops and those needing to input characters only
> > reachable with the compose key.
> 
> I would. While the ports are handled separately from the base system
> they need to be maintained as well. If a version of a port has issues
> then an older version could stay in place.
> 
> The pr system is used for ports as well as the base system.

Mark Felder said :
> It's probably a good idea to open a PR and let the port maintainer
> know, but we really need to have upstream to fix it. FreeBSD
> discourages doing custom "development" in the ports tree, so even if
> you could whip up a patch to fix it we would prefer that it get
> committed upstream and the port updated to pull the new version rather
> than have the port committer include a custom patch with the port.

Thanks Shane and Mark. In fact, shortly after this mail a beginning of
fix as been committed, so it will eventually surface in FreeBSD as well.


Shane Ambler said: 
> Can't say I'm sure which key you refer to as compose - do you mean Alt
> or Ctrl? I have heard of the ctrl key being remapped to the caps lock
> for continuous use. You may also look into turning on sticky keys, it
> keeps a modifier key active without holding it down so that the next key
> pressed has the modifier included. see x11/xkbset

You can turn any key into a compose/multi key. Mine is mapped on the
Right Alt: 

setxkbmap -option compose:ralt 

It allows you to input characters such "" or "" on keyboards where
such keys are missing. It works by making key combos or chords.

As for the stickiness of the key this is partly a problem linked to
the fix just committed. By default a compose key seems to work both as
sticky and non sticky to accommodate different writing styles/needs.
This is noticeable in any X applications that accept keyboard input,
from terminals to a browser. The last commit in upstream plan9port has
brought back the functionality of the compose key only as sticky. When a
key chord is done (non-sticky) the compose functionality is not working.

Anyway this discussion is not so relevant to this list anymore :)
Thanks again for advising on the PR issue! Very useful.

Best,
a.
--
http://su.kuri.mu




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20130625101928.GA1804>