You are not logged in.

#1 2005-12-29 10:49:24

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Xterm copy / paste with mouse, and kbd shortcuts

Any idea what options I need enabled/disabled in Xdefaults to let me copy and paste to/from an xterm using the mouse? Also, the same question for using keyboard shortcuts (like Ctrl-a to move to start of line)?


.oO Komodo Dave Oo.

Offline

#2 2005-12-29 12:06:06

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: Xterm copy / paste with mouse, and kbd shortcuts

You shouldn't need to enable anything in Xdefaults to get copy/paste. That's handled by X. Shift+ins or middle-button on the mouse to paste, after marking the desired text.

You might need to look at Xmodmap, though.

Offline

#3 2005-12-29 12:21:59

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Xterm copy / paste with mouse, and kbd shortcuts

Hmm... well, the reason I suggested Xdefaults is because that's the only thing I've changed since it stopped working in xterm... sadly I made the changes ages ago (I normally use urxvt, not xterm) so I can't remember what options I had previously.


.oO Komodo Dave Oo.

Offline

#4 2005-12-29 12:26:43

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: Xterm copy / paste with mouse, and kbd shortcuts

Could you paste your Xdefaults?

Offline

#5 2005-12-29 12:33:21

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Xterm copy / paste with mouse, and kbd shortcuts

xterm*faceName:         Bitstream Vera Sans mono
xterm*faceSize:         10
xterm*eightBitInput:    false
xterm*boldMode:         off
xterm.scrollBar:        false
xterm*saveLines:        1000
xterm*Foreground:       white
xterm*Background:       #303430
xterm*Border:           #303430
xterm*TitleBar:         on
xterm*TextUnderIcon:    on
xterm*AllowIconInput:   on
xterm*AutoRaise:        on
xterm*termtype:         vt100
xterm*ttyModes:         intr ^c erase ^h susp ^@ dsusp ^@ kill ^u eof ^d
xterm*jumpScroll:       true
xterm*multiScroll:      true
xTerm*cutNewline:       False
xterm*scrollTtyOutput:  false
xterm*scrollkey:        true

! Xterm Colors

!black
xterm*color0:           #303430
xterm*color8:           #CDB5CD
!red
!aterm*color1:          #dca3a3
xterm*color1:           #bf7979
xterm*color9:           #f4a45f
!green
xterm*color2:           #97b26b
!aterm*color2:          #afc5af
xterm*color10:          #c5f779
!yellow
xterm*color3:           #cdcdc1
xterm*color11:          #ffffef
!blue
xterm*color4:           #86a2be
xterm*color12:          #98afd9
!magenta
xterm*color5:           #d9b798
xterm*color13:          #d7d998
!cyan
xterm*color6:           #a1b5cd
xterm*color14:          #a1b5cd
!white
xterm*color7:           #ffffff
xterm*color15:          #dedede

Xft.dpi:                96


! Urxvt Colors

!black
urxvt*color0:           #505450
urxvt*color8:           #505450
!red
!aterm*color1:          #dca3a3
urxvt*color1:           #bf7979
urxvt*color9:           #f4a45f
!green
urxvt*color2:           #97b26b
!aterm*color2:          #afc5af
urxvt*color10:          #c5f779
!yellow
urxvt*color3:           #cdcda1
urxvt*color11:          #ffffaf
!blue
urxvt*color4:           #86a2be
urxvt*color12:          #98afd9
!magenta
urxvt*color5:           #d9b798
urxvt*color13:          #d7d998
!cyan
urxvt*color6:           #a1b5cd
urxvt*color14:          #a1b5cd
!white
urxvt*color7:           #ffffff
urxvt*color15:          #dedede

! Urxvt Settings
urxvt*scrollTtyOutput:  false
urxvt*scrollTtyKeypress:false
urxvt*loginShell:       true
urxvt*font:             xft:Bitstream Vera Sans mono:size=10
urxvt*scrollBar:        false
urxvt*foreground:       white
urxvt*background:       #303430
urxvt*geometry:         80x25
urxvt*saveLines:        10000
urxvt*inheritPixmap:    false
urxvt*fading:           40

Aterm*transparent: true


.oO Komodo Dave Oo.

Offline

#6 2005-12-29 12:44:38

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: Xterm copy / paste with mouse, and kbd shortcuts

Well. I'm not too familiar with this, but try setting xterm*eightBitInput to true.

This is the only thing I see which could have something to do with this. Other than that, I have no idea, sorry.

Offline

#7 2005-12-29 12:49:06

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Xterm copy / paste with mouse, and kbd shortcuts

Hmm... well, I was about to try what you suggested postlogic, and I just wanted to check it still wasn't working, and it's ok now... wtf?! I rebooted since I had the problem (I normally leave pc on 24/7), but other than that have not altered anything, as far as I can recall... no clue as to what's going on there :?

Cheers for your help though wink


.oO Komodo Dave Oo.

Offline

#8 2005-12-29 12:52:54

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: Xterm copy / paste with mouse, and kbd shortcuts

Haha, well. Glad it's working. Would be nice to know what the exact reason was, though.

Offline

#9 2005-12-29 12:57:45

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Xterm copy / paste with mouse, and kbd shortcuts

Agreed, I hate random stuff like this that I can't make sense of  :shock:


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB