>>>>> "morris" == morris <[EMAIL PROTECTED]> writes:
morris> In this morning, it was discovered that the vnc binary and contributed
morris> links to AIX platform was invalid. The homepage maintained by Chuck
morris> Hines in http://www.idsi.net/~bshma/chuck/vnc.html cannot be accessed.
Hm...that's interesting. Apparently either my old Martial Arts school has
decided that the web page wasn't worth keeping around (quite possible since
I'm not there to update it any more and didn't keep it very current even when
I was) or something is wrong at the ISP's end (which also happened
occasionally).
morris> Is the links relocated?
Nope.
morris> I just wanted to download the vnc server (binary or source) to install
morris> in a AIX 4.3.3 box.
Well, I've included the old patch file that I used to use below, and you can
get the original source from the main VNC site. Hopefully that should be
sufficient to get you going (or a shove in the right direction, at least).
In the meantime, someone at AT&T might want to put this patch on the main web
site, along with a note about the site being down...and this weekend I'll see
about setting up another web page for it (been meaning to set up a personal
web site through my cable modem provider anyways). I don't know if I still
have the tar file with the binaries laying around though, or the html page
that I had posted there for that matter. I *might* have it archvied on a
CDROM at home, but I'm not sure...
Another choice is downloading the precompiled AIX version from Tridia:
http://www.tridiavnc.com/
morris> Also, I would like to run in inetd. Is there anyone who can point out
morris> the tricks to make it done?
Sorry, can't help there. But a number of people have done this on other
platforms, just do a search on the mailing list archives for more info.
morris> Thanks for any advice or pointers in advance.
Hope this helps.
Chuck
--
Charles K. Hines <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Principal Scientist at ReQuest Technologies Inc (http://www.ReQuestTech.com/)
Martial Arts Instructor [Modern Arnis and Balintawak Escrima]
"Go back to sleep, Chuck. You're just havin' a nightmare
-- of course, we ARE still in Hell." (Gary Larson)
======================================================================
--------------->8 'vnc-3.3.3-aix-4.1.5-patch' cut here 8<---------------
--- ./Xvnc/programs/Xserver/Xext/xtest1dd.c.orig Mon May 6 01:55:42 1996
+++ ./Xvnc/programs/Xserver/Xext/xtest1dd.c Fri Sep 3 11:31:12 1999
@@ -405,10 +405,12 @@
* set up the new input action packing mode
*/
packed_mode = mode & ~(XTestEXCLUSIVE);
+#ifdef X11R6
/*
* keep track of where the mouse is
*/
XTestGetPointerPos(&xtest_mousex, &xtest_mousey);
+#endif
/*
* keep track of which client is getting input actions
*/
@@ -1311,6 +1313,7 @@
* which is called from XTestComputeWaitTime. The
* other two types of input actions are processed here.
*/
+#ifdef X11R6
if (action_array[read_index].type == XTestJUMP_ACTION)
{
XTestJumpPointer(
@@ -1330,6 +1333,7 @@
mousex,
mousey);
}
+#endif
read_index++;
/*
* if all input actions are processed, then restore
--- ./Xvnc/programs/Xserver/hw/vnc/httpd.c.orig Thu Apr 29 07:10:54 1999
+++ ./Xvnc/programs/Xserver/hw/vnc/httpd.c Thu Sep 2 15:11:20 1999
@@ -32,6 +32,10 @@
#include <errno.h>
#include <pwd.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfb.h"
#define NOT_FOUND_STR "HTTP/1.0 404 Not found\n\n" \
--- ./Xvnc/programs/Xserver/hw/vnc/sockets.c.orig Tue Aug 17 06:45:46 1999
+++ ./Xvnc/programs/Xserver/hw/vnc/sockets.c Thu Sep 2 15:12:09 1999
@@ -47,6 +47,10 @@
#include <fcntl.h>
#include <errno.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfb.h"
--- ./Xvnc/programs/Xserver/os/utils.c.orig Mon Mar 2 06:56:36 1998
+++ ./Xvnc/programs/Xserver/os/utils.c Fri Sep 3 11:27:52 1999
@@ -75,7 +75,7 @@
#undef _POSIX_SOURCE
#endif
#endif
-#if !defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) && !defined(WIN32) &&
!defined(Lynx)
+#if defined(AIXV4) || (!defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) &&
+!defined(WIN32) && !defined(Lynx))
#include <sys/resource.h>
#endif
#include <time.h>
@@ -148,8 +148,10 @@
#ifdef AIXV3
FILE *aixfd;
int SyncOn = 0;
+#ifndef AIXV4
extern int SelectWaitTime;
#endif
+#endif
#ifdef DEBUG
#ifndef SPECIAL_MALLOC
@@ -935,6 +937,7 @@
}
#endif
#ifdef AIXV3
+#ifndef AIXV4
else if ( strcmp( argv[i], "-timeout") == 0)
{
if(++i < argc)
@@ -942,6 +945,7 @@
else
UseMsg();
}
+#endif
else if ( strcmp( argv[i], "-sync") == 0)
{
SyncOn++;
--- ./Xvnc/programs/Xserver/os/osinit.c.orig Sat Jan 18 01:58:02 1997
+++ ./Xvnc/programs/Xserver/os/osinit.c Fri Sep 3 11:28:50 1999
@@ -62,7 +62,7 @@
#endif
#endif
-#if !defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) && !defined(WIN32) &&
!defined(Lynx)
+#if defined(AIXV4) || (!defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) &&
+!defined(WIN32) && !defined(Lynx))
#include <sys/resource.h>
#endif
--- ./vncviewer/vncviewer.h.orig Thu Aug 12 07:06:41 1999
+++ ./vncviewer/vncviewer.h Wed Sep 1 17:11:22 1999
@@ -33,6 +33,11 @@
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/Xmu/StdSel.h>
+
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfbproto.h"
extern int endianTest;
--- ./vncviewer/listen.c.orig Tue Aug 10 13:49:15 1999
+++ ./vncviewer/listen.c Wed Sep 1 17:13:28 1999
@@ -233,7 +233,7 @@
Window w1, w2, w3, w4;
XSetWindowAttributes attr;
- XBell(d, 100);
+ XBell(d, 0);
XForceScreenSaver(d, ScreenSaverReset);
--- ./vncviewer/rfbproto.c.orig Thu Aug 12 07:07:48 1999
+++ ./vncviewer/rfbproto.c Wed Sep 1 17:13:42 1999
@@ -613,7 +613,7 @@
}
case rfbBell:
- XBell(dpy,100);
+ XBell(dpy,0);
break;
case rfbServerCutText:
--- ./vncserver.orig Tue Aug 17 12:34:23 1999
+++ ./vncserver Thu Nov 4 14:12:15 1999
@@ -41,7 +41,7 @@
$defaultXStartup
= ("#!/bin/sh\n\n".
- "xrdb \$HOME/.Xresources\n".
+ "xrdb \$HOME/.Xdefaults\n".
"xsetroot -solid grey\n".
"xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
"twm &\n");
@@ -149,6 +149,11 @@
# $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
# $cmd .= " -co /usr/lib/X11/rgb";
#
+# AIX 4.x font dir:
+#$cmd .= " -fp
+/usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/ibm850/,/usr/lib/X11/fonts/Type1/";
+# Note, many machines seem to have have a messed up Type1 dir:
+$cmd .= " -fp
+/usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/ibm850/";
+$cmd .= " -co /usr/lib/X11/rgb";
foreach $arg (@ARGV) {
$cmd .= " " . "edString($arg);
--------------->8 end 'vnc-3.3.3-aix-4.1.5-patch' cut here 8<---------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------