• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: copy/paste in xterm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy/paste in xterm


  • Subject: Re: copy/paste in xterm
  • From: Vivien Mary Kendon <email@hidden>
  • Date: Sat, 11 Jan 2003 15:35:46 -0800 (PST)

On Sat, 11 Jan 2003, mark lacas wrote:

> Very nice solution, thank you very much.
> Works like a charm.
> ml
>
> On Saturday, January 11, 2003, at 02:21  PM, mathias meyer wrote:
> > there's a workaroung for that:

Yes, thank you indeed for showing this.  Very neat.

When I first mentioned the inconsistent cut/paste behaviour, I received
rather discouraging responses (look for Subject: Cut and paste confusion.
in the archives, if they are working.)  I held off replying basically
because I thought there must be ways round it but didn't know how to do
what you just showed.  It is much easier to make a point with a good
example :-)

It is really important to have consistent cut/paste behaviour across aqua
and X11 if at all possible.  Whether it is apple-C/V or middle-click,
either or both is not so important as consistency.  Especially if you are
making quartz-wm make X windows look as much like aqua windows as
possible.

Though middle-click is sort of the X default, it isn't so hard to change
it (as in this example).  I only know this by experience, whenever I am a
guest user of some other system running X I usually get by default a setup
in which middle-click doesn't work, but <somekey>-C/V does.  (I then go in
and try to change the defaults to what I like, usually successfully, these
things _ought_ to be configurable to suit, like mouse speed and all
the rest.)

I was told:

On Jan 8,2003 13:20:04 -0800, John Harper <email@hidden> wrote :
>Sorry, this is outside the scope of the X server or window manager. For
>now at least, they can only work within the constraints of the existing
>selection mechanisms provided by Mac OS X and X11,

Could I put in a plea for those who do have it in their scope to have some
careful thinks about this?  X is so large and diverse I doubt you could
get perfickly consistent across every known app, but surely you can do
better than what you have now, even mostly within those constraints?

thanks,
-- Viv

> > 1) open
> > /Applications/X11.app/Contents/Resources/English.lproj/main.nib in
> > interface builder.
> > 2) select the main menu instance and from there the edit menu. in the
> > inspector remove the key equivalent 'v' for 'paste' so that there is
> > no more key assigned to 'paste'
> > 3) save the .nib
> > 4) put something like the following in you .Xdefaults:
> >
> > *VT100.translations: #override\
> >     Meta <KeyPress> V:           insert-selection(PRIMARY,
> > CUT_BUFFER0) \n\
> >
> > now copy/paste works as expected in xterm.
> >
> > hope that helps. actually, there's a lot more options to make xterm
> > behave more like terminal.app (like scrolling page up/down with the
> > arrowkeys, moving the scrollbar handle with button1 and not button2
> > etc. which i posted these to the list yesterday.
> >
> > mathias
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: copy/paste in xterm (was:Re: Sorry keyboard problems) (From: mark lacas <email@hidden>)

  • Prev by Date: Gimp
  • Next by Date: Re: copy/paste in xterm
  • Previous by thread: Re: copy/paste in xterm (was:Re: Sorry keyboard problems)
  • Next by thread: Grace not working well with dock?
  • Index(es):
    • Date
    • Thread