Linux-Misc Digest #984, Volume #18               Thu, 11 Feb 99 12:13:09 EST

Contents:
  Re: Linux InstallFest -- DC -- 20 Feb 99 (Dr Paul Kinsler)
  Video raster shifted to right (Charles Packer)
  2 domains 1 linux ???? ("softalk")
  Re: Partition Magic (Ulf Bohman)
  Tin ([EMAIL PROTECTED])
  Re: editing LILO? (dmalcolm)
  Re: More bad news for NT ([EMAIL PROTECTED])
  How to change icon? (QM)
  Re: Handing a socket to an already running process???  How??? (Ben Russo)
  MetroX (=?iso-8859-1?Q?Bj=F8rn?= T Johansen)
  Re: isdn4k utilities and ISDN ([EMAIL PROTECTED])
  Re: MetroX (Ben Russo)
  Re: Video raster shifted to right (Ben Russo)
  Mixing old and new libraries (RPMS)? (PG)
  Re: Advice for Microsoft-haters (Michael Powe)
  gmtime to beat! (Massimo Morin)
  KERNEL 2.2.0 failed ([EMAIL PROTECTED])

----------------------------------------------------------------------------

Crossposted-To: dc.general
From: [EMAIL PROTECTED] (Dr Paul Kinsler)
Subject: Re: Linux InstallFest -- DC -- 20 Feb 99
Date: Wed, 10 Feb 1999 18:13:33 +0000 (GMT)

Charles Packer <[EMAIL PROTECTED]> wrote:
> It came down to this: Windows 95 doesn't care what video monitor
> I attach to the used Compaq Deskpro I bought recently. With
> Linux, it's a big deal to switch over from an older fixed-scan
> model to an upscale multiscan model. 

Neither does Linux.  Just stick in the generic defaults of
(S)VGA xserver and (S)VGA monitor, and all should be well.
And there is the XF86Setup graphical install prog, which 
took me only a few mins to use today.

OK, you want to fine tune stuff, you need to go fiddle about.
But to get up and running takes little effort if you use 
XF86Setup.  You did read the XFree howto's, didnt you?

-- 
==============================+==============================
Dr. Paul Kinsler                 
Institute of Microwaves and Photonics
University of Leeds            (ph) +44-113-2332089
Leeds LS2 9JT                  (fax)+44-113-2332032
United Kingdom                 [EMAIL PROTECTED]
WEB: http://www.ee.leeds.ac.uk/staff/pk/P.Kinsler.html

------------------------------

From: [EMAIL PROTECTED] (Charles Packer)
Subject: Video raster shifted to right
Date: 10 Feb 1999 13:36:08 GMT

I just installed RedHat 5.1 on an older Compaq Deskpro (I
remain contented to stay one generation behind in home
computing). When, at great length, I finally got the
XF86Config file right -- a stable image, that is -- for the
Nanao F2-17 (17-inch) monitor I'm using, its image was still
shifted to the right, leaving a dark band on the left side an
inch wide.

Now, in part this may be solved by tweaking the monitor
settings. The reason I think so is that Windows 95 on the same
box also puts out an image that is right-shifted, but only by
1/2 inch.

So if I can get a half inch by adjusting the monitor, can
somebody tell me what parameters in the XF86config file
might be involved in shifting it another half inch to the
left?

I might remark that video configuration is still the armpit of
Linux, even after the four years that have passed since I
installed Linux on a PC the first time. Everything else in the
installation went smoothly. The hackers who created Linux
should take time off from tweaking the kernel and get busy
on more successfully automating the video configuration process.

-- 
[EMAIL PROTECTED]
http://www.clark.net/pub/whatnews/whatnews.html

------------------------------

From: "softalk" <[EMAIL PROTECTED]>
Subject: 2 domains 1 linux ????
Date: Wed, 10 Feb 1999 13:39:29 -0000

Could someone please help ?

I have 2 domains registered domain1.co.uk & domain2.co.uk. I currently have
both with ISP's and dial in to them from a win98 machine. I have just
installed a linux Redhat 5.1 system on a 64k leased with a cisco router. The
ISP issued me with 16 static IP addresses plus 1 for the router. I have set
the router as the gateway and I can send and receive email from the
domain1.co.uk cos I put it in the domain box in Linux (I get that much) + I
can browse the web, but I would like to host both my domains on the linux
system and receive mail for them both. This is where I am lost. I get the
idea that it is possible to have 2 seperate web sites for 2 domains on the
same linux system. If so, could you please give me an idea as to what to put
in the network settings box in x windows to make this happen. I am a linux
newcomer as you may have gathered.

If you can help, thank you very very much.

[EMAIL PROTECTED]




------------------------------

From: Ulf Bohman <[EMAIL PROTECTED]>
Subject: Re: Partition Magic
Date: Wed, 10 Feb 1999 13:54:37 +0100

Yes, that seems very logical. I'm just about to install PM 4 so I can't say for
sure but I've used PM 3 and discovered that deleting and immediately recreating a
partition before the root partition will also confuse lilo. I thought lilo saw
the partitions in the physical order of the disk, but creation time seems to have
something to do with it too. My old / was hda4, but after deleting and recreating
hda3 (a FAT) my / became hda3 and the new FAT was hda4, despite the same physical
order...But editing lilo.conf and reinstalling lilo fixes this.

/Ulf


------------------------------

From: [EMAIL PROTECTED]
Subject: Tin
Date: Tue, 9 Feb 1999 08:15:08 -0800

I want my from line in Tin to show "Jeff Grossman ([EMAIL PROTECTED])", but
when I put that in, it tells me that it is an illegal from line.  How do I
format the line and where do I change it permanently?

Thanks,
Jeff

-- 
=====
Jeff Grossman ([EMAIL PROTECTED])

------------------------------

Date: Thu, 11 Feb 1999 08:15:08 -0600
From: dmalcolm <[EMAIL PROTECTED]>
Subject: Re: editing LILO?

This is a multi-part message in MIME format.
==============4E81EFF8E0D0E1A05B245F3A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Walt,
Yes you can.  Slackware Linux has a liloconfig script for editing
lilo.conf.  /etc/lilo.conf can be edited with vi and then installed with
liloconfig also.  Timeout is set in deciseconds.  In liloconfig you can
set to 5 or 30 seconds or never timeout.  You might take a look at 'man
lilo'  and 'man 5 lilo,conf' for information.  Default timeout is
infinite.

Dan

walt wrote:

> Here's a simple question; how can I edit LILO so that I have more time
> to hit TAB then type in my selection? Can it be edited to wait
> indefinately?All help appreciated!..walt

==============4E81EFF8E0D0E1A05B245F3A
Content-Type: text/x-vcard; charset=us-ascii;
 name="dmalcolm.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for dmalcolm
Content-Disposition: attachment;
 filename="dmalcolm.vcf"

begin:vcard 
adr;dom:;;1308 Nolan Court;Madison;AL;35758;
n:Malcolm;Dan
x-mozilla-html:FALSE
org:Home
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;fax:205-895-9934
tel;home:205-772-3109
tel;work:205-722-2840
x-mozilla-cpt:;0
fn:Dan Malcolm
end:vcard

==============4E81EFF8E0D0E1A05B245F3A==


------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: alt.destroy.microsoft,comp.os.linux.advocacy,alt.linux
Subject: Re: More bad news for NT
Date: Thu, 11 Feb 1999 13:33:48 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> It was the Tue, 09 Feb 1999 19:38:03 GMT...
> ..and [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Last year at Comdex, Ellison revealed plans for a database server composed
of
> > a minimized operating system tightly integrated with Oracle's database
> > software. The architecture, then code-named Raw Iron, is now known as the
> > Oracle Database Appliances. Oracle subsequently chose a scaled-down version
> > of the Solaris operating system from Sun Microsystems.
>
> Huh? Database *appliance*?
> Does that mean, some kind of Oracle Fridge(TM)?

Yep.  Cool, eh?  Soon to be released: SQL/Oven, SQL/Toaster and SQL/Blender.
They'll be available as individual packages or in the complete SQL/Kitchen
suite.  The development kits include Pan/SQL, Pot/SQL, and Knife/SQL.  The new
user interface is the Oracle PlaceSetting package.

-Dave


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: QM<[EMAIL PROTECTED]>
Subject: How to change icon?
Date: 10 Feb 1999 13:21:23 GMT

Hi can anyone tell me how I can change the little icon displayed at the corner
of a window or in the toolbar? I tried to change the xterm one by putting the
following in my .Xdefaults:
                xterm*iconName: /home/user1/icons/pic1.xpm
but it doesn't seem to work. The icon still show and X pixmap. Thanks.


------------------------------

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Handing a socket to an already running process???  How???
Date: Wed, 10 Feb 1999 09:00:19 -0500

Well, all processes are forked as part of their creation except init.

But if the "spitter" process isn't a child of the one that establishes the
connection network sockets with the client, I wouldn't know how to
handle it.  I would think that what you need here is  a third process
to handle the sockets, this process would have IPC of some sort.

Then the process that you have now that handles the client initially
would communicate the request and a socket identifier to the
"spitter" and then the "spitter" would use IPC to talk to the third
process.

You should rephrase your question in programming terms and
post it to the comp.lang.c.*  groups.

-Ben.


David Sisk wrote:

> Hi Ben:
>
> Thanks for the answers.  What if, though, I don't want the *child* processes
> to be forked (ie. start a new process when a socket request is *seen* by the
> parent process).  Any ideas how I make an already running process (not a
> forked child process) pick up the socket connection?
>
> Thanks and kindest regards,
>
> David C. Sisk
> The Unofficial ORACLE on NT site
> http://www.ipass.net/~davesisk/oont.htm
>
> -----Original Message-----
> From: Ben Russo <[EMAIL PROTECTED]>
> Newsgroups: comp.os.linux.misc
> To: David Sisk <[EMAIL PROTECTED]>
> Date: Tuesday, February 09, 1999 9:33 PM
> Subject: Re: Handing a socket to an already running process??? How???
>
> >David Sisk wrote:
> >>
> >> Say you've got a listener/dispatcher type process running (let's say an
> http
> >> server, just for familiarity's sake), and 10 "work" processes (let's say
> >> these are processes that are already started and already connected to a
> >> database, for instance).
> >>
> >> A request (say from a browser, again for familiarity's sake) appears to
> the
> >> dispatcher process (http listener), it *hands* that request to one of the
> >> already running work processes, and the work process then establishes a
> >> socket connection to the browser.  (This way you avoid the time delay and
> >> overhead of having to start a process, connect to a database, run a
> query,
> >> then disconnect and die for each browser request, in the normal CGI
> manner.)
> >> The dispatcher process probably talks to the work processes through pipes
> or
> >> FIFO's (probably simplest).  The work process spits info back at the
> browser
> >> rather than the listener process.  I've seen an article somewhere once
> that
> >> talked about doing something like this with CGI to avoid massive overhead
> >> from starting/connecting/disconnecting/stopping by lots of users.
> >>
> >> I've seen code examples to fork a new process and take the socket info
> with
> >> it.  I'm having difficulty finding any examples that show how to hand-off
> a
> >> socket connection request from a listener process to an already running
> work
> >> process.
> >>
> >> So:
> >>
> >> 1)  Does anyone know of a good book that has some understandable
> >> explanations and examples in C to do this?  (My C programming skills
> aren't
> >> that great, but I'm working on it.)
> >> 2)  Are there any examples on the web?
> >> 3)  Does Apache do anything similar to this by any chance?  (Or would
> that
> >> code be too darned difficult to look at for a simple example?)
> >
> >Read the LPG.  A great book that I like (beginner level)
> >is "Beginning Linux Programming" by Wrox Press authors Neil Matthew and
> >Richard Stones
> >
> >When a process is forked it is an identical copy of the parent, the only
> >thing different
> >is the PID.
> >
> >So it already has all the Sockets that the parent had...
> >
> >What you need to do is in the parent process before the fork you check
> >the
> >PID.
> >
> >Then you fork.  Now you have to IDENTICAL processes.  The next step is
> >to
> >check the PID again and if a process notes a change in the PID then that
> >process knows it is the child.  The process that sees no change in the
> >PID knows that it is the parent.  That's it.
> >
> >The parent would then close off it's sockets.  The child would keep it
> >and
> >start "spitting" stuff.
> >
> >-Ben.
> >


------------------------------

From: =?iso-8859-1?Q?Bj=F8rn?= T Johansen <[EMAIL PROTECTED]>
Subject: MetroX
Date: Wed, 10 Feb 1999 15:05:44 +0100

Hi.

I was wondering if anyone has any experience to share concerning MetroX?
I am considering ordering MetroX and I was wondering if that's a bad
idea?


Regards,

BTJ

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: isdn4k utilities and ISDN
Date: Wed, 10 Feb 1999 14:06:16 GMT


> Can someone help?
> ---------------------------
> Here some output
>
> make[1]: Entering directory
> `/root/isdn/isdn4k-utils-3.0beta1/isdnctrl'
> gcc -DVERSION=\"3.0beta1\" -Wall -O2 -I. -I/usr/src/linux/include
> -DI4L_CTRL_c
> isdnctrl.c:446: warning: #warning ISDN_NET_DM_OFF not defined? Old
> isdn4kernel?
> isdnctrl.c: In function `do_dialmode':
> isdnctrl.c:545: structure has no member named `dialmode'
> isdnctrl.c: At top level:
> isdnctrl.c:525: warning: `do_dialmode' defined but not used
> make[1]: *** [isdnctrl.o] Error 1
> make[1]: Leaving directory `/root/isdn/isdn4k-utils-3.0beta1/isdnctrl'
> make: *** [install] Error 2

The problem with the 2.2.x kernels is that they do not contain a current
release of the ISDN core. For some strange reason the developer kernels
(2.1.xxx) do contain an updated ISDN core, I don't know why they didn't
include this in the final 2.2.x kernel.

You can download an updated ISDN core from http://www.isdn4linux.de

You should patch you kernel source with this update and rebuild your kernel.
You should now be able to 'make' the ISDN4Linux utilities.

Good luck

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: MetroX
Date: Wed, 10 Feb 1999 09:36:06 -0500

Bj�rn T Johansen wrote:

> Hi.
>
> I was wondering if anyone has any experience to share concerning MetroX?
> I am considering ordering MetroX and I was wondering if that's a bad
> idea?
>
> Regards,
>
> BTJ

If XFree86 works why bother?

I bought MetroX because it supported a Video card in a new computer I had
that
XFree86 didn't support.  I didn't notice anything special about it except
the following:

1.  Multi-Head support for Matrox Millenium video cards
2.  A nice configuration tool.
3.  APM management of monitor and video card, for screen-saving and
      power conservation.

I didn't think it was any faster or smaller.

If Metro-X came with a better font-engine (dithering and smoothing, better
scaling)
and better fonts like Win95 has I would definitely buy it.
(are you listening Metro-Link?)

But I don't know that much about X programming, could be that the
applications have
to do this?

-Ben.


------------------------------

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Video raster shifted to right
Date: Wed, 10 Feb 1999 09:37:07 -0500

Charles Packer wrote:

> I just installed RedHat 5.1 on an older Compaq Deskpro (I
> remain contented to stay one generation behind in home
> computing). When, at great length, I finally got the
> XF86Config file right -- a stable image, that is -- for the
> Nanao F2-17 (17-inch) monitor I'm using, its image was still
> shifted to the right, leaving a dark band on the left side an
> inch wide.
>
> Now, in part this may be solved by tweaking the monitor
> settings. The reason I think so is that Windows 95 on the same
> box also puts out an image that is right-shifted, but only by
> 1/2 inch.
>
> So if I can get a half inch by adjusting the monitor, can
> somebody tell me what parameters in the XF86config file
> might be involved in shifting it another half inch to the
> left?
>
> I might remark that video configuration is still the armpit of
> Linux, even after the four years that have passed since I
> installed Linux on a PC the first time. Everything else in the
> installation went smoothly. The hackers who created Linux
> should take time off from tweaking the kernel and get busy
> on more successfully automating the video configuration process.
>
> --
> [EMAIL PROTECTED]
> http://www.clark.net/pub/whatnews/whatnews.html

XFree86-Video-Timings-HOWTO


------------------------------

Date: Thu, 11 Feb 1999 16:39:00 +0000
From: PG <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.rpm
Subject: Mixing old and new libraries (RPMS)?

Is it safe to install two different versions/releases of a library (or
any RPM for that matter)? One program requires the newer RPM and another
requires the older. Do Linux and the various dependent programs keep the
various versions distinct?

-- 
By LINUX, on LINUX, through LINUX.

------------------------------

From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Advice for Microsoft-haters
Date: 10 Feb 1999 01:32:13 -0800

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

>>>>> "Julian" == Julian T J Midgley <[EMAIL PROTECTED]> writes:
    >> Peking scientists in China were able to take DNA fragments of a
    >> dinosaur from a fossilized egg back in 1994.  By now, there has
    >> to be some genetic splicing going on between humans and certain
    >> animals that we don't know about.  It's a really sick world we
    >> live in.

    Julian> Another fine American export... the conspiracy theorist
    Julian> :-)

Well, don't get too hoity-toity ... as of 1995, all activity at
Bletchly Park during WWII was still suppressed under the Official
Secrets Act.  After 50 years, the British gov't still didn't want
anyone to know (or talk about) how they cracked the Enigma codes.

Good ol' British conservatism.  ;-)

mp

- --
Michael Powe                                          Portland, Oregon USA
           [EMAIL PROTECTED]    http://www.trollope.org
  "Three hours a day will produce as much as a man ought to write."
                         -- Anthony Trollope

=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard

iD8DBQE2wVIY755rgEMD+T8RAs3wAKCPnZqeuRqVGfEdwW9SeRk7cHyjFACfc3+7
Uenu4cDQhKbQ+jXpa7vrXrM=
=kZYZ
=====END PGP SIGNATURE=====

------------------------------

From: Massimo Morin <[EMAIL PROTECTED]>
Subject: gmtime to beat!
Date: Wed, 10 Feb 1999 09:58:54 -0500

Hi,
        I need to convert a date from time_t into a log in the form of
YYYYMMDD.
Example:
date = 03:00 04 apr 1999
time_t = 923194800,       
conversion number is 19990404

The easy way is using this function:

Time_ToLog8Date(register const time_t t) {
  register time_t ld =0;
  register struct tm *ts = gmtime(&t);
  ld = (ts->tm_year + 1900) * 10000 + (ts->tm_mon + 1) * 100 +
ts->tm_mday;
  return ld;
}

Usually this function is called tons of times (at least 20 milions), so
we want a fast ed efficient way to do it.
I tryied and I was not able to beat the Time_ToLog8Date() an any Linux
machine.
Does anyone of you know a faster an better way to do it?

Cheers
                        Massimo

-- 
Massimo Morin        | Scheduling Systems Inc.
Software Engineer    |
===================  | Three University Office Park, suite 100
13, Charnwood Rd     | 95 Sawyer Road
Somerville 02144 MA  | Waltham,
===================  | 02154=3471 Massachusetts
+1 (617) 623-4155    | +1 (781) 893-0390
[EMAIL PROTECTED]  | http://www.schedsys.com
======================================================================
If you design an idiot proof program, we'll start having better idiots!

------------------------------

From: [EMAIL PROTECTED]
Subject: KERNEL 2.2.0 failed
Date: 10 Feb 1999 14:03:49 GMT

Hi,
I downloaded the 2.2.0 kernel source last night and tried to compile it
earlier today. I got as far as make zImage and it was goining along fine for
about half an hour then it crashed with the following messages.

make[1]: Leaving directory /usr/src/linux-2.0.36/arch/i386/mm'
make -C  arch/i386/lib
make[1]: Entering directory /usr/src/linux-2.0.36/arch/i386/lib'
make all_targets
make[2]: Entering directory /usr/src/linux-2.0.36/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes-O2 -
fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loo
ps=2 -malign-jumps=2 -malign-functions=2 -DCPU=586   -c -o checksum.o checksum.c
checksum.c:200: redefinition of sum_partial_copy'
checksum.c:105: sum_partial_copy' previously defined here
{standard input}: Assembler messages:
{standard input}:188: Fatal error: Symbol csum_partial_copy already defined.
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory /usr/src/linux-2.0.36/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory /usr/src/linux-2.0.36/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2
[root@localhost linux]

This is my first attempt at a kernel upgrade so this is uncharted territory
for me. Any advice or suggestions welcome. I'm currently using RH 5.2
(2.0.36 kernel current), on an Intel Pentium 100, 32M.


p.s. The above machine is one I use at college. At home I have An Evergreen
Pr 180 (overclocked to 200) also running RH 5.2. I would like to
upgrade the kernel for this machine also. What processor option should I choose
during make config? Should I use Pentium, 586 or AMD. I think I read
somewhere that Evergreen chips are essentially AMD chips. Is this correct ?


Cheers,

vj.









------------------------------


** 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
******************************

Reply via email to