add directory mail-archive
This commit is contained in:
574
mail-archive/linux-misc/Volume2/digest818
Normal file
574
mail-archive/linux-misc/Volume2/digest818
Normal file
@@ -0,0 +1,574 @@
|
||||
From: Digestifier <Linux-Misc-Request@senator-bedfellow.mit.edu>
|
||||
To: Linux-Misc@senator-bedfellow.mit.edu
|
||||
Reply-To: Linux-Misc@senator-bedfellow.mit.edu
|
||||
Date: Sun, 25 Sep 94 01:13:18 EDT
|
||||
Subject: Linux-Misc Digest #818
|
||||
|
||||
Linux-Misc Digest #818, Volume #2 Sun, 25 Sep 94 01:13:18 EDT
|
||||
|
||||
Contents:
|
||||
Help with Linux compat. (Andrew Phillips)
|
||||
Re: HELP: Problems/errors with sz (Inge Cubitt)
|
||||
Re: Looking for BBS Pkg (Inge Cubitt)
|
||||
Where is Mosaic for Term? (Travis L. Cobbs)
|
||||
** Help : Linux And Stacker : Possible ? ** (Rajib Rashid)
|
||||
Linux & hayes Accelerator (Paul Medcalf)
|
||||
Re: Don't use Linux or it's to academic! (Rob Fugina)
|
||||
Re: Partitioning suggestions? (Erik Ratcliffe)
|
||||
Re: Is Linux faster than Os/2? Please help. (Juana Moreno)
|
||||
56.6 Kb simulated with 2 28.8Kb modems. Is it possible? (Juana Moreno)
|
||||
*** PLEASE READ THIS BEFORE POSTING *** (misc-2.07) (Ian Jackson)
|
||||
Re: P5-90 MHz beats SGI R4000-100MHz. (Bill Broadley)
|
||||
monitor ptrace process & read from pipe or socket (Jacques Gelinas)
|
||||
Re: Emacs & latex for thesis (Cornelius Krasel)
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
From: aa327@cfn.cs.dal.ca (Andrew Phillips)
|
||||
Subject: Help with Linux compat.
|
||||
Date: Sat, 24 Sep 1994 22:40:13 GMT
|
||||
|
||||
Would a 33mhz 486 with a Soundblaster, CDRom and 8 megs work with Linux?
|
||||
Alos were can I get a good Linux CD?
|
||||
|
||||
--
|
||||
+---------------------------------------+---------------------------------+
|
||||
| Andrew Phillips - aa327@cfn.cs.dal.ca | __ Amiga was great, until |
|
||||
| Voice - (902)-860-2530 | __ ///\ ____ ___ C= |
|
||||
| Fax - (902)-860-1440 | \\\///--| <___ |___> Fucked |
|
||||
+---------------------------------------+ \XX/ | ____> | It Up |
|
||||
+---------------------------------+
|
||||
|
||||
------------------------------
|
||||
|
||||
From: inge@drealm.drealm.org (Inge Cubitt)
|
||||
Subject: Re: HELP: Problems/errors with sz
|
||||
Date: Thu, 22 Sep 1994 10:33:32 +0000
|
||||
|
||||
mvalente@draco.lnec.pt wrote:
|
||||
|
||||
|
||||
: Yo all:
|
||||
:
|
||||
: I'm running a Linux system with dial-in capabilities. When
|
||||
: my users download files using sz they start getting errors
|
||||
: at about 19k of data. People are using 14.4k with RTS/CTS
|
||||
: and they have 16550 UARTs but the problems are still there.
|
||||
:
|
||||
|
||||
Just to confirm, we are running a dial-in Bulletin Board under sysVr4.2 and
|
||||
we get endless complaints about sz. It's even worse when they upload to us.
|
||||
So it's not specifically a Linux problem. We too have tried changing packet
|
||||
sizes etc. We have used it on both an 8-port intelligent serial card, and on
|
||||
separate 16550s with equal problems.
|
||||
|
||||
Our suspicion is that there are still no really wonderful drivers for serial
|
||||
ports under unix in general, especially the higher speed ones.
|
||||
|
||||
Inge
|
||||
|
||||
|
||||
------------------------------
|
||||
|
||||
From: inge@drealm.drealm.org (Inge Cubitt)
|
||||
Subject: Re: Looking for BBS Pkg
|
||||
Date: Thu, 22 Sep 1994 10:53:28 +0000
|
||||
|
||||
Tom Rossbottom (tom@khis.com) wrote:
|
||||
: Does anyone know of a good bbs package for Linux?
|
||||
: Something as good(or bad) as those DOS versions with
|
||||
: ANSI Screens for callers/Chat/Mail/etc.....
|
||||
|
||||
Our drealmBBS system should be in general distribution very soon now. It's
|
||||
got quite extensive configuration options, and the menus are what I would call
|
||||
semi-programmable. Trouble is as yet you have to edit them by hand (we
|
||||
haven't had time to write fancy menu creators).
|
||||
|
||||
We are expecting a load of flames from this group, as we are not distributing
|
||||
source with the general release, but we have been careful to not infringe any
|
||||
Free Software licences (I hope people will point out if they think we might
|
||||
have slipped up somewhere!)
|
||||
|
||||
The two-node version will be free, but we'll ask for some nominal registration
|
||||
fee for a higher-node version - on the assumption that if you can afford more
|
||||
than one line and modem you can afford to help us with some of our costs (as
|
||||
yet we have *still* to break even on our own system after 4 years!!!)
|
||||
|
||||
It's got things like top callers, message posters and message/call ratio and
|
||||
we intend to add more as time goes by.
|
||||
|
||||
We also commissioned an offline reader which runs under windows and is now
|
||||
available as Shareware. There is an alternative OLR which is available as
|
||||
source for unix and dos. I can give out details but I had better check with
|
||||
these guys that they are ready to be 'advertised' here (-:
|
||||
|
||||
While designing the system, we bore in mind what was popular about the DOS bbs
|
||||
systems, (including definable user flags and security levels), while trying to
|
||||
also provide an interface to the normal life of a unix system (for instance
|
||||
you can import Unix mail into internal drealm format and out again).
|
||||
|
||||
Please don't mail me to get a copy yet, as I will certainly announce the
|
||||
release in various places in the near future.
|
||||
|
||||
Inge.
|
||||
|
||||
------------------------------
|
||||
|
||||
From: tcobbs@galaxy.csc.calpoly.edu (Travis L. Cobbs)
|
||||
Subject: Where is Mosaic for Term?
|
||||
Date: Fri, 23 Sep 94 08:00:51 GMT
|
||||
|
||||
|
||||
I imagine this has been asked before, but the faq for this group isn't on my
|
||||
server at the moment, and I just started reading it. I've seen various references
|
||||
to people using Mosaic for Term, but I haven't seen anyone say where it can be
|
||||
found. Where is it locate? (Preferably via FTP.)
|
||||
|
||||
--Travis Cobbs
|
||||
tcobbs@galaxy.csc.calpoly.edu
|
||||
|
||||
------------------------------
|
||||
|
||||
Crossposted-To: comp.os.linux.help,comp.os.linux.admin
|
||||
From: rr002c@uhura.cc.rochester.edu (Rajib Rashid)
|
||||
Subject: ** Help : Linux And Stacker : Possible ? **
|
||||
Date: Fri, 23 Sep 94 07:29:01 GMT
|
||||
|
||||
Hello:
|
||||
|
||||
Does anyone know whether it is possible to access a stacked drive
|
||||
(Stacker version 3.1) while booting the linux partition? I have my hard
|
||||
drive partitioned into dos and linux ones, and when I load linux, I can
|
||||
access the parent dos partition (/dev/hda1) and I can also see the stacker
|
||||
file (stacvol.000) ... but is there any way to access the files in the
|
||||
stacked drive?
|
||||
|
||||
Thank you in advance. Please mail reply to
|
||||
rr002c@uhura.cc.rochester.edu.
|
||||
|
||||
Rajib Rashid
|
||||
Univ. of Rochester
|
||||
|
||||
|
||||
------------------------------
|
||||
|
||||
From: paul@triton.demon.co.uk (Paul Medcalf)
|
||||
Subject: Linux & hayes Accelerator
|
||||
Date: Wed, 21 Sep 1994 21:16:38 GMT
|
||||
|
||||
Hi,
|
||||
has anybody used the Hayes comms accelerator with Linux, and does
|
||||
Linux support it ? reading the blurb on the side of the box
|
||||
yesterday, it say its a 16550 COMPATIBLE board that is capable
|
||||
of support 115200 data rates.
|
||||
|
||||
Its also billed as a windows 3 comms accelerator.
|
||||
|
||||
Thoughts anybody ?
|
||||
|
||||
|
||||
Paul
|
||||
--
|
||||
*******************************************************************
|
||||
** Paul Medcalf ** **
|
||||
** AndMotiX Associates Ltd ** Paul.Medcalf@triton.demon.co.uk **
|
||||
** Mildenhall, Suffolk, ** **
|
||||
** England ** Those views expressed etc etc **
|
||||
** 0638-716586 / 0565-597065 ** **
|
||||
*******************************************************************
|
||||
|
||||
------------------------------
|
||||
|
||||
From: rfugina@mcdgs01 (Rob Fugina)
|
||||
Subject: Re: Don't use Linux or it's to academic!
|
||||
Date: Sat, 24 Sep 1994 19:46:35 GMT
|
||||
Reply-To: rfugina@mcdgs01.cr.usgs.GOV
|
||||
|
||||
In article <jeffpkCwMJ0o.uK@netcom.com>,
|
||||
Jeff Kesselman <jeffpk@netcom.com> wrote:
|
||||
>I'll add 2 cents to make it 4. I agree with you 100%. Back in college I
|
||||
>had to support intelligent but non cs researchers using PCs. Even DOS
|
||||
>was a bit of a challenge for them, a UNIX is much too much OS, at least
|
||||
>in its raw state.
|
||||
>If someone can come up with a Linux that not only installs easily, but
|
||||
>requries close to zero admin, then it might be a contender to replace DOS
|
||||
>on pure end-user's machines...
|
||||
|
||||
Even DOS and Windoze require administration. It doesn't get done, and that's
|
||||
why most DOS/Windoze machines are a MESS. Stray files, improperly configured
|
||||
software, lost temporary files taking up disk space. What a waste of money
|
||||
and resources...
|
||||
|
||||
Rob
|
||||
|
||||
--
|
||||
Rob Fugina, Systems Analyst ** I think, therefore I am not politically correct.
|
||||
rfugina@mcdgs01.cr.usgs.GOV, robf@umr.edu, robf@cs.umr.edu, robf@ee.umr.edu
|
||||
GE/CS d-(---) p c++++ l++ u++ e- m+ s+/- n--- h-- f? !g w+ t+ r y?
|
||||
http://mcmcweb.cr.usgs.gov/~rfugina/
|
||||
|
||||
------------------------------
|
||||
|
||||
Crossposted-To: comp.os.os2.misc
|
||||
From: erat@netcom.com (Erik Ratcliffe)
|
||||
Subject: Re: Partitioning suggestions?
|
||||
Date: Sat, 24 Sep 1994 19:35:10 GMT
|
||||
|
||||
Srikanth Viswanathan (sviswanathan@vmsa.is.csupomona.edu) wrote:
|
||||
: Hello everyone. I'm going to be moving into the brave world
|
||||
: of Linux as soon as I get the OS/2 Warp II beta. Here is
|
||||
: my current partition:
|
||||
|
||||
: Drive 0:
|
||||
: 40 MB Primary FAT [ DOS 6.22 ]
|
||||
: 40 MB Extended HPFS [ OS/2 Warp I ]
|
||||
: 1 MB Boot Manager
|
||||
: Drive 1:
|
||||
: 45 MB Primary FAT
|
||||
: 55 MB Extended FAT
|
||||
|
||||
: I tried to install Slackware 2.0 a couple of months back
|
||||
: unsuccessfully on Drive 1 (on both the primary and extended.)
|
||||
|
||||
: I'm willing to completely restructure both drives and figure
|
||||
: that since I'll be installing the new OS/2 beta soon, now would
|
||||
: be a good time. Could someone please suggest an appropriate
|
||||
: partition configuration that would result in the LEAST amount
|
||||
: of trouble for both OS/2 and Linux?
|
||||
|
||||
: Thanks!
|
||||
|
||||
: Sri
|
||||
|
||||
That's hard to say... I heard that OS/2 is a pretty huge operating
|
||||
system (yeah, like Linux isn't :), so I can only speculate on how much you
|
||||
can alter Drive 0. If you must keep a lot of DOS stuff installed, you'll
|
||||
probably need to leave that drive alone.
|
||||
|
||||
Drive 1 should be 100% Linux, though... But even that much space
|
||||
won't be enough for a really good system. If you have 8 megs of RAM, you'll
|
||||
probably want to have at least a 5 meg swap partition (that's what I have,
|
||||
and so far it's worked pretty well); if you have less than 8 megs of RAM
|
||||
you'll need a bigger swap partition. Also, for future upgrading purposes,
|
||||
you'll want a separate root partition (I haven't set one of these up myself
|
||||
yet, but I would imagine that 5 megs would be pretty good). Soooo...
|
||||
|
||||
That would make Drive 1 split as such:
|
||||
|
||||
5 meg swap partition
|
||||
5 meg root partition
|
||||
90 meg Linux partition
|
||||
|
||||
With that setup, you'll probably be able to squeeze in the Linux
|
||||
source tree (essential), gcc (essential, but the debugger stuff and
|
||||
translators can be skipped if you want), and possibly even a decent
|
||||
X-Windows setup with TeX, Ghostscript, and most of the other frilly things
|
||||
that make X-Windows as way-cool as it should be. That won't leave much open
|
||||
space, though; I'd recommend losing some of the DOS partition on Drive 0
|
||||
(perhaps put the root and swap partitions there... Better yet, lose DOS
|
||||
altogether and make that a Linux drive... :).
|
||||
|
||||
That's about it for me. I'm sure some people would argue that the
|
||||
above isn't a good split, but to each his/her own.
|
||||
--
|
||||
| (0)(0) erat@netcom.com | "Drink up... Happy Hour is |
|
||||
| (oo) Greetings from fragrant | now enforced by law." |
|
||||
| =\/= Old Town Alexandria, VA (USA) | -- Dead Kennedys |
|
||||
|
||||
------------------------------
|
||||
|
||||
From: madrid@gandalf.rutgers.edu (Juana Moreno)
|
||||
Subject: Re: Is Linux faster than Os/2? Please help.
|
||||
Date: 23 Sep 1994 04:00:06 -0400
|
||||
|
||||
rgasch@nl.oracle.com (Robert Gasch) writes:
|
||||
|
||||
>I hate to question your figures, but I'm interested in this for my own
|
||||
>sake. I'm running Linux 1.0.9 (Slakware 2.0) with 8Mb Ram with the S3
|
||||
>server. When I start up X and create 2 xterms, I start using swap. BTW,
|
||||
>I'm using the default window manager with a 3x3 virtual desktop and am
|
||||
>running several gettys and the tcp demons (to enable loopback connections).
|
||||
>I don't think I'm doing anything weird enough to account for a difference
|
||||
>of 4MB used memory? BTW, the numbers I'm giving are as reported by top.
|
||||
|
||||
I have a 486/33 with 8MB. My card is a WD Rocket (so my X sever not the same).
|
||||
My virtual desktop is also 3x3.
|
||||
|
||||
My figures are these:
|
||||
|
||||
/home/root# free
|
||||
total used free shared buffers
|
||||
Mem: 6756 6676 80 4100 1916
|
||||
Swap: 12564 872 11692
|
||||
/home/root# ps
|
||||
|
||||
PID TTY STAT TIME COMMAND
|
||||
1 con S 0:01 init
|
||||
6 con S 0:00 (update)
|
||||
7 con S 0:00 update (bdflush)
|
||||
23 con S 0:00 /usr/sbin/crond -l10
|
||||
40 con S 0:00 /usr/sbin/syslogd
|
||||
42 con SW 0:00 (klogd)
|
||||
44 con SW 0:00 (rpc.portmap)
|
||||
46 con SW 0:00 (inetd)
|
||||
58 p 3 SW 0:00 (agetty)
|
||||
59 p 4 SW 0:00 (agetty)
|
||||
60 p 5 SW 0:00 (agetty)
|
||||
61 p 6 SW 0:00 (agetty)
|
||||
592 p 2 S 0:00 (agetty)
|
||||
1036 p 1 S 0:00 sh /usr/X11/bin/startx
|
||||
1054 p 1 S 0:00 xinit /home/root/.xinitrc --
|
||||
1055 con S 0:07 X :0
|
||||
1056 p 1 S 0:01 fvwm
|
||||
1062 p 1 S 0:00 xterm
|
||||
1063 pp0 S 0:00 -sh
|
||||
1079 p 1 S 0:00 xterm
|
||||
1080 pp1 S 0:00 -sh
|
||||
1142 pp0 R 0:00 ps
|
||||
1099 pp1 S 0:00 -bash
|
||||
1132 pp1 S 0:02 nn
|
||||
1133 pp1 S 0:01 nnaux /usr/lib/nn/aux follow /usr/tmp/nn.a01132
|
||||
1138 pp1 S 0:00 vi +6 /usr/tmp/nn.a01132
|
||||
|
||||
So, as you see, I don't have any swapping problems with two xterms, one idle
|
||||
and one running nn. Maybe it's your X server the memory pig.
|
||||
|
||||
I am right now doing a test with 5 xterm open, running nn, vi, joe, dos and
|
||||
top. And dos is running MicroEmacs for dos. I also have the xfm-1.3 file
|
||||
manager open. The swapping is almost not noticeable, very smooth indeed.
|
||||
|
||||
This is what top shows:
|
||||
10:50pm up 4:38, 5 users, load average: 1.03, 1.01, 0.76
|
||||
36 processes: 34 sleeping, 2 running, 0 zombie, 0 stopped
|
||||
CPU states: 20.0% user, 0.0% nice, 79.8% system, 0.7% idle
|
||||
Mem: 6756K av, 6532K used, 224K free, 2756K shrd, 1552K buff
|
||||
Swap: 12564K av, 6308K used, 6256K free
|
||||
|
||||
PID USER PRI NI SIZE RES SHRD STAT %CPU %MEM TIME COMMAND
|
||||
1226 root 17 0 1233 1200 688 R 96.1 17.7 13:16 dos
|
||||
1055 root 1 0 1711 912 660 S 2.2 13.4 0:56 (X)
|
||||
1147 root 2 0 397 456 456 S 0.6 6.7 0:02 xterm
|
||||
1238 root 16 0 97 308 324 R 0.2 4.5 0:03 top
|
||||
1056 root 1 0 212 336 396 S 0.1 4.9 0:07 fvwm
|
||||
1167 root 2 0 397 276 324 S 0.1 4.0 0:01 xterm
|
||||
1 root 1 0 44 0 164 SW 0.0 0.0 0:01 (init)
|
||||
1036 root 1 0 348 0 176 SW 0.0 0.0 0:00 (startx)
|
||||
592 root 1 0 37 0 184 SW 0.0 0.0 0:00 (agetty)
|
||||
23 root 1 0 60 128 232 S 0.0 1.8 0:00 /usr/sbin/crond -l10
|
||||
6 root 1 0 24 52 232 S 0.0 0.7 0:00 (update)
|
||||
7 root 1 0 24 76 248 S 0.0 1.1 0:00 update (bdflush)
|
||||
58 root 1 0 37 0 184 SW 0.0 0.0 0:00 (agetty)
|
||||
40 root 1 0 50 56 180 S 0.0 0.8 0:00 /usr/sbin/syslogd
|
||||
42 root 1 0 36 0 164 SW 0.0 0.0 0:00 (klogd)
|
||||
44 root 1 0 64 0 184 SW 0.0 0.0 0:00 (rpc.portmap)
|
||||
46 root 1 0 68 0 176 SW 0.0 0.0 0:00 (inetd)
|
||||
So, I am happily writing this article in an xterm. Try something similar in
|
||||
OS/2. I used to have it installed, but 8MB is barely the minimum, and when it
|
||||
starts swapping, it seems as if it will never end. Linux, on the other hand,
|
||||
just swaps a little when I move to another window, but it's just a few seconds.
|
||||
|
||||
|
||||
|
||||
------------------------------
|
||||
|
||||
From: madrid@gandalf.rutgers.edu (Juana Moreno)
|
||||
Subject: 56.6 Kb simulated with 2 28.8Kb modems. Is it possible?
|
||||
Date: 23 Sep 1994 04:00:08 -0400
|
||||
|
||||
I just had this idea. There must be a way to simulate a 56.6 Kb connection
|
||||
without the need unconventional equipment (from the home user point of view,
|
||||
I mean). May be with just 2 28.8 modems connected to 2 regular phone lines and
|
||||
some smart low level packet routing ( choosing for a packet the least busy
|
||||
line) it has to be possible. It will be way much cheaper than the special
|
||||
56.6 circuits, and it could even encourage the vendors of those equipments to
|
||||
lower the price, given the cheap alternative.
|
||||
So, whats your opinion. It has to be possible. Writing a whole operating
|
||||
system was much more difficult and it has been accomplished. This is just a
|
||||
small retouch.
|
||||
|
||||
|
||||
------------------------------
|
||||
|
||||
From: ijackson@nyx.cs.du.edu (Ian Jackson)
|
||||
Subject: *** PLEASE READ THIS BEFORE POSTING *** (misc-2.07)
|
||||
Date: 24 Sep 1994 04:03:15 -0600
|
||||
|
||||
Please do not post questions to comp.os.linux.misc - read on for details of
|
||||
which groups you should read and post to.
|
||||
|
||||
Please do not crosspost anything between different groups of the comp.os.linux
|
||||
hierarchy. See Matt Welsh's introduction to the hierarchy, posted weekly.
|
||||
|
||||
If you have a question about Linux you should get and read the Linux Frequently
|
||||
Asked Questions with Answers list from sunsite.unc.edu, in /pub/Linux/docs, or
|
||||
from another Linux FTP site. It is also posted periodically to c.o.l.announce.
|
||||
|
||||
In particular, read the question `You still haven't answered my question!'
|
||||
The FAQ will refer you to the Linux HOWTOs (more detailed descriptions of
|
||||
particular topics) found in the HOWTO directory in the same place.
|
||||
|
||||
Then you should consider posting to comp.os.linux.help - not
|
||||
comp.os.linux.misc.
|
||||
|
||||
Note that X Windows related questions should go to comp.windows.x.i386unix, and
|
||||
that non-Linux-specific Unix questions should go to comp.unix.questions.
|
||||
Please read the FAQs for these groups before posting - look on rtfm.mit.edu in
|
||||
/pub/usenet/news.answers/Intel-Unix-X-faq and .../unix-faq.
|
||||
|
||||
Only if you have a posting that is not more appropriate for one of the other
|
||||
Linux groups - ie it is not a question, not about the future development of
|
||||
Linux, not an announcement or bug report and not about system administration -
|
||||
should you post to comp.os.linux.misc.
|
||||
|
||||
|
||||
Comments on this posting are welcomed - please email me !
|
||||
--
|
||||
Ian Jackson <ijackson@nyx.cs.du.edu> (urgent email: iwj10@phx.cam.ac.uk)
|
||||
2 Lexington Close, Cambridge, CB4 3LS, England; phone: +44 223 64238
|
||||
|
||||
------------------------------
|
||||
|
||||
From: broadley@turing.ucdavis.edu (Bill Broadley)
|
||||
Subject: Re: P5-90 MHz beats SGI R4000-100MHz.
|
||||
Date: 24 Sep 1994 20:19:43 GMT
|
||||
|
||||
: |> Funny in my 2 month old magazine I see a DELL P-90, 16 MB ram, 17" monitor,
|
||||
: |> #9 2 MB vram card (250k xstones), 1 GB disk, 3*cdrom for
|
||||
: |> $3899. I'm sure the ethernet card doesn't cost $500
|
||||
|
||||
: You are free to call Dell and check my price. I did call them.
|
||||
: You have two choices for ethernet cards. I went with the slow one.
|
||||
|
||||
I tried to email but it bounced.
|
||||
|
||||
Read any Computer Shopper, byte, or pc-mag in the last two months.
|
||||
|
||||
BTW the ethernet is $70 I believe.
|
||||
|
||||
--
|
||||
Bill Broadley Broadley@math.ucdavis.edu UCD Math Sys-Admin
|
||||
Linux is great. http://ucdmath.ucdavis.edu/~broadley PGP-ok
|
||||
|
||||
------------------------------
|
||||
|
||||
From: jack@solucorp.qc.ca (Jacques Gelinas)
|
||||
Subject: monitor ptrace process & read from pipe or socket
|
||||
Date: Sat, 24 Sep 94 11:59:01 GMT
|
||||
|
||||
To monitor a ptrace'd process, I must use wait() on it. To manage
|
||||
the user interface of my program, I must monitor pipes and sockets.
|
||||
I do that with "select". Is it possible to do a select that
|
||||
will terminate when there is something available (being
|
||||
sure that wait() won't block.
|
||||
|
||||
Currently I manage to achieve this using two processes. The main
|
||||
one do wait(), and the child do select. Whenever the select
|
||||
return something useful, the child send a signal to the parent,
|
||||
effectivly terminating the wait(). The parent then read the different
|
||||
pipe and socket and send a signal to the child so it can resume
|
||||
select().
|
||||
|
||||
Is it possible to do this with a single process ?
|
||||
|
||||
==============================================================
|
||||
I am including a small information on my project in any case.
|
||||
|
||||
I am building a debugger for linux (GUI). This debugger
|
||||
unlike most, do not rely on getting all its
|
||||
symbolic information from the executable file. Instead it rely on it
|
||||
only for getting a basic map of the different modules composing
|
||||
the program. When information is needed on a specific module, its
|
||||
corresponding source file and object file are located and
|
||||
information is then read from there.
|
||||
|
||||
Why one would do this ? General performance!
|
||||
|
||||
The executable file is made with "partly" stripped library (strip -S).
|
||||
|
||||
So it is smaller and link faster.
|
||||
lib file are also smaller (not a duplication of all
|
||||
the full object files content), again help link faster.
|
||||
|
||||
load faster: Only the basic map of the exe must be read.
|
||||
|
||||
Use less memory: Only the module which are effectivly traced
|
||||
need to be load in memory.
|
||||
|
||||
To give you an idea. The program I usually work on is 2.5 megs
|
||||
large. The executable file with basic symbolic info is 3.2 megs large.
|
||||
If linked with all symbolic info, it goes to 15-20 megs. No way one
|
||||
will debugged this using a standard debugger on a 16 megs ram machine.
|
||||
Even if you have the ram, the general performance of a debugger is
|
||||
weak (slow). It requiere somewhere around 32 megs of swap to operate.
|
||||
|
||||
With my debugger, it used around 1.5 megs of ram to operate and it let
|
||||
me debugged anywhere in the program without restriction.
|
||||
|
||||
Anyway, this is my project!
|
||||
|
||||
|
||||
--
|
||||
|
||||
========================================================
|
||||
Jacques Gelinas (jacques@solucorp.qc.ca)
|
||||
Maintainer of US4BINR jacques@us4binr.login.qc.ca
|
||||
|
||||
------------------------------
|
||||
|
||||
From: krasel@alf.biochem.mpg.de (Cornelius Krasel)
|
||||
Subject: Re: Emacs & latex for thesis
|
||||
Date: 24 Sep 1994 10:36:14 GMT
|
||||
|
||||
Jin S. Choi (jsc@gwar.mit.edu) wrote:
|
||||
: In article <35r1n8$8e5@emoryu1.cc.emory.edu> jnipp@unix.cc.emory.edu (Jeffrey Nipp) writes:
|
||||
|
||||
: [quoting somebody else]
|
||||
: The real question is: Why would you want to write a THESIS on emax and
|
||||
: latex?
|
||||
: [end of quote]
|
||||
|
||||
Easy: because I write my thesis faster with emacs and LaTeX than with MS-Word
|
||||
or whatever you may think of.
|
||||
|
||||
I have written my diploma thesis with LaTeX and am going to write my PhD
|
||||
thesis with LaTeX as well. Having seen lots of colleagues fiddling with
|
||||
Word or WfW I never would want to change :-)
|
||||
|
||||
FYI, LaTeX as well as Emacs are probably better tested than any of the
|
||||
commercial packages, because the source is available, so, if an error
|
||||
occurs, a capable person can trace it down and send a bugfix or at least
|
||||
a detailed bug report to the maintainer. As far as I can remember, the
|
||||
2.* TeX package is almost bug-free (Don Knuth offered a price to anybody
|
||||
who could track down a bug in TeX); I am not sure if this is also true
|
||||
of the new TeX 3.* versions.
|
||||
|
||||
Sorry, I had to get this off my chest.
|
||||
|
||||
--Cornelius.
|
||||
|
||||
--
|
||||
/* Cornelius Krasel, Abt. Lohse, Genzentrum, D-82152 Martinsried, Germany */
|
||||
/* email: krasel@alf.biochem.mpg.de fax: +49 89 8578 3795 */
|
||||
/* "People are DNA's way of making more DNA." (Edward O. Wilson, 1975) */
|
||||
|
||||
------------------------------
|
||||
|
||||
|
||||
** 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: Linux-Misc-Request@NEWS-DIGESTS.MIT.EDU
|
||||
|
||||
You can send mail to the entire list (and comp.os.linux.misc) via:
|
||||
|
||||
Internet: Linux-Misc@NEWS-DIGESTS.MIT.EDU
|
||||
|
||||
Linux may be obtained via one of these FTP sites:
|
||||
nic.funet.fi pub/OS/Linux
|
||||
tsx-11.mit.edu pub/linux
|
||||
sunsite.unc.edu pub/Linux
|
||||
|
||||
End of Linux-Misc Digest
|
||||
******************************
|
||||
Reference in New Issue
Block a user