Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

Scheduled Pinned Locked Moved Uncategorized
35 Posts 23 Posters 112 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • simontatham@hachyderm.ioS This user is from outside of this forum
    simontatham@hachyderm.ioS This user is from outside of this forum
    simontatham@hachyderm.io
    wrote last edited by
    #1

    Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

    If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

    But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

    If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

    Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

    thomastc@mastodon.gamedev.placeT autkin@fosstodon.orgA tuftyindigo@meow.socialT erincandescent@akko.erincandescent.netE mair@mathstodon.xyzM 20 Replies Last reply
    1
    0
    • simontatham@hachyderm.ioS simontatham@hachyderm.io

      Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

      If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

      But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

      If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

      Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

      thomastc@mastodon.gamedev.placeT This user is from outside of this forum
      thomastc@mastodon.gamedev.placeT This user is from outside of this forum
      thomastc@mastodon.gamedev.place
      wrote last edited by
      #2

      @simontatham An adjective like "typographical column" vs. "character column"? It's awkward but I can't think of anything better right now.

      woe2you@beige.partyW 1 Reply Last reply
      0
      • simontatham@hachyderm.ioS simontatham@hachyderm.io

        Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

        If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

        But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

        If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

        Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

        autkin@fosstodon.orgA This user is from outside of this forum
        autkin@fosstodon.orgA This user is from outside of this forum
        autkin@fosstodon.org
        wrote last edited by
        #3

        @simontatham See "field" as `awk` or `cut` use the word https://www.gnu.org/software/gawk/manual/html_node/Fields.html

        1 Reply Last reply
        0
        • simontatham@hachyderm.ioS simontatham@hachyderm.io

          Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

          If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

          But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

          If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

          Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

          tuftyindigo@meow.socialT This user is from outside of this forum
          tuftyindigo@meow.socialT This user is from outside of this forum
          tuftyindigo@meow.social
          wrote last edited by
          #4

          @simontatham Use the same option with an heuristic that a single-digit number is page splits and a multi-digit number is line length. If you want to specify both, pass the option multiple times.

          1 Reply Last reply
          0
          • simontatham@hachyderm.ioS simontatham@hachyderm.io

            Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

            If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

            But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

            If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

            Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

            erincandescent@akko.erincandescent.netE This user is from outside of this forum
            erincandescent@akko.erincandescent.netE This user is from outside of this forum
            erincandescent@akko.erincandescent.net
            wrote last edited by
            #5

            @simontatham --column-width --column-count?

            1 Reply Last reply
            0
            • simontatham@hachyderm.ioS simontatham@hachyderm.io

              Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

              If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

              But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

              If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

              Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

              mair@mathstodon.xyzM This user is from outside of this forum
              mair@mathstodon.xyzM This user is from outside of this forum
              mair@mathstodon.xyz
              wrote last edited by
              #6

              @simontatham "... in the sense that a newspaper is laid out..." -- something with "layout", for that one?

              1 Reply Last reply
              0
              • simontatham@hachyderm.ioS simontatham@hachyderm.io

                Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                ahnlak@kavlak.ukA This user is from outside of this forum
                ahnlak@kavlak.ukA This user is from outside of this forum
                ahnlak@kavlak.uk
                wrote last edited by
                #7

                @simontatham I tend to think of the second form as "width" rather than "columns" (I probably blame diff(1) for this)

                Actually diff(1) does the first form nicely to, by defining it as "side by side"

                simontatham@hachyderm.ioS 1 Reply Last reply
                0
                • simontatham@hachyderm.ioS simontatham@hachyderm.io

                  Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                  If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                  But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                  If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                  Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                  rogerlipscombe@hachyderm.ioR This user is from outside of this forum
                  rogerlipscombe@hachyderm.ioR This user is from outside of this forum
                  rogerlipscombe@hachyderm.io
                  wrote last edited by
                  #8

                  @simontatham I'd probably go with compound words: `--column-width` and `--column-count`

                  1 Reply Last reply
                  0
                  • ahnlak@kavlak.ukA ahnlak@kavlak.uk

                    @simontatham I tend to think of the second form as "width" rather than "columns" (I probably blame diff(1) for this)

                    Actually diff(1) does the first form nicely to, by defining it as "side by side"

                    simontatham@hachyderm.ioS This user is from outside of this forum
                    simontatham@hachyderm.ioS This user is from outside of this forum
                    simontatham@hachyderm.io
                    wrote last edited by
                    #9

                    @ahnlak yes. But the problem is that _some_ people think of it as "columns", or at least are used to seeing that terminology. So they read your --help to the point where they see a --columns option, and then they think "ah, that must be where I write 132", and next thing they know, the program has either aborted with a bizarre layout failure, or worse still, succeeded!

                    ahnlak@kavlak.ukA 1 Reply Last reply
                    0
                    • simontatham@hachyderm.ioS simontatham@hachyderm.io

                      Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                      If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                      But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                      If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                      Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                      amonakov@mastodon.gamedev.placeA This user is from outside of this forum
                      amonakov@mastodon.gamedev.placeA This user is from outside of this forum
                      amonakov@mastodon.gamedev.place
                      wrote last edited by
                      #10

                      @simontatham
                      --layout-columns
                      --line-length

                      1 Reply Last reply
                      0
                      • simontatham@hachyderm.ioS simontatham@hachyderm.io

                        @ahnlak yes. But the problem is that _some_ people think of it as "columns", or at least are used to seeing that terminology. So they read your --help to the point where they see a --columns option, and then they think "ah, that must be where I write 132", and next thing they know, the program has either aborted with a bizarre layout failure, or worse still, succeeded!

                        ahnlak@kavlak.ukA This user is from outside of this forum
                        ahnlak@kavlak.ukA This user is from outside of this forum
                        ahnlak@kavlak.uk
                        wrote last edited by
                        #11

                        @simontatham ahh, the old "users only read half of the important information" quandry 😉

                        `--width` and `--lanes` maybe, although I'm not a huge fan of 'lanes'.

                        Or just give them a single column and let 'em pipe it through some awk abomination if they don't like it!

                        1 Reply Last reply
                        0
                        • simontatham@hachyderm.ioS simontatham@hachyderm.io

                          Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                          If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                          But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                          If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                          Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                          rogerbw@discordian.socialR This user is from outside of this forum
                          rogerbw@discordian.socialR This user is from outside of this forum
                          rogerbw@discordian.social
                          wrote last edited by
                          #12

                          @simontatham "X-character lines" "a Y-column layout".

                          1 Reply Last reply
                          0
                          • simontatham@hachyderm.ioS simontatham@hachyderm.io

                            Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                            If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                            But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                            If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                            Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                            R This user is from outside of this forum
                            R This user is from outside of this forum
                            rogandawes@infosec.exchange
                            wrote last edited by
                            #13

                            @simontatham I'd consider "pillar" vs "column", perhaps? Not exactly unambiguous, but claiming "pillar" for "arranged in 2 or 3 columns" doesn't seem entirely unreasonable.

                            1 Reply Last reply
                            0
                            • simontatham@hachyderm.ioS simontatham@hachyderm.io

                              Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                              If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                              But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                              If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                              Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                              scmbradley@mathstodon.xyzS This user is from outside of this forum
                              scmbradley@mathstodon.xyzS This user is from outside of this forum
                              scmbradley@mathstodon.xyz
                              wrote last edited by
                              #14

                              @simontatham line width for the 80 column version?

                              simontatham@hachyderm.ioS 1 Reply Last reply
                              0
                              • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                                If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                                But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                                If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                                Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                                tipiak75@mastodon.socialT This user is from outside of this forum
                                tipiak75@mastodon.socialT This user is from outside of this forum
                                tipiak75@mastodon.social
                                wrote last edited by
                                #15

                                @simontatham newspaper-style layout block unit vs character-wide length unit. Best that comes to mind.

                                1 Reply Last reply
                                0
                                • scmbradley@mathstodon.xyzS scmbradley@mathstodon.xyz

                                  @simontatham line width for the 80 column version?

                                  simontatham@hachyderm.ioS This user is from outside of this forum
                                  simontatham@hachyderm.ioS This user is from outside of this forum
                                  simontatham@hachyderm.io
                                  wrote last edited by
                                  #16

                                  @Scmbradley that's the easier one. But the other one needs a rename too, because if you have --columns and --width, then a user who sees both options can figure out which is which, but if they only read as far as --columns in the first place, they can leap to the wrong conclusion about what it means.

                                  _Both_ options want to have names that make it obvious that they're not the other one.

                                  scmbradley@mathstodon.xyzS 1 Reply Last reply
                                  0
                                  • thomastc@mastodon.gamedev.placeT thomastc@mastodon.gamedev.place

                                    @simontatham An adjective like "typographical column" vs. "character column"? It's awkward but I can't think of anything better right now.

                                    woe2you@beige.partyW This user is from outside of this forum
                                    woe2you@beige.partyW This user is from outside of this forum
                                    woe2you@beige.party
                                    wrote last edited by
                                    #17

                                    @thomastc @simontatham I'd go with typographical column vs terminal column.

                                    1 Reply Last reply
                                    0
                                    • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                      Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                                      If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                                      But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                                      If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                                      Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                                      davebiff@mas.toD This user is from outside of this forum
                                      davebiff@mas.toD This user is from outside of this forum
                                      davebiff@mas.to
                                      wrote last edited by
                                      #18

                                      @simontatham At the risk of excessive verbosity, --layout-columns and --text-width-columns?

                                      1 Reply Last reply
                                      0
                                      • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                        Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                                        If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                                        But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                                        If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                                        Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                                        sil@mastodon.socialS This user is from outside of this forum
                                        sil@mastodon.socialS This user is from outside of this forum
                                        sil@mastodon.social
                                        wrote last edited by
                                        #19

                                        @simontatham I reckon that "column" in the sense of "number of characters" is a fossil usage in phrases like "80-column text" (and for old computer people such as us, too :)); pretty much everything that involves _setting_ that number calls it "width" or similar (--width as an option).
                                        Newspaper-style columns I'd call --columns or --column-count; most people would, I think, not be confused by this and think that it's about character width. But since some might (you, for a start), --column-count.

                                        1 Reply Last reply
                                        0
                                        • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                          Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

                                          If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

                                          But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

                                          If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

                                          Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

                                          iliazeus@gts.iliazeus.lolI This user is from outside of this forum
                                          iliazeus@gts.iliazeus.lolI This user is from outside of this forum
                                          iliazeus@gts.iliazeus.lol
                                          wrote last edited by
                                          #20

                                          @simontatham I'd probably use something like --width for character columns and --columns for newspaper-columns, but would also print a warning if their values seem too high (80 newspaper-columns) or too low (3 character-columns).

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups