Trying to compile putty-0.60 on SCO UNIX 5.0.7 with GCC and SCO DevI am trying to compile putty downloaded from
http://linux.softpedia.com/progDownload/PuTTY-Download-347.html
but get the error below.
gcc -g -O2 -Wall -Werror -DHAVE_CONFIG_H -DHAVE_X11 -DHAVE_X -DSYSV -Di386 -DS
CO325 -D__SCO__ -DHAVE_XAW -DHAVE_SHAPE_EXT -DHAVE_SHAPE -DHAVE_SHM_EXT -DHAVE_X
SHM -DHAVE_XCONVERTCASE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr
/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R6/include
-I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ -c ../
proxy.c
cc1: warnings being treated as errors
.../proxy.c: In function `proxy_for_destination':
.../proxy.c:315: warning: implicit declaration of function `strncasecmp'
gmake: *** [proxy.o] Error 1
#
My programming skill level tops out at ./configure and make.
Searching for instances of strncasecmp in the putty working directory shows:
/tmp/putty-0.60/unix
# cd ..
# find . -type f -print | xargs grep strncasecmp | less
../mac/stricmp.c:#define strncasecmp strnicmp
../mac/stricmp.c:strncasecmp(s1, s2, n)
../unix/unix.h:#define strnicmp strncasecmp
(END)
In unix/unix.h:
#define DEFAULT_CODEPAGE 0xFFFF
#define CP_UTF8 CS_UTF8 /* from libcharset */
#define strnicmp strncasecmp
#define stricmp strcasecmp
/* BSD-semantics version of signal(), and another helpful function */
void (*putty_signal(int sig, void (*func)(int)))(int);
void block_si...
#if 0?0?0:0:0The following 4-lines source fragment test.c (fourth line empty)
#if 0?0?0:0:0
#endif
int main(void){return 0?0?0:0:0;}
cause:
test.c(1) : fatal error C1017: invalid integer constant expression
when compiled by cl.exe aka "Microsoft (R) 32-bit C/C++ Optimizing
Compiler Version 15.00.30729.01 for 80x86".
On the other hand this compile and runs fine.
#if 0?(0?0:0):0
#endif
int main(void){return 0?0?0:0:0;}
Did I hit a but it this compiler's preprocessor?
Francois Grieu
On 3/30/2010 12:47 PM, Francois Grieu wrote:
> The following 4-lines source fr...
(= 0/0 0/0)Hi,
shouldn't
> (= 0/0 0/0) => NIL
or
> (= 0/0 0/0) => T
instead of giving out division by zero? 0/0 is different from 1/0,
which is the non-existent number n such that 1 x n = 0.
The actual result of that expression depends of what you think 0/0 is.
I personally feel that 0/0 is any number n such that 0 x n = 0, that
is all numbers.
hal9@cyberspace.org (Hal Niner) writes:
> Hi,
>
> shouldn't
>
> > (= 0/0 0/0) => NIL
>
> or
>
> > (= 0/0 0/0) => T
>
> instead of giving out division by zero? 0/0 is different fro...
IP 0.0.0.0/0Hi
Any useful link that explains this IP address range in details, please?
Thanks in advance!
The Dude
In article <Jp6Hg.458762$IK3.24918@pd7tw1no>,
The Dude <The Dude@thedu.de> wrote:
>Any useful link that explains this IP address range in details, please?
Urrr -- 0.0.0.0/0 is the *entire* IPv4 address range, and
0.0.0.0/32 is just the single IPv4 address 0.0.0.0.
For any given network, the lowest address in the network is
reserved. Historically, the lowest address was one of the two
allowed choices for the broadcast address; later, the broadcast
a...
NFS SCo 5.0.5 with SCO 6.0.0Hi everybody,
I have a folder on SCO 5.0.5 server shared through NFS with a new SCO 6.0.0
with MP2 server (converted from a SCO 5.0.6 version).
Before conversion file locks (over network) on this folder works well (eg
from server SCO 5.0.6 I was able to see locks generated from SCO 5.0.5 box
and viceversa), now with SCO 6.0.0 does not work !
I see that on SCO 6.0.0 the lockd daemon is active .. so it should work ...
Please can you help me ?
Thanks
Cuffiette
...
0.0**0 = ?I'm wondering if 0.0**0 (as opposed to 0.0**0.0) has the value 1 as
per fortran standard or if this is left to the compiler vendors
(different vendors do different things, unhappily).
Thanks,
Joost
Joost VandeVondele wrote:
> I'm wondering if 0.0**0 (as opposed to 0.0**0.0) has the value 1 as
> per fortran standard or if this is left to the compiler vendors
> (different vendors do different things, unhappily).
>
> Thanks,
>
> Joost
Surely, 0.0**0.0 is mathematically undefined? Therefore, I wouldn't
expect the standard to make any pronouncement about the ...
Printing on a DP-301P Print server SCO Unix OSR 5.0.7How do a setup a printer that is on my local network with IP 192.168.2.17 ?
The Unix server is on 192.168.2.7 on the same network.
I tried "scoadmin" looking for something like "add tcp/ip printer" but no
luck at all. So I'm thinking that I have to create a new port (i.e.
/dev/lp192.168.2.17) so then I can assign a printer to it right ?
Any help would be greatly appreciate it.
Thanks
Enrique
"Enrique Arredondo" <atk@sbcglobal.net> wrote in message
news:X77Qi.59349$YL5.31497@newssvr29.news.prodigy.net...
> How do a setup a printer that is on my local network with IP 192.168.2.17
> ? The Unix server is on 192.168.2.7 on the same network.
>
> I tried "scoadmin" looking for something like "add tcp/ip printer" but no
> luck at all. So I'm thinking that I have to create a new port (i.e.
> /dev/lp192.168.2.17) so then I can assign a printer to it right ?
>
> Any help would be greatly appreciate it.
>
> Thanks
>
> Enrique
>
I can ping 192.168.2.17 ...here:
/# ping 192.168.2.17
PING 192.168.2.17 (192.168.2.17): 56 data bytes
64 bytes from mylan17 (192.168.2.17): icmp_seq=0 ttl=255 time=2.522 ms
64 bytes from mylan17 (192.168.2.17): icmp_seq=1 ttl=255 time=1.086 ms
64 bytes from mylan17 (192.168.2.17): icmp_seq=2 ttl=255 time=1.283 ms
64 bytes from mylan17 (192.168.2.17): icmp_seq=3 ttl=255 time=1.330 ms
64 bytes from mylan17 (192.168.2.17): icmp_seq=4 ttl=255 time=1...
"some\0\0\0\0\0\0"can i use such form of adding zeros to the strings/literals to 'pad' them with zeros ?
or this is not guwranteed to work? need that for
assuring that strings for example arepadded to
some amount of bytes thus using fast compare which only checks some amount of data and do not bother for checking ends, etc 9you know what i mean)
On Thu, 13 Aug 2015 12:30:19 -0700, fir saw fit to publish the following:
> can i use such form of adding zeros to the strings/literals to 'pad'
> them with zeros ?
Yes you can. (I feel SOOO presidential right now)
> or this is n...
what is the significance of 0.0.0.0is this the default gateway of whole internet.
or is this the default gateway of a whole class A ip addresses.
or is this a network address of a particular sub-net.
please explain it pragmatically
with regards
novice wrote:
> is this the default gateway of whole internet.
> or is this the default gateway of a whole class A ip addresses.
>
> or is this a network address of a particular sub-net.
> please explain it pragmatically
> with regards
Written that way, it's nothing more than an IP address.
On 10/04/2010 02:53 PM, novice wrote:
> is this the default gateway of whole internet.
> or is this the default gateway of a whole class A ip addresses.
>
> or is this a network address of a particular sub-net.
> please explain it pragmatically
> with regards
It's an invalid IP address.
What 0.0.0.0 actually MEANS depends on the program you're using it with.
--
Linards Ticmanis
On Oct 4, 8:53=A0am, novice <rajat123si...@gmail.com> wrote:
> is this the default gateway of whole internet.
> or is this the default gateway of a whole class A ip addresses.
>
> or is this a network address of a particular sub-net.
> please explain it pragmatically
> with regards
Depending on where you got the 0.0.0.0 from, it can have different
meanings.
In a socket(7) call, it generally means "all addresses", as in "bind
to all addresses on this system" (bind(2))
In netstat(8), it generally means &qu...
0:0:0:0:phoneUnder kerio Admin screen,local Address I get: 0:0:0:0:phone
where "phone" is the local port number. What the hell is that supposed to mean?
MikeStevens.invalid@spamtrap.org wrote:
> Under kerio Admin screen,local Address I get: 0:0:0:0:phone
>
> where "phone" is the local port number. What the hell is that supposed to
> mean?
That's illegal -- there should be nothing coming from 0.0.0.0 at all, on ANY
port. Block that IP outright.
--
Cinemuck, n.:
The combination of popcorn, soda, and melted chocolate which
covers the floors of movie theaters.
-- Rich Hall, "Sniglets"
0.0.0.0 is seen as YOUR ip address until you get assigned a ip address. They
even said it was their local port, so its something just listening on a local
port which has the alias 'phone'.
"NeoSadist" <neosad1st@charter.net> wrote in message
news:vvscmg52kap0fc@corp.supernews.com...
MikeStevens.invalid@spamtrap.org wrote:
> Under kerio Admin screen,local Address I get: 0:0:0:0:phone
>
> where "phone" is the local port number. What the hell is that supposed to
> mean?
That's illegal -- there should be nothing coming from 0.0.0.0 at all, on ANY
port. Block that IP outright.
--
Cinemuck, n.:
The combination of popcorn, soda, and melted chocolate which
covers the floors of movie theaters.
-- Rich Hall, "Sniglets"
Go into the Firewall Status...
Why (-0.7 + 0.4)Is it a bug? How can I avoid such problems when I use ">0" or "<0"?
My version is 7.0 and the vi is programmed in WinXP.
Thank you !
Hi cactus
No, this is not a bug. This has to do with the management of floating point numbers in a computer.
Refer to this threads:
<a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=102839&query.id=2735#M102839" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&message.id=102839&query.id=2735#M102839</a>
&...
[ANN] Nitro 0.7.0 + Og 0.7.0Hello everyone,
a new version of Nitro was just released.
Homepage: http://www.navel.gr/nitro
Download: http://www.rubyforge.com/projects/nitro
A snapshot of the latest code. Many fixes and new features result
in a more mature product. Many thanks to the ruby hackers that sent
suggestions and patches used in this release!
Most notable additions:
* Improved win32 compatibility (Tiny example runs out of the box).
* Binary content example (Flash, needs ruby-ming installed to run).
* Totaly recoded prop_accessor mechanism, avoids polution of the Module
class.
* prop_accessors for Modules, all...
How to interpolate a [0 0 0 1 0 0 ...0 1 0 0 0 ...0 0] vector please helpdear friends,
i have t vector; t=linspace(0,.00007,76);
k vector is [0 0 0 1......1 0 0 ..], its like all zeros except two 1`s, on a different time instants. when i apply this command ;
k=interp1(tau,k,t);
tau is also the same as t. one question is that,do we need to interpolate the vector k from one time vector to another of the same length? as here length(t)=length(tau).
second question is that when i apply this command, the vector k is returned as a single entry????
please help me on this one.
thanks
"salman " <salmanabdullah9@gmail.com> wrote in message <iujd42$she$1@newscl01ah.mathworks.com>...
> dear friends,
>
> i have t vector; t=linspace(0,.00007,76);
>
> k vector is [0 0 0 1......1 0 0 ..], its like all zeros except two 1`s, on a different time instants. when i apply this command ;
>
> k=interp1(tau,k,t);
>
> tau is also the same as t. one question is that,do we need to interpolate the vector k from one time vector to another of the same length? as here length(t)=length(tau).
================
No. tau and t can be of different lengths. Bear in mind though that if tau=t then the output k will be the same as the input k. So, it doesn't make sense that "tau is also the same as t".
> second question is that when i apply this command, the vector k is returned as a single entry????
===============
No, I can't reproduce that, as the following shows
>> t=linspace(0,.00007,76); tau= t...
Looking for precompiled 'rsync" for SCO 5.0.5, 5.0.6 and 5.0.7I was recommended to use 'rsync' for multi-site transfers. But I have
come to find that "rsync" does not exist already in OpenServer 5.0.5,
5.0.6 and 5.0.7. You can only get the "source" files which you "must"
compile in order to create the "rsync." These seems to require that
you compile these on every level of OpenServer you need.
Where / how can I get the 'rsync' binaries already compiled for the
levels I need?
smlunatick typed (on Tue, Aug 18, 2009 at 11:10:53AM -0700):
| I was recommended to use 'rsync' for multi-site transfers. But I have
| come to find that "rsync" does not exist already in OpenServer 5.0.5,
| 5.0.6 and 5.0.7. You can only get the "source" files which you "must"
| compile in order to create the "rsync." These seems to require that
| you compile these on every level of OpenServer you need.
|
| Where / how can I get the 'rsync' binaries already compiled for the
| levels I need?
Get a binary for OSR 5.0.7, and with oss646c, it should run on 5.0.4,
5.0.5, and 5.0.6. Binary afavilable on Brian White's page at
www.aljex.com/bkw.
--
JP
On Aug 18, 7:37=A0pm, Jean-Pierre Radley <j...@jpr.com> wrote:
> smlunatick typed (on Tue, Aug 18, 2009 at 11:10:53AM -0700):
> | I was recommended to use 'rsync' for multi-site transfers. =A0But I hav=
e
> | come to find that "rsync" does not exist already in OpenSer...
route 0.0.0.0 twiceHi,
I some doubts question regarding a Cisco config.
In the config I can see the following two lines:
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 0.0.0.0 0.0.0.0 192.168.1.2
I know that these addresses are active in two interfaces. We had a 2Mbit
connection that was upgraded to 4 Mbit. Our ISP told us to add the routes
and that with those two routes we would be able to use the two links as one.
Is this true with Cisco's CEF?
My question is:
1. what's the route selected by the packets?
Thanks,
NC
Nuno Cristelo wrote:
> Hi,
>
> I some doubts question regarding a C...
what is telnet 0.0.0.0 supposed to do?Hi all.
on windows it seems to be an illegal address, on solaris/linux it
gives you
a login on the localhost.
could someone point to some more info on 0.0.0.0 ?
yes, I already googled.
On Jul 30, 7:08=A0am, adirtymindisajoyforever
<getridofthes...@yahoo.com> wrote:
> Hi all.
>
> on windows it seems to be an illegal address, on solaris/linux it
> gives you
> a login on the localhost.
>
> could someone point to some more info on 0.0.0.0 ?
In principle, if you mean 0.0.0.0 as a destination address, it could
just as well be illegal. I don't t...
ip 0.0.0.0 is attempting to ....NIS2004 told me a remote computer at ip 0.0.0.0 is trying to access my
computer, and asked if it should allow it. I'm thinking that is probably
just the dsl modem and I should allow it. Can anyone confirm or instruct?
"Adam Russell" <REMOVE_THIS_adamrussell@sbcglobal.net> wrote in message news:<bro2a6$5lbqu$1@ID-122512.news.uni-berlin.de>...
> NIS2004 told me a remote computer at ip 0.0.0.0 is trying to access my
> computer, and asked if it should allow it. I'm thinking that is probably
> just the dsl modem and I should allow it. Can anyone confirm or instruct?
So is this the wrong newsgroup, or does no one know the answer?
On 18-Dec-2003, adamrussell@sbcglobal.net (Adam Russell) wrote:
> "Adam Russell" <REMOVE_THIS_adamrussell@sbcglobal.net> wrote in message
> news:<bro2a6$5lbqu$1@ID-122512.news.uni-berlin.de>...
> > NIS2004 told me a remote computer at ip 0.0.0.0 is trying to access my
> > computer, and asked if it should allow it. I'm thinking that is
> > probably
> > just the dsl modem and I should allow it. Can anyone confirm or
> > instruct?
>
> So is this the wrong newsgroup, or does no one know the answer?
I do not know NIS2004, but the rule of thumb that makes the most sense to me
is:
When in doubt, block it.
If things (access) still work then you are good, if it don't work, then you
try allowing it.
...
dhclient leasing 0.0.0.0hi,
OS: FreeBSD 4.9-Release
im starting the dhclient at bootup from the rc.conf file.
in the process list it shows as:
/sbin/dhclient -pf /var/run/dhclient.ed1.pid ed1
the ipaddress leased shows:
# ifconfig -a
....
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
ether 00:02:dd:1f:10:89
after killing the dhclient process and starting it again with:
# dhclient
everything is fine and i get a working ipaddress.
my dhcp config parameters in rc.conf are standard (sysinstall generated).
Since my rc.firewall script automatically finds the ipaddress
i will have to restart the firewall as well.
Does someone have a clue how to persuade dhclient to find the right
ip-address at bootup?
Also there is no logentry leading to any problems with dhclient.
Thanks in advance,
sake.
sake@snafu.de (sake) writes:
> im starting the dhclient at bootup from the rc.conf file.
> in the process list it shows as:
> /sbin/dhclient -pf /var/run/dhclient.ed1.pid ed1
> the ipaddress leased shows:
> # ifconfig -a
> ...
> faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
> ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
> ether 00:02:dd:1f:10:89
>
> after killing the dh...
Network 0.0.0.0 needed?When redistributing a default route learned via EIGRP into BGP it
seems the route will not propagate into the BGP table unless you have
network 0.0.0.0 configured under BGP. Does anyone know why this is
necessary? A safety measure perhaps?
Thanks!
You can also do this with a "neighbor x.x.x.x default-originate" command
under "router bgp"
BGP was designed for the Internet, where there is no default-route.
Scott
"Paul Thompson" <shinobi2@sympatico.ca> wrote in message
news:v5o2t2dpq2653k37q2ki830dsae2728n5q@4ax.com...
> When redistributing a default route learned via EIGRP into BGP it
> seems the route will not propagate into the BGP table unless you have
> network 0.0.0.0 configured under BGP. Does anyone know why this is
> necessary? A safety measure perhaps?
>
> Thanks!
...
SCO 5.0.5 vs. 6.0I'm having a new server built:
SuperMicro P4SC8 Mother Board
Intel P4 3.0Ghz 800 FSB 1GB CPU
73GB 10K 80 PIN SCSI Drive
Sony 20/40GB DAT Drive SDT11000/BN DDS4
Adaptec 2010S Card for Mirroring
Comtrol Rockport Card 99126-7
Is there any reason I should update my current version of SCO 5.0.5?
Frank
The following article is a recommendation from SCO when using P4
http://www.sco.com/ta/115963
"FrankS" <fshank@sbcglobal.net> wrote in message
news:CqT_f.65026$H71.37215@newssvr13.news.prodigy.com...
> I'm having a new server built:
>
> SuperMicro P4SC8 Mother Board
> Intel P4 3.0Ghz 800 FSB 1GB CPU
> 73GB 10K 80 PIN SCSI Drive
> Sony 20/40GB DAT Drive SDT11000/BN DDS4
>
> Adaptec 2010S Card for Mirroring
>
> Comtrol Rockport Card 99126-7
>
>
>
> Is there any reason I should update my current version of SCO 5.0.5?
>
>
>
> Frank
>
>
>
>
>
>
FrankS wrote:
> I'm having a new server built:
>
> SuperMicro P4SC8 Mother Board
> Intel P4 3.0Ghz 800 FSB 1GB CPU
> 73GB 10K 80 PIN SCSI Drive
> Sony 20/40GB DAT Drive SDT11000/BN DDS4
>
> Adaptec 2010S Card for Mirroring
>
> Comtrol Rockport Card 99126-7
>
>
>
> Is there any reason I should update my current version of SCO 5.0.5?
Frank,
OpenServer 5.0.5 is a retired product and is no longer generally
supported by SCO. OpenServer 5.0.5 is not designed to work on P4
systems and y...
memcpy(0,0,0)Hi, all.
This question came up in a code review: are null pointers legal as
arguments to memcpy? That is, is the program at the end of this article
strictly conforming? (Of course, I check the FAQ first and could not
find an answer on point.)
I don't have C89 or C99 handy, so I checked draft N869 from here:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n869/n869.txt.gz
I note the following:
7.21.1 String function conventions
Where an argument declared as "size_t n" specifies the
length of the array for a function, "n" can have the value
z...
what does the 224.0.0.0 do?there is always a 224.0.0.0 route in all systems. what does it do
and why do I need to have it?
Carl
Carl wrote:
> there is always a 224.0.0.0 route in all systems. what does it do
> and why do I need to have it?
>
http://en.wikipedia.org/wiki/IP_Multicast
...
What does 224.0.0.0 do?Why is there a 224.0.0.0 in all systems and why do I need it?
seems to me it wastes good system overhead.
Carl
...
array 0 0 0...#include "callFirst.hpp" //contain iostream, namespace, and basic
operations
int main()
{
int x[10];
int Ops;
for(int i = 0; i < 10; i++){
x[i] = i * 2;
}
int k = 0;
while( k < 10){
int j = 0;
cout << x[j];
cout << " ";
j++;
k++;
}
int dummy;
cin >> dummy;
return 0;
}
why I get output as 0 0 0 0 0 0 0 ...
suppose it should be 0 2 4 6 ...
how do I fix this?
m2k_stp@hotmail.com 写道:
> #include "callFirst.h...