Linux-Misc Digest #681, Volume #18 Mon, 18 Jan 99 16:13:10 EST
Contents:
Re: FreeBSD and Linux benchmarks ("John S. Dyson")
lp not configured -- parallel printer problems (David Todd)
Re: PPP logging frames! Why? (Chuck Carlson)
Re: gcc vs egcs (pces)
Re: Consumer Poll Says Microsoft Is Good For Consumers (Mayor Of R'lyeh)
Re: This is Linux, not Windows, so why not superior flexibility AND idiot-friendly?
(Allan Olesen)
web page update with address ("Darren Priestnall")
My SUSE 5.1 can execute commands! (Dr A Medina S)
Re: Consumer Poll Says Microsoft Is Good For Consumers (Mayor Of R'lyeh)
Re: help needed mounting fd0 (nitraat)
Re: help me choose license (David Steuber)
Re: FreeBSD and Linux benchmarks (John Fieber)
Re: Telnet macro. Does it exist? ([EMAIL PROTECTED])
Re: Acessing binary file from the code without open(argv[0] ..) (Andrew Morton)
----------------------------------------------------------------------------
From: "John S. Dyson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and Linux benchmarks
Date: Mon, 18 Jan 1999 02:47:57 -0500
Elijah Kagan wrote:
>
> Hi,
>
> I am trying to find any information about benchmarks of Linux and FreeBSD.
> Does anyone know about some study on this subject?
>
> I?ve spent a whole day searching various newsgroups and mailing list
> archives, but no luck there. All these long ?FreeBSD vs Linux? debates do
> not seem to contain references to any published test results.
> Any information on the subject will be highly appreciated.
>
It is an *interesting* issue, publishing benchmarks:
1) No matter what values you publish, they'll be criticised
as not being properly controlled or not relevant.
2) Partisans don't necessarily want to teach the other side as
to the reasons for differences in performance. Proper benchmarks
can provide such info. Currently, there are no good free standard system
wide benchmarks -- there are some really good microbenchmarks though.
3) The best benchmark is a real application :-).
--
John | Never try to teach a pig to sing,
[EMAIL PROTECTED] | it makes one look stupid
[EMAIL PROTECTED] | and it irritates the pig.
------------------------------
From: [EMAIL PROTECTED] (David Todd)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,linux.redhat.install
Subject: lp not configured -- parallel printer problems
Date: 18 Jan 1999 19:52:33 GMT
Dear Colleagues,
This is a followup and attempt to consolidate a series of
postings about lp configuration problems that a number of people have
experienced -- including me. I browsed several lists trying to find
a solution, but it appears that none has yet been found. I hope that
by pooling our experiences we might find the source of the problem and
a solution.
The problem is characterized in the most simple way
as failure of the printer system to print in Linux. A check with
lpc status
shows that the printer daemon is running but that it is waiting for
the printer to come offline. If you check with
grep lp /var/log/messages
you find the message that "lp not configured". If you check
/proc/interrupts and /proc/ioports, you find no entry for lp.
I've seen the following solutions proposed and found the
corresponding results:
No /dev/lp*
Nope, they're all there. Checked this first, even
recreated one. Not the source of the problem.
TCP/IP not configured
Nope ... it's up & running to serve my local network
(I can ping my wife's PC, for example)
Force the lp module to load with insmod
Well, lsmod shows that the module *is* loaded.
But just to be sure, rmmod lp and then try
insmod lp io=0x378
just to be sure (using /dev/lp1's address, as seems
standard in Linux). No change.
Force lp driver into the kernel
Recompiled the kernel and tried it out. No change
in behavior.
Config doesn't get the CONFIG_PRINTER setting right
Read somewhere that a bug in at least one earlier
config program didn't write out
CONFIG_PRINTER=y
into the .config file. Checked: it's there.
Make sure lp driver gets loaded
Added option "lp=0x378,0" in lilo.conf, as suggested
in one response. No change in behavior.
lp service affected by ZIP drive
No zip drive on mine. Parallel port goes directly to
printer, with no other connection.
Printer may be a Win printer
Didn't know these things existed ... thanks for the warning.
Can't tell you how angry I've been about getting a
WinModem.
No, this is an 8-year-old HPLJ III. First used on a DOS
machine. Doesn't care a bit about having a Windows
machine at the other end of the cable.
I should add that there is no problem with the cable or printer. Any
time I'm in Linux and my wife wants to print over the network
through my PC, I just reboot into Win95 and it works just fine.
Also, I've found this to be an intermittant problem. About
9 times out of 10, the problem occurs as I described. About
1 time in 10, the printer system works just fine.
Few of the postings gave many details, but several commented
that they have Compaq systems. Mine is, too. In hopes that we
can see some pattern here, I describe my system:
Compaq 4860
333MHz PII, 64MB
ATI Rage Pro AGP video, 8MB
dual IDE controllers
2 8GB IDE drives
1 DVD
serial, parallel, USB ports
Compaq Winmodem (yes, I know, I'm replacing it)
Configured to multi-boot Linux (chnl 0, drive 0)
or W95 (chnl 1, drive 0) through LILO
Printer
HP LaserJet III (not a Win printer)
RedHat Linux 5.1 with
vmlinuz-2.0.35-1 (distributed version)
vmlinuz-2.0.35-2 (recompiled with embedded lp support)
If anyone has ideas for other possible solutions, please
respond to the list so that dejanews can capture the idea for
others. If any of us figure it out, please post to the lists so
we can all try it out.
TIA for any help you can offer.
------------------------------
From: Chuck Carlson <[EMAIL PROTECTED]>
Subject: Re: PPP logging frames! Why?
Date: 18 Jan 1999 17:02:14 GMT
Bill Unruh <[EMAIL PROTECTED]> wrote:
> In <77u30f$ju7$[EMAIL PROTECTED]> Chuck Carlson <[EMAIL PROTECTED]> writes:
>>I just upgraded to Netscape 4.5 and now it seems all tcp/ip frames are
>>being logged to my var/log/messages file! It seems as if PPPD is running
>>with the debug option but I'm not invoking it with that option.
> Sounds like kdebug, not debug. Look in the /etc/ppp/options file.
Here's my options file. I don't see any reference to debug options.
Chuck
############## PPP options file #########################
# /etc/ppp/options.ippp?
#
# for isdn4linux/syncPPP and dynamic IP-numbers
#
#
# Klaus Franken, [EMAIL PROTECTED]
# Version: 27.08.97 (5.1)
#
# This file is copy by YaST from /etc/ppp/ioptions.YaST
# to options.<device>
# The device(s)
# for more than one device try:
# /dev/ippp0 /dev/ippp1 ...
/dev/ippp0
# The IP addresses: <local>:<remote>
# just "0.0.0.0:" or nothing for dynamic IP
#0.0.0.0:
# my user name
user suse
# my system name (only for CHAP!)
# name my_system_name
# accept IP addresses from peer
# use with dynamic IP
ipcp-accept-local
ipcp-accept-remote
noipdefault
# try to get IP address from interface
# option specific to ipppd (as opposed to pppd)
# use only with static IP
#useifip
# disable all header-compression
-vj
-vjccomp
-ac
-pc
-bsdcomp
# sometimes you need this:
#noccp
# max receive unit
mru 1524
# max transmit unit
mtu 1500
# If this machine is a server, force authentication by uncommenting one
# of the following. However, if this machine is a client, doing this will
# prevent a succesful connection! (message "peer refused to authenticate").
# So, only uncomment on a server.
# "+pap" / "+chap" NUR AKTIVIEREN, WENN DIES EIN SERVER IST!!!
#+pap
#+chap
# if you have problems with handshaking (no response for first
# lcp-package) try to decrease the retry-cycle. Default is 3 sec,
# try for example 2 sec:
# lcp-restart 2
------------------------------
From: pces <[EMAIL PROTECTED]>
Subject: Re: gcc vs egcs
Date: Tue, 19 Jan 1999 01:04:35 +0800
Reply-To: [EMAIL PROTECTED]
Micha wrote:
> Hi !
> some days ago I bought SuSE linux 6.0.
> ...works fine so far except the delivered C compiler.
> If I install the "old" gcc, some configure scripts
> didn't work because of a c++ error ( on a SuSE 5.3
> System all worked well ).
> I think the problem isn't gcc - it's a problem of
> the distrib :(
> Is there any reason for using a "heavily under
> construction compiler" (egcs) in conjunction with libc6,
> or can I "downgrade" to an older ( but stable-r )
> version without having problems ?
>
egcs prefers libc6. If you're using gcc, then the best bet is to
installthe libc5 libraries. If you're using egcs and you have libc5,
you get errors too. So regardless of the decision to go for egcs or
gcc, stick with the libraries that work ;) Ok, that's a very obvious
statement..
As for the reason for using egcs/glibc over gcc/libc5, it's really
a matter of personal preference. :) However, glibc offers a lot
of better(and improved) features over libc5. What they are,
I can't recall 'em all, but I think 'better threading' is one of 'em. :)
------------------------------
From: [EMAIL PROTECTED] (Mayor Of R'lyeh)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Mon, 18 Jan 1999 04:54:49 GMT
On 18 Jan 1999 11:51:42 +0100, David Kastrup
<[EMAIL PROTECTED]> chose to bless us
all with this bit of wisdom:
>[EMAIL PROTECTED] (Mayor Of R'lyeh) writes:
>
>> On 14 Jan 1999 11:30:18 +0100, David Kastrup
>> <[EMAIL PROTECTED]> chose to bless us
>> all with this bit of wisdom:
>
>> >No. He is halfway toward slandering the Consumer Federation of
>> >America, and lending legitimity to a something paid for by an
>> >"unnamed" source and conducted by a wacky organisation with the name
>> >"Consumers for a Sound Economy" which advocate a Wild West economy and
>> >state structure. See http://www.csef.org
>>
>>
>> Here in the US, what you deride as a "Wild West economy and
>> state structure" we call freedom and liberty. It is quite
>> instructional to hear that you hold such concepts in contempt.
>
>While your concept of liberty might include cutting off public
>education (like demanded by the CSE) and refusing to consider doing
>anything about pollution (like demanded by the CSE),
I didn't find anything like this on their site. I found some articles
against the Kyoto Protocols and an urging of using local and private
means to control pollution. I found some articles urging for an
expansion of educational vouchers which would undoubtedly lead to the
demise of the public education system in certain locales but nothing
calling for its ending.
Admittedly it is a large sxite with many articles. A specific one
would be easy to miss. Perhaps you could be more specific in your URL
cites. The one you keep posting is a gateway to two sites that this
group has.
> in the cramped
>states of Europe people actually thing the freedom to choose your
>education yourself
Being able to choose your own education is largely what the voucher
movement is all about. In many areas of the US the teacher unions run
control the schools. They run them to benefit themselves and education
comes in a distant second on their list of priorities. Vouchers would
allow more parents to pick better schools for their children.
> and to be able to breathe are sometimes considered
>more important.
There is nothing that I can find on their site calling for filthy,
unbreathable air. You are confusing a call for sane, sensible laws
with a call for anarchy.
>Unfortunately, not all freedoms can be realized at all times. The
>U.S. idea of freedom means that everybody ought to fight all the way
>as much for himself as possible, just like the ideals in the Wild
>West were.
The US idea of freedom is that one should be left alone so long as he
is causing no harm to others. I'm not sure where you got the idea that
Americans live to fight each other. Perhaps you've watched one too
many spaghetti westerns.
FYI the crime rate was lower in the 'Wild West' than it was in the
eastern part of the country. The myth that every town had at least one
major gunfight a day is just that - a myth.
>
>Over here, everybody can get a decent education even if his parents
>are dead, poor, or let him down. Of course, this requires higher
>taxes and regulation as in your country.
Over here public education is a joke in many areas. Thats why you see
the movement to get it some competition. Its not that people are
against education. Its that the current product is so shoddy that the
system needs a major overhaul. We are paying the price for 20 years of
sef-esteem curriculum and rain-forest math. Things are starting to
turn around.
>
>People here have decided that the state being responsible for the
>public in certain ways is worth it for them.
Then let them have it. I'm the last one to say that there should be a
one size fits all global solution to everything. Americans moatly do
not want the nanny state and are starting to fight back against those
nanny-state measures being implemented here.
> In some ways, this is
>what civilization is about.
The nanny state is a recent (largely post WWII) invention. It is not
at all what civilization is about.
"That is not dead which can eternal lie,
And with strange aeons even death may die."
- Abdul Alhazred, Necronomicon
------------------------------
From: [EMAIL PROTECTED] (Allan Olesen)
Crossposted-To:
comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.setup
Subject: Re: This is Linux, not Windows, so why not superior flexibility AND
idiot-friendly?
Date: Mon, 18 Jan 1999 19:35:29 GMT
Reply-To: [EMAIL PROTECTED]
Gert Wollny <[EMAIL PROTECTED]> wrote:
>Say the script to mount the cdrom is called m and goes like this:
>>>start
>#!/bin/sh
># assuming the fstab entry to mount /dev/cdrom on /mnt/cdrom
>mount /mnt/cdrom
>cd /mnt/cdrom
><<end
>then you need two keystrokes <m>+<ENTER> to get to the root directory of
>the CDRom.
>In DOS you need three:
><d>+<:>+<ENTER> #assuming d as the letter for your CDROM
>And the winner by one keystroke is linuuuux!
So what? I can also make a batch file under dos which does the same.
And I will use a lot less typing to create that file than you did
creating your file.
>
>And for the unmounting:
>
>script u:
>>>start
>#!/bin/sh
>cd
>umount /mnt/cdrom
>eject
><<end
>makes two keystrokes, which is comparable to pressing the eject button
>of the
>cd-drive.
Well, dos don't have an eject function. You win that one. But on the
other hand, you don't need to unmount in dos. And that counts if you
don't use scripts - which leads me to:
I think it is a PITA that you have to write your own scripts for linux
to make simple functions operate as easy as in dos.
--
Allan Olesen
"Keyboard not found. Press F1 to continue."
------------------------------
From: "Darren Priestnall" <[EMAIL PROTECTED]>
Subject: web page update with address
Date: Mon, 18 Jan 1999 20:28:42 -0000
I have finally got around to upgrading my Linux software web site.
It now includes updated information about all my Linux CD's as well as links
to useful Linux sites.
The links list is being updated regularly and anyone interested in adding to
this list should email the web address and details to me.
The developer CD has been further updated to now include several new
packages.
These include the official Sun Systems Java Development Kit, EGCS which is a
big improvement over the standard GCC tool, the latest developer Kernel
which boasts many new features and bug fixes, the Data Display Debugger for
professional development and several other new beta packages along with the
latest version of LessTif.
The Office CD is now complete and shipping and includes the full list of
software including Corel Word Perfect 8 and Star Office 5.
The graphics CD is also complete and includes the full list of software as
well as the latest version of X-Amp which is the new Linux version of WinAmp
from Windows 95.
I'm also looking at collecting together a CD of alternative X display
servers along with XFree and a list of window managers to present the best
selection of desktops around.
If people would like to see such a CD, let me know and I will double my
efforts to create the finished CD.
I'm also looking at distributing my CD's in future through MicroWorld which
advertise in the PC press.
This will further expand the user base of the Linux CD's.
They can be contacted at [EMAIL PROTECTED]
Lastly, I would like to ask that anyone with ideas or input about my web
site or future CD's should contact me.
This includes web links, new software packages, suggestions for alternative
operating systems including BeOS and suggestions about my mailing lists or
other services.
I am thinking of creating a member based group in the future which entitles
members to cheap CD's, support and a printed magazine covering all things
OS.
As a developer I am also looking at presenting more in-depth support for the
Linux development community.
My experience in development is mostly MS Windows based so I would require
user input from other sources to ensure it is a success.
Would anyone be willing to support a printed product of this nature with
articles etc ?
It's still a rough concept idea but one that may be realised in the future.
So far, I have sold about 4 CD sets and haven't even covered the cost of
cutting these CD's.
However, this is probably due to my lack of advertising and I am not a fully
fledged company intent on making profits.
Compudex is run part time from home as a hobby while the majority of my time
is spent developing tools for the MS Windows community.
It's for this reason that mass sales and new projects such as a printed
magazine would be difficult to manage myself in a part time capacity so
friendly user input from other members of the Linux community would
certainly be appreciated.
Feel free to make any comments or suggestions in the future.
I am trying to work with the rest of the Linux community and have had great
input
from many users and developers including Code Forge who are keen to support
the Linux community with their exciting new development environment.
This I may supply in the future as a complete seperate product if the demand
is there.
Darren Priestnall
http://freespace.virgin.net/darren.priestnall/index.htm
------------------------------
Date: Mon, 18 Jan 1999 10:54:02 -0600
From: Dr A Medina S <[EMAIL PROTECTED]>
Subject: My SUSE 5.1 can execute commands!
I just installed an old SUSE 5.1 (it's difficult to obtain Linux in
Mexico), but I can't install Netscape 4.5 because, even when it list
with ls the file ns-install as a command (pink) file, with -rwxr-xr-x
permissions, it says bash - command not found, when I try to run it. I
can try . ns-install, but get many errors in the installation. What can
I do?. I installed fine the same Netscape on my old Slackware 96
And yes, I selected root to include . on his path.
------------------------------
From: [EMAIL PROTECTED] (Mayor Of R'lyeh)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Mon, 18 Jan 1999 05:03:24 GMT
On Sun, 17 Jan 1999 13:30:38 GMT, [EMAIL PROTECTED] (Mike Stephen)
chose to bless us all with this bit of wisdom:
>In message <[EMAIL PROTECTED]> -
>[EMAIL PROTECTED] (Mayor Of R'lyeh)Sun, 17 Jan 1999 12:17:07 GMT
>writes:
>:>
>:>On 17 Jan 1999 10:39:05 +0100, David Kastrup
>:><[EMAIL PROTECTED]> chose to bless us
>:>all with this bit of wisdom:
>:>
>:>>Ambassador KosH <[EMAIL PROTECTED]> writes:
>:>>
>:>>> who gives a rat's ass what the public thinks? the majority of the
>:>>> people polled (not necessarily the general public) think clinton
>:>>> shouldn't be removed from office, but he still commited crimes that
>:>>> would get the average joe around 5-15 years or more in jail under
>:>>> federal law. Just because part or most of the public likes the
>:>>> person on trial doesn't mean that the law should overlook the issue
>:>>> because they are popular.
>:>>>
>:>>> Netnerd wrote:
>:>>>
>:>>> > The latest consumer poll shows that 81 percent of consumers think Microsoft
>:>>> > has been good for consumers, and 52 percent think the case was brought to
>:>>> > help Microsoft's rivals.
>:>>> >
>:>>> > The poll also shows that 76 percent of consumers think U.S. District Judge
>:>>> > Thomas Penfield Jackson should find Microsoft not guilty of violating the
>:>>> > Sherman Antitrust Act when the trial concludes sometime in the next two or
>:>>> > three months.
>:>>
>:>>One should be careful about believing polls too much. In this case,
>:>>it turned out from internal Emails that not only Microsoft paid for
>:>>the poll, but that Bill Gates also specified the percentages he would
>:>>like to hear as results of the poll.
>:>>
>:>>It was somewhat embarassing for one of the independent witnesses of
>:>>Microsoft to hear where this results he was citing were coming from.
>:>>They should at least have informed him instead of letting him
>:>>embarrass himself and them in that way.
>:>
>:>
>:>You have your polls mixed up. The consumer poll was done independently
>:>of Microsoft.
>:>The poll that you are distorting was of developers. It was taken after
>:>a presentation of Microsoft's side. The results weren't dictated by
>:>Mr. Gates as you imply either.
>:>
>:>
>:>"That is not dead which can eternal lie,
>:> And with strange aeons even death may die."
>:>- Abdul Alhazred, Necronomicon
>
>here ya go.... the actual urls so that you too can read the truth,
There is nothing new here. Your URL states that this was the poll of
developers done last year. This contradicts nothing that I said. If
you look through the entire post you will see that netnerd was not
talking about this poll. He was talking about the poll of CONSUMERS
taken a few weeks ago by the CSEF. You have yourt polls mixed up as
well.
>
>A poll released last year was commissioned by Bill Gates, who wrote in
>a
>memo that "it would help me IMMENSLY [sic] to have a survey showing
>that
>90% of developers believe that putting the browser into the OS makes
>sense.
This is hardly the same as ordering that the poll contain these
results.
> . . Ideally we would have a survey like this done before I appear at
>the
>Senate on March 3rd."
>
>The survey results were cited by Microsoft witness Richard
>Schmalensee.
>When questioned about the poll by Boies, the economist claimed he
>wasn't
>aware it had created by Gates' cronies. Despite Microsoft's
>sponsorship,
>Schmalansee said the poll was not misleading. But the wording of the
>poll
>apparently raised eyebrows even with market researchers at Microsoft.
>
>Boies also poked at Schmalansee for apparent inconsistencies between
>his
>testimony in this lawsuit and his previous writings on antitrust.
>
>More here:
>http://www.zdnet.com/zdnn/stories/news/0,4586,2187848,00.html
>
>
>Also, ZDNet's Charles Cooper says Boies is much more effective than
>his
>opponents from Sullivan & Cromwell.
And what is it that makes his opinion so important?
> (Of course, they have the
>disadvantage
>of having a guilty client. :-)
I wasn't aware that the trial was over. Of course even after Microsoft
is cleared of all charges you will, doubtless, still consider them
guilty.
> Cooper's article is here:
>http://www.zdnet.com/zdnn/stories/comment/0,5859,2187824,00.html
"That is not dead which can eternal lie,
And with strange aeons even death may die."
- Abdul Alhazred, Necronomicon
------------------------------
From: nitraat <"nitraat "@hda.hydro.com>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup,linux.admin,linux.help
Subject: Re: help needed mounting fd0
Reply-To: thuis
Date: Mon, 18 Jan 1999 20:18:22 GMT
Matteo Anselmi wrote:
>
> I'm trying to mount , as root, my floppy
>
> # mount -o rw /dev/fd0 /mnt/floppy and It works fine while I'm root,
>
> when I login as user my floppy is read only and I cant write or copy file on
> it.
> I'm a Linux novice and I'm looking for help.
>
> thanx in advance
> Matteo
Try
mount /dev/fd0h1440 /mnt/floppy (/mnt/floppy must exist)
------------------------------
From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: help me choose license
Date: Mon, 18 Jan 1999 20:18:22 GMT
[EMAIL PROTECTED] writes:
-> I wrote:
-> > There are arguments both ways on this, but I don't think they'd risk it.
-> > Even if they won in court they would take a huge PR hit.
->
-> David Steuber writes:
-> > Well, a company beginning with M lost a court to with Stac
-> > Electronics for stealing disk compression code. They are even bigger
-> > now. Where is Stac?
->
-> I have no idea, nor is it relevant. That was two corporations fighting
-> over legal arcana. A company that deliberately violated the GPL would be
-> shunned by the Linux community (I was asssuming we were talking about Linux
-> products).
I have switched from Windows to Linux. I will never again be
purchasing any Microsoft products. Assuming some portion of the Linux
community is like me, what would Microsoft really lose? They've
already been shunned.
Any other company would be foolish to violate the GPL. The trick is
finding out about it.
--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail
"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends. These people, they're, they're terrorists."
-- Secret Service Agent Richard Gill
------------------------------
From: [EMAIL PROTECTED] (John Fieber)
Crossposted-To: alt.os.linux,comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and Linux benchmarks
Date: 18 Jan 1999 17:12:17 GMT
In article <[EMAIL PROTECTED]>,
"John S. Dyson" <[EMAIL PROTECTED]> writes:
> 3) The best benchmark is a real application :-).
And running on the hardware you intend to use. It is very possible
to arrive (accidentally or intentionally) at a hardware config where
operating system A stomps all over system B or vice versa. Such is
life in the interesting world of PC hardware.
-john
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.protocols.kermit.misc
Subject: Re: Telnet macro. Does it exist?
Date: 18 Jan 1999 17:02:49 GMT
Reply-To: [EMAIL PROTECTED]
Leslie Mikesell ([EMAIL PROTECTED]) wrote:
: It's too bad more people don't know about kermit these days... Have
: you considered trying to work something out so RedHat could ship
: a copy on their Linux distribution at least along with the
The Kermit folks don't want distributable copies sitting somewhere
else, but RedHat could certainly point to the binary that RedHat
provides to columbia, in any one of their lists.
They could put it in several places, where an RPM ought
to be, and instead of an RPM, just have a link to
http://www.columbia.edu/kermit/ck60.html#getit
or, directly to the appropriate RPM package, one step further.
This varies by machine type, though.
This page also references binaries for Debian, Slackware, and others.
And of course, the source is always available, and, as much as they can
keep up with changes in Linux, it compiles cleanly.
--
---
Clarence A Dold - [EMAIL PROTECTED]
- Pope Valley & Napa CA.
------------------------------
From: Andrew Morton <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Acessing binary file from the code without open(argv[0] ..)
Date: Wed, 13 Jan 1999 22:35:24 +1100
Pedro Ribeiro wrote:
>
> Can anyone tell-me how can i access the binary file i'm executing from the
> code under Linux (without open(argv[0], ...) ???
I guess your binary can just read itself out of memory.
The linker creates dummy integers called '_start' and '_etext' which
identify where in virtual memory your program lies (the GNU linker
produces _lots_ of these!)
#include <stdio.h>
extern int _start, _etext;
main()
{
unsigned char *s, *e;
s = (unsigned char *)&_start;
e = (unsigned char *)&_etext;
while (s < e)
{
printf("%02x\n", *s);
s++;
}
}
- Andrew.
> It should be any way to know the addresses where the binfile was paged an
> simply access them with a pointer no ??
>
> Thanks in advance.
>
> --
>
> []---------------------------------------------------------------[]
> Pedro Ribeiro
> Online: http://www.isel.pt/~pribeiro/
> IRC(PTnet) Nick: PAntMaR
> e-Mail: Personal: [EMAIL PROTECTED]
> Admin: [EMAIL PROTECTED]
> Tel: Internal Ext.1407
> Tel: NEW! +351-1-8317032 / Fax: +351-1-8317171
> []---------------------------------------------------------------[]
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************