<application> vs <command>

Поиск
Список
Период
Сортировка
Искать

<application> vs <command>

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Can someone clarify when we should use  and when we should use
?  I see postmaster used with application, but psql and
createdb used with command.  Is this correct?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: <application> vs <command>

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian  writes:
> Can someone clarify when we should use  and when we should use
> ?

More generally, what are the standard set of markup tags that should be
used?  I know that I tend to overuse foo</> because I'm not
clear on the alternatives like , , 

Re: <application> vs <command>

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> Bruce Momjian writes:
> 
> > Can someone clarify when we should use  and when we should use
> > ?  I see postmaster used with application, but psql and
> > createdb used with command.  Is this correct?
> 
> >From "DocBook: The Definitive Guide":
> 
> | Command -- The name of an executable program or other software command
> |
> | This element holds the name of an executable program or the text of a
> | command that a user enters to execute a program.
> 
> | Application -- The name of a software program
> |
> | The appelation "application" is usually reserved for larger software
> | packages--WordPerfect, for example, but not grep. In some domains,
> | Application may also apply to a piece of hardware.
> 
> One could think of psql as a separate "application", but postmaster is
> certainly a command only.
> 
> I'm not sure why, given the definition,  is put out in bold.
> Monospaced would make more sense to me.   could be a remote
> candidate for bold.

Actually, postmaster seems bigger to me that psql.  Are the outputs for
the two tags output differently?  If so, we better use them
consistently.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: <application> vs <command>

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Bruce Momjian writes:

> Can someone clarify when we should use  and when we should use
> ?  I see postmaster used with application, but psql and
> createdb used with command.  Is this correct?

From "DocBook: The Definitive Guide":

| Command -- The name of an executable program or other software command
|
| This element holds the name of an executable program or the text of a
| command that a user enters to execute a program.

| Application -- The name of a software program
|
| The appelation "application" is usually reserved for larger software
| packages--WordPerfect, for example, but not grep. In some domains,
| Application may also apply to a piece of hardware.

One could think of psql as a separate "application", but postmaster is
certainly a command only.

I'm not sure why, given the definition,  is put out in bold.
Monospaced would make more sense to me.   could be a remote
candidate for bold.

-- 
Peter Eisentraut   peter_e@gmx.net

Re: <application> vs <command>

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Tom Lane writes:

> More generally, what are the standard set of markup tags that should be
> used?  I know that I tend to overuse foo</> because I'm not
> clear on the alternatives like , , 

Re: <application> vs <command>

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> Bruce Momjian writes:
> 
> > Can someone clarify when we should use  and when we should use
> > ?  I see postmaster used with application, but psql and
> > createdb used with command.  Is this correct?
> 
> >From "DocBook: The Definitive Guide":
> 
> | Command -- The name of an executable program or other software command
> |
> | This element holds the name of an executable program or the text of a
> | command that a user enters to execute a program.
> 
> | Application -- The name of a software program
> |
> | The appelation "application" is usually reserved for larger software
> | packages--WordPerfect, for example, but not grep. In some domains,
> | Application may also apply to a piece of hardware.
> 
> One could think of psql as a separate "application", but postmaster is
> certainly a command only.
> 
> I'm not sure why, given the definition,  is put out in bold.
> Monospaced would make more sense to me.   could be a remote
> candidate for bold.

I see both  and  SGML tags is used for the
following items in our current CVS:
		
	createdb
	cvs checkout
	ecpg
	gcc
	gzip
	initdb
	pg_dumpall
	pgtclsh
	postmaster
	ps
	psql
	sed
	ssh
	strace
	sysctl
	tcsh

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: <application> vs <command>

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

OK, Peter, can I clean these up?  Seems like a quiet time to do that. 
Are applications things you interact with, like psql, while commands are
things like grep and createdb?

In reading the definition below, I thought PostgreSQL was an
application, while psql and postmaster were both commands.  You type
psql and postmaster, but not PostgreSQL.  That would fit with the
WordPerfect comment.

---------------------------------------------------------------------------

> Bruce Momjian writes:
> 
> > Can someone clarify when we should use  and when we should use
> > ?  I see postmaster used with application, but psql and
> > createdb used with command.  Is this correct?
> 
> >From "DocBook: The Definitive Guide":
> 
> | Command -- The name of an executable program or other software command
> |
> | This element holds the name of an executable program or the text of a
> | command that a user enters to execute a program.
> 
> | Application -- The name of a software program
> |
> | The appelation "application" is usually reserved for larger software
> | packages--WordPerfect, for example, but not grep. In some domains,
> | Application may also apply to a piece of hardware.
> 
> One could think of psql as a separate "application", but postmaster is
> certainly a command only.
> 
> I'm not sure why, given the definition,  is put out in bold.
> Monospaced would make more sense to me.   could be a remote
> candidate for bold.
> 
> -- 
> Peter Eisentraut   peter_e@gmx.net
> 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
FAQ