Commit Graph

216 Commits

Author SHA1 Message Date
Assar Westerlund
3e4a6a8c51 PDC are unable to give correct instructions to their users and
therefore we have to add strange directories to the PATH.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@837 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 21:24:36 +00:00
Assar Westerlund
da612b15ff Support sending arguments to telnet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@836 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:59:17 +00:00
Assar Westerlund
ec7107add1 rsh can reside in path or %bindir%
support extra arguments to xterm (from <jas@pdc.kth.se>)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@835 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:56:06 +00:00
Assar Westerlund
e9cb8fee82 Try to find some kind of terminal emulator for X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:42:07 +00:00
Assar Westerlund
630a0591f2 Look for kx in $PATH and %bindir%
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 17:25:25 +00:00
Assar Westerlund
313f839b57 (get_xsockets): `mkdir' the correct directory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@832 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 17:24:52 +00:00
Assar Westerlund
071de55c00 Use `set --'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@821 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-02 18:37:14 +00:00
Assar Westerlund
1a5d3874e8 check for failure from kx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@815 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-30 11:31:02 +00:00
Assar Westerlund
2955c74442 Now using SIGUSR2.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@814 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-30 05:15:01 +00:00
Assar Westerlund
c6bbf229a6 Now using SIGUSR1 to mean `exit when number of children goes down to zero'.
SIGUSR2 is `exit when number of children is equal to zero'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@813 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-30 05:14:25 +00:00
Assar Westerlund
629c4ac2b2 Don't build if we have no X11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@806 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 23:50:03 +00:00
Assar Westerlund
abcc42866c Removed SYSLOG-garbage and max.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 23:40:34 +00:00
Assar Westerlund
bdeb9d9491 Updated man pages for kauthd, kx, and kxd.
Added man pages for rxterm and rxtelnet


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@784 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 22:04:52 +00:00
Assar Westerlund
c22bbc66a7 Remove prototype of childhandler.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@783 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:44:43 +00:00
Assar Westerlund
8f597f6966 Remove childhandler. Not common any more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@782 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:44:30 +00:00
Assar Westerlund
7014977fe6 Send SIGUSR1 to kx before starting xterm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@781 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:44:05 +00:00
Assar Westerlund
8778e56293 Send USR1 to kx at appropriate moment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@780 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:43:33 +00:00
Assar Westerlund
4b990eff03 new childhandler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@779 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:43:07 +00:00
Assar Westerlund
785ad8784f Die after receiving SIGUSR1 and when number of children goes to zero.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@778 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:42:58 +00:00
Assar Westerlund
a459a9e230 writeauth.c as separate file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@775 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:18:43 +00:00
Assar Westerlund
a24330c3fa `-d' option to disable forking.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@774 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:18:27 +00:00
Assar Westerlund
70e77d3abd Compile and link writeauth.c if necessary.
For some stupid reason $< does not work correctly in BSD make.  Use
$(srcdir) instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@773 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 21:17:58 +00:00
Johan Danielsson
e308b72e43 From X11R6.1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@767 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 16:59:42 +00:00
Johan Danielsson
760bcfe9f0 Include XauWriteAuth when necessary.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@766 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 16:57:29 +00:00
Johan Danielsson
ccf879a071 Change -lXau to @LIB_XauReadAuth@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@765 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 16:56:39 +00:00
Assar Westerlund
3350b9c8e2 foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@764 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 15:46:00 +00:00
Assar Westerlund
4f06a53bad merged in TCP-branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@763 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 14:38:32 +00:00
Johan Danielsson
7ed1fa8dfd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@756 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 21:08:02 +00:00
Johan Danielsson
21b43c2d44 Create rxte{lnet,rm} at compile time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@755 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 21:07:07 +00:00
Johan Danielsson
1433383cc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@753 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 02:41:56 +00:00
Assar Westerlund
bbc8c0a25c (main): For now always use passive mode. That's the only thing that
has been tested and not a lot of people are going to use non-passive
anyways.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@752 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:09:45 +00:00
Assar Westerlund
d4310bdab1 Forgot some read' that should be krb_net_read'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@751 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:02:26 +00:00
Assar Westerlund
4668bc1b11 (doit): read display_number in ascii.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:00:32 +00:00
Assar Westerlund
4cff2498aa (connect_host): write display_number in ascii.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@749 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:00:12 +00:00
Assar Westerlund
cb41a1ee9b shell scripts for doing remote X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:07:10 +00:00
Assar Westerlund
b511fcdd77 (get_local_xsocket): Generate the /tmp/.X11-unix directory with the
sticky bit set.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@747 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:06:47 +00:00
Assar Westerlund
18808fa9cd Install rxterm and rxtelnet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@746 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:05:35 +00:00
Assar Westerlund
56d530b451 (get_local_xsocket): try to bind the socket instead of checking for
existence with lstat.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@744 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 21:13:23 +00:00
Johan Danielsson
584687bcd5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@742 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:56 +00:00
Johan Danielsson
4345835c38 Save display socket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@741 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:09 +00:00
Johan Danielsson
fe8dde47bb Don't close remote socket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@740 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:54 +00:00
Johan Danielsson
8ec9e5d7ec Cleanup when remote side exits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@739 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:33 +00:00
Johan Danielsson
403e1eb526 * -> krb_net_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@737 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 04:22:27 +00:00
Johan Danielsson
ab0afe3e7c foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@736 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 03:13:11 +00:00
Assar Westerlund
2322e86659 (doit): Send over the display number and the authority file actually
used to kx.

(create_and_write_cookie):  New function to generate and write into a
file a local cookie used between this pseudo-server and the clients on
this host.

(start_session):  New function to check and remove the local cookie
before the data is sent over to `kx'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@732 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:20:15 +00:00
Assar Westerlund
5910bad6f8 (display_num, xauthfile): New variables.
Now `kx' prints out the values of those two variables and then goes to
the background to enable some script to set these on the other host.

(start_session): New function that adds a local cookie before sending
the rest of the connection to the local X-server.

(main): Also recognize "unix" as a local DISPLAY.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@731 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:18:30 +00:00
Assar Westerlund
0d3f4d16c3 <X11/Xauth.h> used.
(get_local_xsocket): Changed parameter.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@730 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:14:39 +00:00
Assar Westerlund
0ebf3e6925 (get_local_xsocket): Now try to allocate the first free socket in
/tmp/.X11-unix.  Also `mkdir' this directory first.  Return the number
of the display opened.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@729 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:13:43 +00:00
Assar Westerlund
e02436a53f Added X libraries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@728 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:12:25 +00:00
Assar Westerlund
a95bae9e0a All signal handlers return RETSIGTYPE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@712 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:04:46 +00:00