mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-17 16:30:33 +00:00
Makefile:
- make all object files have ProDOS file names. This doesn't affect source files. - install GNO version of man page rather than the BSD one. ftp.1G - fixed up some register interpolations that made the GNO nroff puke
This commit is contained in:
parent
d08a55f17e
commit
bc7e61f040
@ -1,15 +1,26 @@
|
|||||||
# $Id: Makefile,v 1.2 1998/02/09 08:32:51 taubert Exp $
|
# $Id: Makefile,v 1.3 1998/02/15 00:31:00 gdr-ftp Exp $
|
||||||
|
|
||||||
PROG= ftp
|
PROG= ftp
|
||||||
MAIN= main
|
MAIN= main
|
||||||
SRCS= main.c cmdtab.c domacro.c ruserpass.c ftp.c glob.c cmds.c ftp_var.c
|
SRCS= main.c cmdtab.c domacro.c ruserpass.c ftp.c glob.c cmds.c ftp_var.c
|
||||||
|
|
||||||
|
# We explicitly set the object files here so that we can avoid a
|
||||||
|
# non-ProDOS name on the /obj partition. Consequently, we also have
|
||||||
|
# to give an explicit rule for making the ftp.var.o file.
|
||||||
|
FAKESRCS = $(SRCS:s,_,.,g)
|
||||||
|
OBJS = $(OBJ_DIR){$(FAKESRCS:b)}.o
|
||||||
|
|
||||||
|
HAS_BSD_MANPAGE = true # use ftp.1G rather than ftp.1
|
||||||
|
|
||||||
STACK= 2048
|
STACK= 2048
|
||||||
LDADD= -lnetdb
|
LDADD= -lnetdb
|
||||||
DEBUG= 25
|
DEBUG= 25
|
||||||
|
|
||||||
.INCLUDE: /src/gno/prog.mk
|
.INCLUDE: /src/gno/prog.mk
|
||||||
|
|
||||||
|
$(OBJ_DIR)ftp.var.o: ftp_var.c
|
||||||
|
$(CC) -o $@ $(CFLAGS) -c $<
|
||||||
|
|
||||||
#%.o : %.c
|
#%.o : %.c
|
||||||
# $(CC) -o $@ $(CFLAGS) $(__OFLAG) -c $<
|
# $(CC) -o $@ $(CFLAGS) $(__OFLAG) -c $<
|
||||||
# @gsh -c ${mktmp cd $(OBJ_DIR); nameobj -p $@}
|
# @gsh -c ${mktmp cd $(OBJ_DIR); nameobj -p $@}
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" @(#)ftp.1 6.18 (Berkeley) 7/30/91
|
.\" @(#)ftp.1 6.18 (Berkeley) 7/30/91
|
||||||
.\"
|
.\"
|
||||||
|
.\" $Id: ftp.1G,v 1.2 1998/02/15 00:31:01 gdr-ftp Exp $
|
||||||
|
.\"
|
||||||
.TH FTP 1 "October 1997" GNO "Commands and Applications"
|
.TH FTP 1 "October 1997" GNO "Commands and Applications"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.BR ftp
|
.BR ftp
|
||||||
@ -56,7 +58,7 @@ as report on data transfer statistics.
|
|||||||
.IP "\fB-n\fR"
|
.IP "\fB-n\fR"
|
||||||
Restrains
|
Restrains
|
||||||
.BR ftp
|
.BR ftp
|
||||||
from attempting \*(Lqauto-login\*(Rq upon initial connection.
|
from attempting \`auto-login\' upon initial connection.
|
||||||
If auto-login is enabled,
|
If auto-login is enabled,
|
||||||
.BR ftp
|
.BR ftp
|
||||||
will check the
|
will check the
|
||||||
@ -231,7 +233,7 @@ Set the file transfer
|
|||||||
.BR form
|
.BR form
|
||||||
to
|
to
|
||||||
.IR format .
|
.IR format .
|
||||||
The default format is \*(Lqfile\*(Rq.
|
The default format is \`file\'.
|
||||||
.IP "\fBget\fR \fIremote-file\fR [\fIlocal-file\fR]"
|
.IP "\fBget\fR \fIremote-file\fR [\fIlocal-file\fR]"
|
||||||
Retrieve the
|
Retrieve the
|
||||||
.IR remote-file
|
.IR remote-file
|
||||||
@ -412,7 +414,7 @@ Set the file transfer
|
|||||||
.BR mode
|
.BR mode
|
||||||
to
|
to
|
||||||
.IR mode-name .
|
.IR mode-name .
|
||||||
The default mode is \*(Lqstream\*(Rq mode.
|
The default mode is \`stream\' mode.
|
||||||
.IP "\fBmodtime\fR \fIfile-name\fR"
|
.IP "\fBmodtime\fR \fIfile-name\fR"
|
||||||
Show the last modification time of the file on the remote machine.
|
Show the last modification time of the file on the remote machine.
|
||||||
.IP "\fBmput\fR \fIlocal-files\fR"
|
.IP "\fBmput\fR \fIlocal-files\fR"
|
||||||
@ -742,7 +744,7 @@ Set the file transfer
|
|||||||
.IR structure
|
.IR structure
|
||||||
to
|
to
|
||||||
.IR struct-name .
|
.IR struct-name .
|
||||||
By default \*(Lqstream\*(Rq structure is used.
|
By default \`stream\' structure is used.
|
||||||
.IP \fBsunique\fR
|
.IP \fBsunique\fR
|
||||||
Toggle storing of files on remote machine under unique file names.
|
Toggle storing of files on remote machine under unique file names.
|
||||||
Remote ftp server must support ftp protocol STOU command for
|
Remote ftp server must support ftp protocol STOU command for
|
||||||
@ -788,7 +790,7 @@ is completed if the remote server did not require it
|
|||||||
for logging in.
|
for logging in.
|
||||||
Unless
|
Unless
|
||||||
.BR ftp
|
.BR ftp
|
||||||
is invoked with \*(Lqauto-login\*(Rq disabled, this
|
is invoked with \`auto-login\' disabled, this
|
||||||
process is done automatically on initial connection to
|
process is done automatically on initial connection to
|
||||||
the FTP server.
|
the FTP server.
|
||||||
.IP \fBverbose\fR
|
.IP \fBverbose\fR
|
||||||
@ -852,9 +854,9 @@ with the argument supplied, and reads (writes) from the stdout
|
|||||||
(stdin).
|
(stdin).
|
||||||
If the shell command includes spaces, the argument
|
If the shell command includes spaces, the argument
|
||||||
must be quoted; e.g.
|
must be quoted; e.g.
|
||||||
\*(Lq" ls -lt"\*(Rq.
|
\`" ls -lt"\'.
|
||||||
A particularly
|
A particularly
|
||||||
useful example of this mechanism is: \*(Lqdir more\*(Rq.
|
useful example of this mechanism is: \`dir more\'.
|
||||||
.IP 3.
|
.IP 3.
|
||||||
Failing the above checks, if ``globbing'' is enabled,
|
Failing the above checks, if ``globbing'' is enabled,
|
||||||
local file names are expanded
|
local file names are expanded
|
||||||
@ -902,8 +904,8 @@ The FTP specification specifies many parameters which may
|
|||||||
affect a file transfer.
|
affect a file transfer.
|
||||||
The
|
The
|
||||||
.BR type
|
.BR type
|
||||||
may be one of \*(Lqascii\*(Rq, \*(Lqimage\*(Rq (binary),
|
may be one of \`ascii\', \`image\' (binary),
|
||||||
\*(Lqebcdic\*(Rq, and \*(Lqlocal byte size\*(Rq (for PDP-10's and PDP-20's
|
\`ebcdic\', and \`local byte size\' (for PDP-10's and PDP-20's
|
||||||
mostly).
|
mostly).
|
||||||
.BR Ftp
|
.BR Ftp
|
||||||
supports the ascii and image types of file transfer,
|
supports the ascii and image types of file transfer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user