Bug#348384: xterm: please restore default charClass

2006-01-27 Thread Thomas Dickey
On Thu, Jan 26, 2006 at 09:50:11AM +0100, Andrew Pimlott wrote:

It's a one-line change to a resource file; I intend replacing this with
something that provides the original behavior as default but makes it
simple to obtain the alternate behavior.  (Doing that part right takes
more time than changing one line - try to be patient ;-).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpBrI48E3Fhc.pgp
Description: PGP signature


Bug#348384: xterm: please restore default charClass

2006-01-26 Thread Andrew Pimlott
I want to strongly second the opinion of Kirk Hilliard
[EMAIL PROTECTED].  I find that in fact the new behavior makes it harder
to select URLs!  When I read mail in mutt, the URL often wraps to a new
line and in preceded by a '+' character.  Double-clicking the URL
selects the '+', so I must carefully select the start and end of the URL
by character.  With the old settings, I could double-click anywhere in
HTTP and drag to the end by word (which is also useful to grab only part
of the URL, by the way).  The issue repeats itself in many other
situations.  For example, I used to be able to get a bug number out of a
Debian changelog by double-clicking; now, I get #345477, instead.
When I want a word from a document, I end up getting the surrounding
punctuation as well.  And so on.

Moreover, xterm has had its default selection behavior forever, and with
such a venerable program, the Debian package should be conservative in
changing defaults.  I was quite shocked by the new behavior.  I even
took care to keep my old xterm windows open so that I could enjoy the
historical behavior until I had time to figure out what was going on!

Last, if you are going to keep the change, you should not only mention
it in README.Debian, but update the man page, which gives the default.
In my view, the burden of maintaining the updated man page is reason
enough not to make this change. ;-)

Andrew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348384: xterm: please restore default charClass

2006-01-16 Thread Kirk Hilliard
Package: xterm
Version: 208-2
Severity: wishlist

Hi Ender,

I've been trying to write this bug report up as a request for more
visible documentation of this change, but it keeps turning into a
wishlist submission, so I thought I'd be honest with myself and file
it that way.


The changelog.Debian.gz entry for xterm 208-1 of 6 Jan 2006 states:
- add charClass resource to XTerm.ad and UXTerm.ad which simplifies
  selecting URLs


1. I feel that this is a poor choice and should be reverted.

xterm now equates all of '!#%+,-./:[EMAIL PROTECTED]' with letters and numbers.
More restrictive word selection, allowing the selection of a file name
from a complete pathname, is A Good Thing.  The onus of figuring out
why xterms act differently from the default behavior described in the
man page and how to fix it should not be placed on the new user.

But hey, that's my opinion, and its your package.  If you disagree,
then I gracefully withdraw the wishlist request.


2. If the change stays, it should be more visibly documented.

Shouldn't this be documented somewhere more prominent than the
changelog, say README.Debian at the very least.  How about:

  As of version 208-2, /usr/lib/X11/app-defaults/XTerm contains a
  charClass resource to simplify selecting URLs.  Individual users may
  override this with following line to their ~/.Xresources file:
*charClass:


3. In any case, I'd like to report a couple of typos.

Patch for minor typo in man page XTERM(1x)
 8 
--- xterm.1x.orig   2006-01-09 02:33:39.0 -0500
+++ xterm.1x2006-01-16 11:58:14.0 -0500
@@ -344,7 +344,7 @@
 .B -cc \fIcharacterclassrange\fP:\fIvalue\fP[,...]
 This sets classes indicated by the given ranges for using in selecting by
 words.
-See the section specifying character classes.
+See the section specifying character classes
 and discussion of the \fIcharClass\fP resource.
 .TP 8
 .B -cjk_width
 8 

Patch for minor typo in README.Debian
 8 
--- README.Debian.orig  2006-01-16 12:02:16.0 -0500
+++ README.Debian   2006-01-16 12:02:48.0 -0500
@@ -28,7 +28,7 @@
  27, a.k.a ESCAPE) instead of ^? (ASCII 127)
 ^[[3~ is the DEC VT220 escape sequence for the keypad delete key (not the
 numeric keypad, the one with Page Up, Page Down, etc. on a PC keyboard).
-DEC VT100's, the text terminal wich xterm was designed to emulate, had no
+DEC VT100's, the text terminal which xterm was designed to emulate, had no
 keypad delete key.  ^[[3~ is also what the Linux console terminal type
 generates for the keypad delete key.  Note that the terminal definitions
 that a Debian system uses are in the ncurses-term package, not in the xterm
 8 

Kirk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]