1. 24
  1.  

  2. 4

    Having PRIMARY and CLIPBOARD is a good thing and once you get used to it, it’s like having two clipboards.

    Shame he never tells how to actually use them both. Afaict only the primary selection is usable with the default binds.

    XTerm.VT100.translations: #override \n\
            Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
            Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
    

    Now if only I could get all the other software to support them both as well.

    EDIT: Another tip. If you find the font sizes available in the menu to be ridiculous, they’re pretty easy to change.

    XTerm*faceSize1: 8
    XTerm*faceSize2: 10
    XTerm*faceSize3: 13
    XTerm*faceSize4: 16
    XTerm*faceSize5: 20
    XTerm*faceSize6: 26
    

    faceSize1 corresponds to “Unreadable.”

    Now would someone give me key binds to decrease/increase font size? :-)

    1. 6

      You might want to read X Selections, Cut Buffers, and Kill Rings for how to use the PRIMARY and CLIPBOARD selections in X Windows.

      1. 1

        It doesn’t, and can’t really explain how to use them because there is no way to use them in X. Instead, you have to use them in applications running under X and each application does its own thing. I still don’t know if there’s a way to copy to clipboard in xterm without creating a custom bind.

        1. 0

          Does it also work with X?

          1. 1

            If by “X” you mean “the graphical interface that runs on Linux” then yes, it works, because that is X Windows.

            1. -1

              Eh, the developers would disagree, but what do they know?

              1. 1

                Where did this X Windows meme even start?

                Some lamer back in 1995 thinking it sounded cool and having it go viral on Usenet?

                1. 2

                  Where did this X Windows meme even start?

                  I don’t know. Probably people who think it’s the X-TREME version of Microsoft Windows.

                  1. 1

                    It’s mentioned in The Unix-Haters Handbook as a reliable tool for getting Unix weenies angry.

                    1. 1

                      I’m pretty sure “X Windows” is much older than that (as is MS Windows). I vaguely recall reading about “X Windows” in Byte magazine in 1993 or so.

                      The comp.windows.x newsgroup goes back to at least 1987 (https://groups.google.com/forum/message/raw?msg=comp.windows.x/TtNRIfTKqsw/i7hzWBiDfkgJ), a month after X11 was created. They even refer to it as “x-windows”.

                      1. 1

                        Could it have been a different implementation? Cuz I remember doing the RTFM thing way back when, and it was very clear about not being “X Windows”, though didn’t specify why.

                        Sorry if this is explained in the link. Can’t be arsed with Google. Usenet used to come without opt-in spying.

                    2. 1

                      Well, excuse me for using outdated terminology then. Would if have been better had I said “You might want to read X Selections, Cut Buffer, and Kill Rings for how to use the PRIMARY and CLIPBOARD selections in X”?

                      1. 1

                        Not outdated, just incorrect.

              2. 3

                Now would someone give me key binds to decrease/increase font size? :-)

                i have the following

                *VT100*translations: #override \
                    Meta <Key> minus: smaller-vt-font() \n\
                    Meta <Key> plus: larger-vt-font() \n\
                    Super <Key> minus: smaller-vt-font() \n\
                    Super <Key> plus: larger-vt-font() \n\
                

                and either meta/super keys work as expected.

              3. 2

                They [TrueType fonts] look ugly in my opinion and rendering of these is slower (you can measure it).

                It’s true they render slower. I have never found it to be a problem. (And I don’t get the author’s deep affection for the Terminus font.)

                1. 5

                  It is strange, taste in fonts. I’ve searched for a different programming/terminal font a few times but Terminus looks best to me.

                  1. 4

                    It’s pretty much the difference between dot-matrix printing and laser printing.

                    All the bitmap fonts become either ugly or unreadable on a true retina screen.