You are not logged in.
Hi! I'm trying to make xterm copy and paste behave like other terminals, specifically like the suckless st terminal bindings, but neither i try work as espected.
Here's what i tried so far in my .Xresources:
! Key bindings similar to other terminals copy/paste behavior
!Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
!Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
Alt Shift <Key>C: copy-selection(CLIPBOARD) \n\
Alt Shift <Key>V: insert-selection(CLIPBOARD)
!XTerm.vt100.translations: #override \n\
! Alt Shift <Key>C: copy-selection(CLIPBOARD) \n\
! Alt Shift <Key>V: insert-selection(CLIPBOARD)Here's my complete .Xresources
! UTF-8 by default
xterm*utf8: 1
! Use a nice truetype font and size by default...
!XTerm*font: -*-terminus-medium-*-*-*-18-*-*-*-*-*-iso10646-1
!xterm*font: -xos4-*-*-*-*-*-20-*-*-*-*-*-iso10646-1
xterm*faceName: DejaVu Sans Mono Book
xterm*faceSize: 11
!xterm*faceName: Bitstream Vera Serif Mono
!xterm*faceSize: 11
! Every shell is a login shell by default (for inclusion of all necessary environment variables)
xterm*loginshell: true
! I like a LOT of scrollback...
xterm*savelines: 10000
! double-click to select whole URLs :D
xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! DOS-box colours...
xterm*foreground: rgb:DC/DC/DC
xterm*background: rgb:2C/2C/2C
xterm*color0: rgb:00/00/00
xterm*color1: rgb:a8/00/00
xterm*color2: rgb:00/a8/00
xterm*color3: rgb:a8/54/00
xterm*color4: rgb:00/00/a8
xterm*color5: rgb:a8/00/a8
xterm*color6: rgb:00/a8/a8
xterm*color7: rgb:a8/a8/a8
xterm*color8: rgb:54/54/54
xterm*color9: rgb:fc/54/54
xterm*color10: rgb:54/fc/54
xterm*color11: rgb:fc/fc/54
xterm*color12: rgb:54/54/fc
xterm*color13: rgb:fc/54/fc
xterm*color14: rgb:54/fc/fc
xterm*color15: rgb:fc/fc/fc
! right hand side scrollbar...
xterm*rightScrollBar: true
xterm*ScrollBar: true
! stop output to terminal from jumping down to bottom of scroll again
xterm*scrollTtyOutput: false
! scroll down anytime you press a key
xterm*ScrollKey: true
! disable fullscreen toggle which can conflict with Midnight Commander feature
xterm*fullscreen: never
! To copy between xterm and other programs/documents
XTerm*selectToClipboard: true
! Key bindings similar to other terminals copy/paste behavior
!Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
!Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
Alt Shift <Key>C: copy-selection(CLIPBOARD) \n\
Alt Shift <Key>V: insert-selection(CLIPBOARD)
!XTerm.vt100.translations: #override \n\
! Alt Shift <Key>C: copy-selection(CLIPBOARD) \n\
! Alt Shift <Key>V: insert-selection(CLIPBOARD)Last edited by leo2501 (2017-10-17 13:07:19)
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery
Offline
The key isn't named "Alt" but "Meta".
Offline
The key isn't named "Alt" but "Meta".
That solved it! that's my fault for blindly copy and paste the binding without reading the manpage for xterm.
Thank you!
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery
Offline