Assar Westerlund
83a479f198
add man pages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:13:05 +00:00
Johan Danielsson
e2e63ad12b
free some memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:48:58 +00:00
Johan Danielsson
37491685e5
add /etc/issue{,.net}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:38 +00:00
Johan Danielsson
ecfb13fe6c
some cleanup:
...
* pass `--' to all programs after args
* use `show_file' to output contents of various files
* use built-in ls if there is no external
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:04 +00:00
Assar Westerlund
f8546e0754
don't use sa_len as a parameter, it's defined on Irix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7657 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 17:55:56 +00:00
Johan Danielsson
7e882f58c1
(dataconn): make sure from points to actual data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7649 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 12:02:35 +00:00
Assar Westerlund
d0c80517a5
(dolog): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7533 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 12:56:47 +00:00
Assar Westerlund
c2b9f6c147
(dolog): use getnameinfo_verified
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7525 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 10:53:06 +00:00
Assar Westerlund
fe81c21fd5
replace inaddr2str by getnameinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7516 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 00:19:04 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
8dd25ed0b9
(getdatasock): make sure to keep the port-number of the outgoing
...
connections. It has to be `ftp-data' or some people might get upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7455 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 19:18:38 +00:00
Assar Westerlund
f331fef9a4
(args): set correct variable when `-l' so that logging actually works
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 15:58:06 +00:00
Assar Westerlund
e93c46c31d
(make_fileinfo): cast to allow for non-const prototypes of readlink
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7416 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-20 20:49:41 +00:00
Assar Westerlund
b58531efe4
(args): use arg_counter for `l'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 15:59:42 +00:00
Assar Westerlund
9257b9f7f5
(S_ISSOCK, S_ISLNK): fallback definitions for systems that don't have
...
them (such as ultrix)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7313 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 04:52:56 +00:00
Assar Westerlund
b13b9064ff
foo const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:22:38 +00:00
Assar Westerlund
a42059f379
(list_file): correct prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7293 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:20:38 +00:00
Assar Westerlund
cb5017700f
(make_fileinfo): cast uid's and gid's to unsigned in printf, we don't
...
know what types they might be.
(lstat_file): conditionalize the kafs part on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7284 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:20:20 +00:00
Assar Westerlund
5fb424fe88
<sys/ioccom.h> is needed for kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7283 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:19:20 +00:00
Assar Westerlund
2f07ab5e2c
some const-ing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7260 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 18:56:47 +00:00
Assar Westerlund
c2b6deeb65
one \n -> \r\n
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7251 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:19:07 +00:00
Assar Westerlund
0c1544c4b7
(lstat_file): don't set st_mode, it should already be correct
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7250 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:18:06 +00:00
Assar Westerlund
b4d06166a8
don't use warnx to print errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7249 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:16:19 +00:00
Assar Westerlund
61033609cd
(builtin_ls): fix typo, 'd' shouldn't imply 'f'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7247 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:01:15 +00:00
Assar Westerlund
9a50a06129
(lstat_file): new function for avoiding stating AFS mount points.
...
From Love <lha@s3.kth.se >
(list_files): use `lstat_file'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7245 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:53:33 +00:00
Assar Westerlund
408574f1b0
some const-poisoning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:51:52 +00:00
Assar Westerlund
4e75081dcf
(args): add -B' as an alias for
--builtin-ls' to allow for stupid
...
inetds that only support two arguments. From Love <lha@s3.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7243 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:28:43 +00:00
Assar Westerlund
dec6af64d5
(help): it's unnecessary to interpret help strings as printf commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7234 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:56:23 +00:00
Assar Westerlund
38c83dd6ad
(show_issue): don't interpret contents of /etc/issue* as printf
...
commands. From Brian A May <bmay@dgs.monash.edu.au >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7233 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:55:19 +00:00
Johan Danielsson
dd983987fd
(kauth): complain if protection level isn't `private'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7220 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:25:38 +00:00
Johan Danielsson
ecf66fc91e
change -l' flag to use arg_collect (this makes
-ll' work again)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7186 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-18 17:19:14 +00:00
Johan Danielsson
ce4361a985
(list_file): pass filename to ls
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7180 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-18 09:43:35 +00:00
Assar Westerlund
bda0ad357e
check memory and such
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7157 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:55:38 +00:00
Björn Groenvall
4abf3bf24c
SVR4 don't have major and minor but a new interface.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7145 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-15 15:05:25 +00:00
Björn Groenvall
91bd98d2c4
d_namlen is not portable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7122 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-08 17:24:10 +00:00
Assar Westerlund
76ab5ccd3f
(OPTS): shouldn't this be a STRING instead of foo?
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7111 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 20:40:50 +00:00
Johan Danielsson
4fbe521c04
FEAT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7109 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 15:37:50 +00:00
Assar Westerlund
70f30840d8
fall-back definitions for constans and casts for printfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7106 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 21:26:21 +00:00
Johan Danielsson
04c0272f48
ls.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7090 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:39:27 +00:00
Johan Danielsson
3859c9fb28
protos
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7089 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:38:42 +00:00
Johan Danielsson
4baca61c54
(main): make this use getarg; add `list_file'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7088 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:38:14 +00:00
Johan Danielsson
333c91b357
(LIST): call list_file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7087 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:37:02 +00:00
Johan Danielsson
cd402a1100
simple ls
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7086 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:36:30 +00:00
Assar Westerlund
98074e0865
add prototype for fclose to make sunos happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 21:31:54 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Johan Danielsson
15171c7b29
(do_login): show issue-file
...
(send_data): change handling of zero-byte files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6836 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 09:51:22 +00:00
Assar Westerlund
0d957a3741
add missing brace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6817 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-15 23:29:38 +00:00
Assar Westerlund
2d5a5da6a2
(send_data): avoid calling mmap with `len == 0'. Some mmap:s rather
...
dislike that (Solaris) and some munmap get grumpy later.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6804 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 22:11:54 +00:00
Assar Westerlund
2d425c89f4
save file names when doing commands that might get aborted (and
...
longjmp:ed out of) to avoid overwriting them
also remove extra closing brace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:27 +00:00
Johan Danielsson
c599086c16
change site find' to
site locate' (to match what it does, and other
...
implementations) keep find as an alias
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6675 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-01 20:11:13 +00:00