Linux-Misc Digest #418, Volume #18               Thu, 31 Dec 98 03:13:07 EST

Contents:
  Re: Database Recommendation (Leslie Mikesell)
  Xfree-3.3.3, dosemu-0.98 on RIVA TNT (STB Velocity 4400 Card) ("Bharat S. Jhaveri")
  Re: Infringement of the GPL (Christopher B. Browne)
  Re: IDE / LILO Problem (rks)
  Re: Mounting different parts of a drive (Leslie Mikesell)
  Re: grep to a tab (brian moore)
  identd (Bob Tennent)
  Linux telephone/talk software? ("Chip & Debby Piller")
  xbm graphic conversion? (Bernie Parks)
  Re: Linux (Red Hat 5.1 and 5.2) Y2K compliance ("Jeff Cross")
  Mode of X window (Michael Tse)
  Install KDE (Ehonda)
  NNTPSERVER (Tanner McCarron)

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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Subject: Re: Database Recommendation
Date: 30 Dec 1998 22:32:23 -0600

In article <76dtog$[EMAIL PROTECTED]>,
Matthew Fleming <[EMAIL PROTECTED]> wrote:
>
>Anyway, I would like to replace this system with a new one based on an
>SQL database engine. If possible, I would like to access the SQL
>programs from the shell, since this would allow me to initially use
>many of my existing scripts.  Eventually I would like to build some
>Web clients using Java/JDBC, and to migrate many of the shell scripts
>to perl.
>
>The problem is that I am having a great deal of difficulty choosing a
>amongst the many database packages now available for Linux, and would
>like some recommendations.  I would like something that is stable,
>well-documented, and has Java and perl drivers.  If the package had a
>decent 4GL, I might use that as well.

Postgresql has everything but a 4GL and the license permits just
about any kind of use.

>It is especially important that the package be well
>documented, and that some form of support is available.

There is a mailing list and the developers are responsive.

 Les Mikesell
   [EMAIL PROTECTED]

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

Date: Wed, 30 Dec 1998 21:05:01 -0900
From: "Bharat S. Jhaveri" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Xfree-3.3.3, dosemu-0.98 on RIVA TNT (STB Velocity 4400 Card)

I have a lot of success with XFfree86-3.3.3, dosemu-0.98 and RIVA TNT
card so far.  I can get graphics to work very well on the console.

However, when I exit dosemu on the console, and return to X
(ctrl-alt-f7), X is frozen. If I exit X before starting dosemu, no
problems. I can even switch virtual consoles without X running.

Any ideas, please help. Although, I can always quit X to get to dosemu
in console, and then quit dosemu to start X, it will be nice to le X
running.

I appreciate all the work with Xfree-3.3.3 to get RIVA TNT working. It
will be nice to have SVGALIB also working well.

BTW, in dosemu.config I use
vga , console, graphics, but no chipset, see below.
$_video = "vga"  # one of: plainvga, vga, ega, mda, mga, cga
$_console = (1)  # use 'console' video
$_graphics = (1) # use the cards BIOS to set graphics
$_videoportaccess = (0) # allow videoportaccess when 'graphics' enabled
$_vbios_seg = (0xe000) # set the address of your VBIOS (e.g. 0xe000)
$_vbios_size = (0x8000)# set the size of your BIOS (e.g. 0x8000)
$_vmemsize = (4096) # size of regen buffer
$_chipset = ""  # one of: plainvga, trident, et4000, diamond, avance
   # cirrus, matrox, wdvga, paradise, ati, s3
#$_vbios_file = "/etv/vbios"


Thanks for any help.

Please e-mail to [EMAIL PROTECTED]

Bharat S. Jhaveri


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

From: [EMAIL PROTECTED] (Christopher B. Browne)
Subject: Re: Infringement of the GPL
Date: 31 Dec 1998 06:17:30 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 30 Dec 1998 23:46:47 GMT, steve mcadams <[EMAIL PROTECTED]>
posted: 
>There seem to be some people in this thread who think that I am a
>money-grubber to the max.  (I'm not picking on you Chris, your posting
>was just handiest.)

And I was possibly a little hard on you.

>Let me try and set the record straight.  I despise money; however, the
>only way that I can get it out of my face is to have enough of it to
>live on.
>
>At this particular moment my problem is not money, it is -time-.  I
>don't have enough time available to write the software that needs to
>be written that I can write.  The only way for me to get more time is
>to find some way of obtaining money other than trading time for it.  I
>don't give a damn about the money itself, just about the time-freedom
>that it provides.  I am pushing 50, my dad made it to 73; if I follow
>in kind that means I have about 23 years left to write software, and I
>can see about 40 years worth of software that I want to write, so it's
>time for me to maximize my time-efficiency.  Hell, if I had the money
>spent on all the possessions I threw away in my 20s and 30s when I was
>into minimalism this whole thing would not be a problem for me, I'd be
>retired already and writing cool code all the time.

This is where the free software "movement" as started in the mists of time,
promoted in the UNIX environment back before Bill Gates invented the notion
of selling PC software, and then "evangelized" via the GPL due to Richard
Stallman can come in, and potentially offer you something that maybe wasn't
expected.

There *are* ways of getting paid to write free software; the mechanisms are
not all there yet to allow it to happen outside of some particular niches.

But nonetheless it offers you something that you couldn't have reasonably
expected:

Rather than having to write everything yourself, which, at the most extreme
end, could involve a need to write OS, compiler, and all development tools
in addition to what you *want* to write, free software allows you to pick up
tools and code that others wrote, which should reduce the amount of work you
need to do to get your software done.

Thus, rather than having to fork over $500 to get a C/C++ compiler (not
unheard of, even today in the MS Windows market), you can get GCC at no
cost, because some people wanted a C compiler, and were willing to
contribute effort so as to get other benefits back.  Rather than having to
spend $200 on a full license of Windows 98, or perhaps even more for NT, you
can get {Linux|FreeBSD|NetBSD|...} for little more than the cost of burning
a CD-ROM.

Over the years, a wide variety of increasingly sophisticated and generally
useful tools have come along, many of which may speed your efforts.

There may be pieces of your desired efforts that would speed others'
efforts; it's not a terrible tradeoff, for many, to contribute code to the
community with the expectation of being able to take advantage of others'
contributions now and later.

To that end, it is well worth your while to think carefully about what
licensing arrangements you might apply to your efforts.

At one extreme, particularly "rapacious" licensing may greedily seek to
maximize your monetary revenues; for some pieces of code that are of
specialized interest likely to be valuable to people willing to pay great
gobs of money for limited access to it, that may be quite appropriate.  The
upside is that you are likely to get some money out of this.  Downside is
that you have to do all the development work, unless it gets so lucrative
that you can pay others to do some of the work for you.

At the other extreme, if there is software you want to work on where it
appears that others have common interest and aptitude, you may, by using a
more "cooperative" license such as the GPL or BSDL, attract other
developers, and thus be able to be stingy of your time by making use of
other peoples' time by getting them to, in effect, "write your software for
you." (Remember the old story about "Stone Soup.")

The downside is that there are a lot of "free riders" who use software
without contributing anything back. For instance, people use Linux, or FSF
software, or other such, and don't contribute anything back, are free riders
that are not particularly deserving of the software that they use.  

A somewhat extreme position in this regard would be to suggest that people
that use (say) GCC or GNU Emacs and haven't taken even a pretty nominal step
like sending a few bucks to the FSF to encourage the "community effort" are
undeserving ingrates.  Obviously, one who takes and uses GCC or Emacs or ...
to create new software that is then contributed back to the community is a
rather more substantial contribution than merely tossing the cost of a nice
lunch "in the hat."

I would certainly encourage you to consider using one of the existing
license approaches; good licenses are hard to write.  And licenses that
allow you to integrate in other peoples' code are harder still to design.
The "warfare" that has taken place over whether the Troll Tech "Free Qt"
license is sufficently compatible with the GPL as to permit people to write
GPLed code that uses Qt is a good case in point.

An idea that has been mentioned that seems not unreasonable would be for you
to provide a public release under the GPL, with the added clause that you
will only accept patches under the provisio that those patches be
co-assigned to you.

This has the result that you can benefit from others' contributions to the
codebase.

Further, since you hold copyright on the codebase, you are able to make
releases available under other terms, including "binary only" or "source
code that is not GPLed," which represent special conditions for which you
might well be able to collect some money.

Hans Reiser, the main author of Reiserfs, a filesystem that is under
development, is taking this approach.

- The GPLed release is usable with Linux, and can provide a useful
demonstration of capabilities to anyone that wants to evaluate whether it's
good or not.

- If Sun, for instance, wanted to have a "reiserfs" to include with Solaris,
perhaps with additional Solaris-oriented tuning, they might negotiate a
source code license, and probably pay something fairly considerable for
permission to tune the sources to their needs without mandating putting
either their changes or all of Solaris under the GPL.

BSD-styled licenses do not have the "virus-like" tendancy of the GPL to try
to force patches to be returned to the community, and tend to be oriented
more towards providing "sample implementations" that one would wish to be
adopted as widely as possible. This is how TCP/IP got so popular; the BSD
code was free to be used by anyone, and so many systems, both "free" and
commercial, have made direct use of their code.

The LGPL lies somewhere in between the GPL and BSDL in its restrictiveness.
Like the GPL, it encourages community sharing of code, albeit in the more
limited scope of "within this library" as opposed to the GPL's more
aggressive "for any code anywhere in the application." By lacking that
"aggressive" tendancy, it resembles the BSDL, encouraging that the code be
used more widely even in conjunction with proprietary software.

Other attempted variants such as Netscape's "MPL" are probably less
advisable, as they tend to try to do unique and peculiar things to tie code
to a particular vendor; while that may be nicely protective of AOL's
interests (now that they own NCC), it is likely not to be able to coexist
with "Someone Else's Public License."  

A nice thing would be to be able to share code between many systems; the
"individualized Public License" has a tendancy to outlaw that.
-- 
Those who do not understand Unix are condemned to reinvent it, poorly.  
-- Henry Spencer          <http://www.hex.net/~cbbrowne/lsf.html>
[EMAIL PROTECTED] - "What have you contributed to Linux today?..."

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

From: rks <[EMAIL PROTECTED]>
Subject: Re: IDE / LILO Problem
Date: Wed, 30 Dec 1998 17:11:37 +0100
Reply-To: [EMAIL PROTECTED]

Try to execute "lilo".

Shaun Allen Dishman wrote:

> Just remembered another possibly vital piece of information: right before
> pulling out all the IDE cables I repartitioned the HD.  It used to be
>
> 2GB - Linux native
> 56MB - Swap
> 2GB - Windows (for games only, of course!)
>
> and now it is:
>
> 2GB - Linux native
> 56MB - Swap
> 1.2GB - Windows
> 800MB - Reserved to hold Cd-R images
>
> Could this cause the LILO hangup problem as well, and still, how to fix
> it?
>
> --
> ----------------------------------------------------------------------
> |        Shaun Allen Dishman        |  I can do all things through   |
> |    BA 535, Theta Xi Fraternity    | Christ which strengtheneth me. |
> | GA Tech: [EMAIL PROTECTED] |        Philippians 4:13        |
> ----------------------------------------------------------------------




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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.setup
Subject: Re: Mounting different parts of a drive
Date: 30 Dec 1998 22:35:05 -0600

In article <76dvk8$7hh$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>Here is an interesting question:
>
>Is there a way different parts of a drive into different directories? Ie. I
>have a hard drive with two directories:
>
>"/Hello"
>"/World"
>
>Can I mount directory "Hello" into the, say, /usr/bin/DirectoryA and mount
>directory "World" into the, say, "/usr/sbin/DirectoryB"?
>
>Is that possible? I am trying to set up a FTP site and that is the way the
>data is structured.

If those are separate partitions, you can mount them anywhere you
want.  If they aren't you may need to use symlinks to make the
structure appear the way you want.  This works with ftp as long
as you don't force a chroot.
  
  Les Mikesell
    [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: grep to a tab
Date: 31 Dec 1998 06:42:38 GMT

On Wed, 30 Dec 1998 15:05:24 -0800, 
 Dave Packard <[EMAIL PROTECTED]> wrote:
> Actually what I was trying to do was match ^.*22.*\t (change 22 to whatever you
> want). The first column of the database is the product number and I want to be
> able to find any product with "22" in the product number, but not in the
> description, price, etc.

Well, that's a bit tricker: assuming your file looks like:
productnumber   price   description     quantity        vendorcode

The regex above will match any line that has a 22 in any column except
the last.  Not what you want at all.

What you want is much more difficult.  But you could do it with perl
simply enough:

perl -nae 'print if $F[0] =~ /22/'

> My grep won't find any lines if I do \t though, although I know there are tabs in
> the file. It also won't find [:space:] either... Any ideas?

Weird.  I'm using the exact same grep I've used since 1995.  Try egrep?

-- 
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a cockroach, except that the cockroach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster

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

From: r d t@q u c i s.q u e e n s u.c a (Bob Tennent)
Subject: identd
Date: 31 Dec 1998 06:15:34 GMT

I see the following kind of event in my /var/log/messages:

Dec 31 00:55:16 Tennent identd[2692]: from: 193.12.6.130 ( ns.edu.stockholm.se )
 for: 4641, 21
Dec 31 00:55:16 Tennent identd[2692]: Successful lookup: 4641 , 21 : rdt.rdt 

I don't know why anyone at that site would be looking up anything.
Is there any reason to be concerned?

Bob T.

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

From: "Chip & Debby Piller" <[EMAIL PROTECTED]>
Subject: Linux telephone/talk software?
Date: Thu, 31 Dec 1998 06:50:37 GMT

Are there any programs for Linux that I can use to talk with someone else on
the internet?  How can I do this, using a microphone and sending/receiving
audio?
I have a Creative Labs AWE64 V sound card, microphone, speakers, and run
RedHat5.2
Thanks much,
Chip



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

From: Bernie Parks <[EMAIL PROTECTED]>
Subject: xbm graphic conversion?
Date: Thu, 31 Dec 1998 00:10:59 -0600

Hello I have a small problem, I am trying to get a background image in X
windows. I am using the command xsetroot. Well I have a background image
I created in gimp but I can't seem to use it. It seems as if xsetroot
requires the image to be of XBM format, and in gimp I can't save to XBM
(only xpm or bmp). Well I have tried to use XV to convert to XBM but it
only does monochrome, I have also tried xpaint and it doesn't handle the
24 bit color to well at all. If anyone knows of any utility out there or
way of converting a graphic file (either xpm, bmp, gif etc..) to XBM
please let me know. Thanks

--
Bernie Parks
[EMAIL PROTECTED]

ICQ #: 4673496

"I think, therefor I am"
"Cogito, ergo sum"                    -- Ren� Descartes

"I eat guys like you for breakfast!"  --Jeffrey Dahmer

=====BEGIN PGP PUBLIC KEY BLOCK=====
Version: 2.6.2

mQCNAzN0yDEAAAEEAL4H5oTGBNkX0OxIgkydYmG8IdvaXzIfLl7KIX///EKYfnKT
DbuoPqR6p6y0mBHn3BbQDpPXSfkxxYwtmu5IKInQEFc1d/yMeofoNknWyKYp5K0W
thx/u+bdYX/uL9js4rMCctBxv1OeYr+2fa6Mw02ByV28dXOAFkaZwpX6t97VAAUR
tAZCZXJuaWU=
=Z0aG
=====END PGP PUBLIC KEY BLOCK=====



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

From: "Jeff Cross" <[EMAIL PROTECTED]>
Subject: Re: Linux (Red Hat 5.1 and 5.2) Y2K compliance
Date: Thu, 31 Dec 1998 01:46:29 -0600

Mark, you're right on concerning the developer's way of doing things.
Coming from a Win32 program point of view, I can say that internally Windows
NT/95/98 use internal information that goes from 1981? to year 9999, but it
depends solely on the developer as to how they interpret, display and write
that information.   The developer has free reign to display that information
in any format they choose and alot of it depends on what country they are
producing it for.   If they write to a database in a mm/dd/yy format for
example and another program chooses to use that display info for input
 without getting drilling down to the bits), things could get out of hand.


Mark Bashaw wrote in message <[EMAIL PROTECTED]>...
>Jeremy,
>You are correct in that most OS's store dates in the correct format
>"internally".  This is where we run into problems.  Unix, being a 32bit OS
from
>long standing, uses a 32bit clock library that basically increments from an
>arbitrary date set in the early 1970's.  Unix doesn't actually know what
day
>and time is, only that so much time has elapsed since January 1, 1973 (or
>whatever), and the date is calculated accordingly.  This 32bit library will
run
>into problems, I believe, in 2027 when it hits it's limit and rolls back
over
>to 0.  At that point I  hope we'll be using a higher bit clock library or
newer
>OS rev's to alleviate the problem.
>
>DOS and it's derivitives, utilize a different starting date and smaller bit
>library so the rollover problem occurs earlier.  Only OS patches and/or
>upgrades alleviate the problem fully.
>
>On the application side, in my Y2K research for my firm, we found that only
>programs which contravened correct programming practice may cause problems
over
>the Y2K boundary, given that your hardware and OS are Y2K compliant.  An
>example of incorrect programming practice would be to query the Real-Time
Clock
>or BIOS clock directly to get date information and use an internal clock
>library, as opposed to querying the OS clock for date information.  No
>applications that we checked did this kind of thing.  Most get their clock
info
>from the OS.  That's not to say that a user created script or database
can't
>have been written incorrectly, but that in most cases, the OS, and the
>applications supplied with it, will function correctly.
>
>Mark Bashaw
>
>
>Jeremy Mathers wrote:
>
>> Actually, DOS (and its derivatives) do, like Unix, store dates in Y2K
>> formats (there may be exceptions, but this is true for the most part).
>>
>> The Y2K problem is mostly about old mainframe OS's and apps, but it also
>> affects the external interfaces of modern OS's - such as the COMMAND.COM
>> 'date' command.  Remember, the line between system and app is a grey
>> one, and I wouldn't be at all surprised to find somewhere, in some
>> "system" database or config script, a 2 digit date assumption in Linux
>> or some other Unix system.
>>
>> And then, of course, there is all the user written stuff for Unix and
DOS.
>



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

From: [EMAIL PROTECTED] (Michael Tse)
Subject: Mode of X window
Date: Thu, 31 Dec 1998 07:33:57 GMT

Hi:

I have installed  X window in my box. In my Serverflag section, look
like: # No TrapSignals
       # Dontzap
       #DontZoom

Therfore, I can use Ctrl-Alt-Backspace to kill an errant X server.
However, I cannot use Ctrl-Alt- +/- Keypad to tuning the mode. Even I
edit my XF86Config file as follows:

Mode '640 x 480"  " 800x600" "1024 x 768" 

to


Mode "1024 x 768" "800x 600" "640 x 480"

I still cannot see the whole window interface. Why?  Please Help.


Thank 


Mike

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

From: [EMAIL PROTECTED] (Ehonda)
Crossposted-To: 
comp.os.linux.setup,linux.redhat.misc,hk.comp.os.linux,tw.bbs.comp.linux
Subject: Install KDE
Date: Thu, 31 Dec 1998 23:45:43 GMT

        Dear friends,

        I got a CheapBytes Red Hat 5.2 CD with bonus KDE program
        which is not in the RPM package.
        Kindly  advise how to install the program step by step.
        Any help is highly appreciated.
        
        A Very Happy New Year

        Thanks

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

From: Tanner McCarron <[EMAIL PROTECTED]>
Subject: NNTPSERVER
Date: Wed, 30 Dec 1998 19:38:44 -0800

I keep puting a value in teh environmental variable NNTPSERVER and when
I boot up again it is always gone.  I use

NNTPSERVER="news.earthlink.net"
export NNTPSERVER

Then I enter env and there it is.  Reboot and enter env and it's gone,
every time.  Is there some way to get to stay there?  Thanks, Tanner



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


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