Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pasting into X11 applications from Aqua apps



On Sat, Aug 11, 2007, Vincent Lefevre wrote:
>On 2007-08-10 12:09:42 -0700, Bill Campbell wrote:
>> I noticed today that pasting in an xterm using the middle mouse
>> button didn't get the text highlighted with the left mouse button,
>> but retrieved a URL that I had previously selected in Firefox with
>> Cmd-C to paste into an e-mail message (mutt in an xterm).
>
>Here it depends on what is selected last.

No.  I had selected the URL from Firefox to paste into an xterm.  I later
selected text in another xterm to paste into a third xterm.  What was
pasted was the previously selected text from Firefox.

>> On a slightly related topic, can anyone explain what xterm options
>> control the left-button double click selections?
>
>Character classes. For instance, under Debian,
>/etc/X11/app-defaults/XTerm contains:
>
>! Here is a pattern that is useful for double-clicking on a URL:
>!*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
>
>I personnally use the following:
>
>*VT100.charClass:               43:48,45-58:48,126:48

Veddy Inneresting!  I found the ones in the SuSE app-defaults/XTerm, but
none in Apple's or CentOS's.

The one in SuSE's is below, and I added this to my ~/XTerm file
on a CentOS system and on OS X and it works a treat.

XTerm*charClass:  33:48,37:48,43:48,45-47:48,64:48,126:48,95:48

>New xterm versions have new options: on2Clicks, on3Clicks, etc.
>But this is not yet in the xterm provided in Mac OS X.
>
>> Double clicking in the xterm in Apple's X11 on a file path name will
>> highlight only the piece between slashes, but the same action in an
>> xterm on any reasonably recent SuSE Linux xterm highlights the
>> entire path. I see the same behaviour in xterms running on CentOS
>> 4.5 and CentOS 5. I really prefer it highlighting the entire path.
>> Is this something that can be defined in a $HOME/.Xresources or
>> $HOME/XTerm file or is it a compile time option?
>
>I prefer the app-defaults way:

I've been using $HOME/XTerm for years starting when I was running Motif
under SCO OpenDesktop 2.0 (now that dates me :-).  Most of the tweaks I use
are recommendations I've received over the years, and I don't claim to
understand many of the XResources.

Bill
--
INTERNET:   email@hidden  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Independent self-reliant people would be a counterproductive anachronism
in the collective society of the future where people will be defined by
their associations.  1896 John Dewey, educational philosopher, proponent
of modern public schools.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Jonas Maebe <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Dave Williss <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: Ben Byer <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: "Mark E. Perkins" <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: Dave Williss <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: Bill Campbell <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: Vincent Lefevre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.