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 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
                  • 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."

                    cunobaros@mendeddrum.orgC This user is from outside of this forum
                    cunobaros@mendeddrum.orgC This user is from outside of this forum
                    cunobaros@mendeddrum.org
                    wrote last edited by
                    #21

                    @simontatham text columns vs character columns?

                    simontatham@hachyderm.ioS 1 Reply Last reply
                    0
                    • cunobaros@mendeddrum.orgC cunobaros@mendeddrum.org

                      @simontatham text columns vs character columns?

                      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
                      #22

                      @cunobaros maybe, but I can still imagine "text columns" being ambiguous.

                      Perhaps I should have been clearer in the original post (but I didn't want to make it too long): one situation I have in mind is that a user hasn't yet noticed that there _are_ two options, because they read the help as far as one of them and then stopped before seeing the other one.

                      If a user is already thinking "I want 132-column text", and they see that the help offers them --text-columns, then that fits with the words already in their head and they're liable to say "aha, --text-columns=132" before looking further.

                      There are lots of pairs of words that you can easily tell apart once you notice that both of them exist in the first place. But I want both options to have names unambiguous enough that even if you see one of them on its own, you can't mistake it for the other meaning.

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

                        @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 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
                        #23

                        @simontatham I wonder how much of what you want to do you are actually able to do with JUST clever names for these flags. Like the man page for each flag should highlight the existence of the other, and maybe that's enough?

                        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."

                          darkling@mstdn.socialD This user is from outside of this forum
                          darkling@mstdn.socialD This user is from outside of this forum
                          darkling@mstdn.social
                          wrote last edited by
                          #24

                          @simontatham "Columns of text" and "Characters per line".

                          Not sure how you'd fit those into short long options, though. (--cpl for the latter, maybe, but it's non-obvious).

                          simontatham@hachyderm.ioS 1 Reply Last reply
                          0
                          • darkling@mstdn.socialD darkling@mstdn.social

                            @simontatham "Columns of text" and "Characters per line".

                            Not sure how you'd fit those into short long options, though. (--cpl for the latter, maybe, but it's non-obvious).

                            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
                            #25

                            @darkling --cpl is actually what I already have for that option name!

                            Being non-obvious isn't so bad if the aim is to avoid the user mistaking it for the other thing, because if it's not obvious what it means at all, they _know_ they need to read the help more carefully.

                            The other one, alas, is the hard 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."

                              technicaladept@techhub.socialT This user is from outside of this forum
                              technicaladept@techhub.socialT This user is from outside of this forum
                              technicaladept@techhub.social
                              wrote last edited by
                              #26

                              @simontatham vertical layout divisions? nope, nothing concise.

                              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."

                                kitten_tech@fosstodon.orgK This user is from outside of this forum
                                kitten_tech@fosstodon.orgK This user is from outside of this forum
                                kitten_tech@fosstodon.org
                                wrote last edited by
                                #27

                                @simontatham "columns of text" and "width"

                                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."

                                  ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                  ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                  ewenmcneill@cloudisland.nz
                                  wrote last edited by
                                  #28

                                  @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

                                  To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

                                  TeX used boxes as terminology in that context (\hbox and \vbox).

                                  simontatham@hachyderm.ioS ewenmcneill@cloudisland.nzE 2 Replies Last reply
                                  0
                                  • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

                                    @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

                                    To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

                                    TeX used boxes as terminology in that context (\hbox and \vbox).

                                    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
                                    #29

                                    @ewenmcneill yes, I agree that Srs Typographers just say "columns" without worrying about the ambiguity. And rightly so, because in their situation, there _isn't_ an ambiguity – they're not using a monospaced font, so the other meaning of "columns" isn't even meaningful! I'm sure that's part of the problem, and the reason why there isn't already a well-established unambiguous pair of terms.

                                    1 Reply Last reply
                                    0
                                    • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

                                      @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

                                      To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

                                      TeX used boxes as terminology in that context (\hbox and \vbox).

                                      ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                      ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                      ewenmcneill@cloudisland.nz
                                      wrote last edited by
                                      #30

                                      @simontatham in case it helps looks like CSS settled on:

                                      column-count
                                      column-width

                                      For those attributes in its multi column layout. Which is verbose, but at least obvious.

                                      simontatham@hachyderm.ioS 1 Reply Last reply
                                      0
                                      • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

                                        @simontatham in case it helps looks like CSS settled on:

                                        column-count
                                        column-width

                                        For those attributes in its multi column layout. Which is verbose, but at least obvious.

                                        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
                                        #31

                                        @ewenmcneill ah, thank you! At least two other people have suggested those names, but I think you're the first to mention that they're already established in an existing context. That does make a difference.

                                        ewenmcneill@cloudisland.nzE jleedev@mastodon.sdf.orgJ 2 Replies Last reply
                                        0
                                        • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                          @ewenmcneill ah, thank you! At least two other people have suggested those names, but I think you're the first to mention that they're already established in an existing context. That does make a difference.

                                          ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                          ewenmcneill@cloudisland.nzE This user is from outside of this forum
                                          ewenmcneill@cloudisland.nz
                                          wrote last edited by
                                          #32

                                          @simontatham CSS also cheated and made “columns” a “multi value with magical defaults” property that takes either or both of count and width. (As best I can tell using a scaling value like “rem” to detect it is width.)

                                          But… that’s probably undesirable in a command line 😃

                                          Link Preview Image
                                          columns CSS property - CSS | MDN

                                          The columns CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.

                                          favicon

                                          MDN Web Docs (developer.mozilla.org)

                                          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