Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #68426

Re: Quick Question

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Quick Question
Date 2015-08-26 08:36 -0700
Organization None to speak of
Message-ID <lnvbc2vz7q.fsf@kst-u.example.com> (permalink)
References <67823de8-55d1-4b17-bd06-c50c95410766@googlegroups.com> <mrja0q$ba2$1@dont-email.me> <HTcDx.358368$LU5.217553@fx12.am4> <mrjre4$tki$1@speranza.aioe.org> <d45kp8Fq2jbU1@mid.individual.net>

Show all headers | View raw


"Osmium" <r124c4u102@comcast.net> writes:
> "glen herrmannsfeldt" wrote:
>> comp.lang.c-the-whole-c-and-nothing-but-c
>>
>> Is # legal in a newsgroup name?
>>
>> If I remember right, the PL/I group is named comp.lang.pl1 because
>> comp.lang.pl/i isn't allowed.
>
> Since addresses start out with http://  it is pretty obvious that a name 
> containing '/' is going to lead to problems.  When making notes in file 
> names and suchlike my choice for "punctuation belongs here" is '%'.  As near 
> as I know it is bulletproof. 

In the days before NNTP, news articles were stored locally under a
directory typically called /usr/spool/news (news servers might still
do this, but end users generally don't have direct access to the
server system).  Newsgroup names would be split on the '.' character.
Article #12345 of comp.lang.c would be stored in the file
    /usr/spool/news/comp/lang/c/12345

This scheme would not distinguish between comp.lang.pl/i and
comp.lang.pl.i, which would logically be under the comp.lang.pl
hierarchy.  I have no idea whether a name like "comp.lang.pl/i" would
have been treated as "comp.lang.pl.i", or would have caused an error.

On Unix-like systems, the only characters not permitted in file names
(including directory and device names) are '/' (the directory delimiter)
and '\0'.  Which means you can cause serious confusion by creating a
file with a '\n' in its name.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Quick Question dougmmika@gmail.com - 2015-08-25 19:22 -0700
  Re: Quick Question "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-25 19:24 -0700
  Re: Quick Question James Kuyper <jameskuyper@verizon.net> - 2015-08-25 23:00 -0400
    Re: Quick Question Richard Heathfield <rjh@cpax.org.uk> - 2015-08-26 07:19 +0100
      Re: Quick Question glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-26 07:55 +0000
        Re: Quick Question "Osmium" <r124c4u102@comcast.net> - 2015-08-26 06:04 -0500
          Re: Quick Question Richard Heathfield <rjh@cpax.org.uk> - 2015-08-26 12:58 +0100
            Re: Quick Question "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-26 05:20 -0700
          Re: Quick Question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-26 13:17 +0100
            Re: Quick Question "Osmium" <r124c4u102@comcast.net> - 2015-08-26 08:15 -0500
          Re: Quick Question Keith Thompson <kst-u@mib.org> - 2015-08-26 08:36 -0700
      Re: Quick Question David Brown <david.brown@hesbynett.no> - 2015-08-26 13:09 +0200
        Re: Quick Question Richard Heathfield <rjh@cpax.org.uk> - 2015-08-26 13:01 +0100
          Re: Quick Question David Brown <david.brown@hesbynett.no> - 2015-08-26 14:30 +0200
          Re: Quick Question Lowell Gilbert <lgusenet@be-well.ilk.org> - 2015-08-26 09:14 -0400
            Re: Quick Question Ken Brody <kenbrody@spamcop.net> - 2015-08-26 13:40 -0400
          Re: Quick Question James Kuyper <jameskuyper@verizon.net> - 2015-08-26 10:23 -0400
          Re: Quick Question Keith Thompson <kst-u@mib.org> - 2015-08-26 08:39 -0700
            Re: Quick Question Ken Brody <kenbrody@spamcop.net> - 2015-08-26 13:43 -0400
            Re: Quick Question Keith Thompson <kst-u@mib.org> - 2015-08-27 09:26 -0700
          Re: Quick Question Ken Brody <kenbrody@spamcop.net> - 2015-08-26 13:39 -0400
            Re: Quick Question Bartc <bc@freeuk.com> - 2015-08-26 18:46 +0100
            Re: Quick Question James Kuyper <jameskuyper@verizon.net> - 2015-08-26 14:08 -0400
            Re: Quick Question Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-26 22:41 -0700
              Re: Quick Question Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2015-08-27 08:40 -0600
                Re: Quick Question Paul N <gw7rib@aol.com> - 2015-08-27 13:49 -0700
                Re: Quick Question Keith Thompson <kst-u@mib.org> - 2015-08-27 14:28 -0700
        Re: Quick Question James Kuyper <jameskuyper@verizon.net> - 2015-08-26 10:24 -0400

csiph-web