The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Of flags and keyletters
@ 2024-03-01 15:49 Douglas McIlroy
  2024-03-01 16:23 ` [TUHS] " Steve Nickolas
  2024-03-01 16:56 ` Bakul Shah via TUHS
  0 siblings, 2 replies; 9+ messages in thread
From: Douglas McIlroy @ 2024-03-01 15:49 UTC (permalink / raw)
  To: TUHS main list

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

> why did AT&T refer to "flags" as "keyletters" in its SysV documentation?

Bureaucracies beget bureaucratese--polysyllabic obfuscation, witness
APPLICATION USAGE in place of BUGS.

One might argue that replacing "flag" by "option", thus doubling the number
of syllables, was a small step in that direction. In fact it was a
deliberate attempt to discard jargon in favor of normal English usage.

Doug

[-- Attachment #2: Type: text/html, Size: 575 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-01 15:49 [TUHS] Of flags and keyletters Douglas McIlroy
@ 2024-03-01 16:23 ` Steve Nickolas
  2024-03-01 19:44   ` Paul Winalski
  2024-03-01 16:56 ` Bakul Shah via TUHS
  1 sibling, 1 reply; 9+ messages in thread
From: Steve Nickolas @ 2024-03-01 16:23 UTC (permalink / raw)
  To: TUHS main list

On Fri, 1 Mar 2024, Douglas McIlroy wrote:

> One might argue that replacing "flag" by "option", thus doubling the number
> of syllables, was a small step in that direction. In fact it was a
> deliberate attempt to discard jargon in favor of normal English usage.

I prolly got the term "switch" from IBM/Microsoft, but that's the term I'm 
used to (and my own implementations of Unix utilities do use the term in 
their error messages).

-uso.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-01 15:49 [TUHS] Of flags and keyletters Douglas McIlroy
  2024-03-01 16:23 ` [TUHS] " Steve Nickolas
@ 2024-03-01 16:56 ` Bakul Shah via TUHS
  2024-03-02  0:33   ` silas poulson via TUHS
  2024-03-02 18:24   ` Paul Winalski
  1 sibling, 2 replies; 9+ messages in thread
From: Bakul Shah via TUHS @ 2024-03-01 16:56 UTC (permalink / raw)
  To: TUHS main list



> On Mar 1, 2024, at 7:49 AM, Douglas McIlroy <douglas.mcilroy@dartmouth.edu> wrote:
> 
> > why did AT&T refer to "flags" as "keyletters" in its SysV documentation?
> 
> Bureaucracies beget bureaucratese--polysyllabic obfuscation, witness APPLICATION USAGE in place of BUGS.
> 
> One might argue that replacing "flag" by "option", thus doubling the number of syllables, was a small step in that direction. In fact it was a deliberate attempt to discard jargon in favor of normal English usage.

Use of "flag" for this purpose seems strange. "option" makes more sense.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-01 16:23 ` [TUHS] " Steve Nickolas
@ 2024-03-01 19:44   ` Paul Winalski
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Winalski @ 2024-03-01 19:44 UTC (permalink / raw)
  To: Steve Nickolas; +Cc: TUHS main list

On 3/1/24, Steve Nickolas <usotsuki@buric.co> wrote:
> On Fri, 1 Mar 2024, Douglas McIlroy wrote:
>
>> One might argue that replacing "flag" by "option", thus doubling the
>> number
>> of syllables, was a small step in that direction. In fact it was a
>> deliberate attempt to discard jargon in favor of normal English usage.

IBM did a similar thing in their use of the term "main storage" for
what the whole rest of the industry calls "main memory".  They felt
that "memory" was too anthropomorphic.

> I prolly got the term "switch" from IBM/Microsoft, but that's the term I'm
> used to (and my own implementations of Unix utilities do use the term in
> their error messages).

The term "switch" for command line options is pretty much
universal--it's not IBM specific and predates the existence of
Microsoft by about two decades.

Back in the 1950s when you ran one program at a time on a computer,
there were toggle switches on the control panel that could be read by
the running program.  Combinations of these were in common use to
select various options of program behavior.  When operating systems
came along, you couldn't pass the info to running programs by having
the operator physically flip a switch on the console.  I remember that
IBM DOS/360 had a Job Control Language (JCL) statement "// UPSI" (UPSI
= User Program Switch Indicators) that allowed one to set the
"switches" as seen by the running user program.

When interactive and timesharing systems came along, they supported
command line options in place of the original switches.  In DEC's
operating systems for PDP-8 -10, and -11, these were originally a
slash character followed by a single letter or digit.  The slash was
used because it resembles a toggle switch.  Unix was using the slash
as a directory separator in pathnames and so they used the hyphen to
introduce command options instead.  Microsoft's command line interface
for the PC was modeled after DEC's RT-11 operating system and used
slash for command options.  When they implemented Unix-style directory
paths, they had to use backslash as the separator because forward
slash was already in use.

-Paul W.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-01 16:56 ` Bakul Shah via TUHS
@ 2024-03-02  0:33   ` silas poulson via TUHS
  2024-03-02 18:53     ` Lars Brinkhoff
  2024-03-02 18:24   ` Paul Winalski
  1 sibling, 1 reply; 9+ messages in thread
From: silas poulson via TUHS @ 2024-03-02  0:33 UTC (permalink / raw)
  To: TUHS main list


> On 1 Mar 2024, at 16:56, Bakul Shah via TUHS <tuhs@tuhs.org> wrote:
> Use of "flag" for this purpose seems strange. "option" makes more sense

I always took it to be a semi descriptive joke, like “mouse”, with the 
sort of flag you wave. At least that’s what I assumed the origin was.

Silas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-01 16:56 ` Bakul Shah via TUHS
  2024-03-02  0:33   ` silas poulson via TUHS
@ 2024-03-02 18:24   ` Paul Winalski
  2024-03-02 18:35     ` Warner Losh
  1 sibling, 1 reply; 9+ messages in thread
From: Paul Winalski @ 2024-03-02 18:24 UTC (permalink / raw)
  To: Bakul Shah; +Cc: TUHS main list

On 3/1/24, Bakul Shah via TUHS <tuhs@tuhs.org> wrote:
>
> Use of "flag" for this purpose seems strange. "option" makes more sense.

I think the term "flag" for command line options comes from the way
that those options are typically implemented in code.  The command
line options are usually used to set a boolean variable in the program
that can be tested to see if the option was present.

"Flag" as a synonym for a boolean variable in turn comes from the
ordinary English verb "to flag", meaning "to mark or identify"

-Paul W.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-02 18:24   ` Paul Winalski
@ 2024-03-02 18:35     ` Warner Losh
  0 siblings, 0 replies; 9+ messages in thread
From: Warner Losh @ 2024-03-02 18:35 UTC (permalink / raw)
  To: Paul Winalski; +Cc: Bakul Shah, TUHS main list

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

On Sat, Mar 2, 2024, 11:24 AM Paul Winalski <paul.winalski@gmail.com> wrote:

> On 3/1/24, Bakul Shah via TUHS <tuhs@tuhs.org> wrote:
> >
> > Use of "flag" for this purpose seems strange. "option" makes more sense.
>
> I think the term "flag" for command line options comes from the way
> that those options are typically implemented in code.  The command
> line options are usually used to set a boolean variable in the program
> that can be tested to see if the option was present.
>
> "Flag" as a synonym for a boolean variable in turn comes from the
> ordinary English verb "to flag", meaning "to mark or identify"
>

And the variables set were named Xflag.

Warner

>

[-- Attachment #2: Type: text/html, Size: 1388 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Re: Of flags and keyletters
  2024-03-02  0:33   ` silas poulson via TUHS
@ 2024-03-02 18:53     ` Lars Brinkhoff
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Brinkhoff @ 2024-03-02 18:53 UTC (permalink / raw)
  To: silas poulson via TUHS; +Cc: silas poulson

silas poulson wrote:
> Bakul Shah wrote:
>> Use of "flag" for this purpose seems strange. "option" makes more sense
> I always took it to be a semi descriptive joke, like “mouse”, with the 
> sort of flag you wave.

At this point we should recall the quote "cat came back from Berkeley
waving flags", attributed to Rob Pike.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [TUHS] Of flags and keyletters
@ 2024-02-29 17:21 Dave Horsfall
  0 siblings, 0 replies; 9+ messages in thread
From: Dave Horsfall @ 2024-02-29 17:21 UTC (permalink / raw)
  To: The Eunuchs Hysterical Society

Just recollecting old memories: why did AT&T refer to "flags" as 
"keyletters" in its SysV documentation?  Some sort of denial of 
Ed5/6/7/BSD's very existence?

The one good they did was the TTY driver...

-- Dave, who used to work for a SysVile shop

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-02 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01 15:49 [TUHS] Of flags and keyletters Douglas McIlroy
2024-03-01 16:23 ` [TUHS] " Steve Nickolas
2024-03-01 19:44   ` Paul Winalski
2024-03-01 16:56 ` Bakul Shah via TUHS
2024-03-02  0:33   ` silas poulson via TUHS
2024-03-02 18:53     ` Lars Brinkhoff
2024-03-02 18:24   ` Paul Winalski
2024-03-02 18:35     ` Warner Losh
  -- strict thread matches above, loose matches on Subject: below --
2024-02-29 17:21 [TUHS] " Dave Horsfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).