Linux-Development-Sys Digest #558, Volume #6      Thu, 1 Apr 99 01:15:25 EST

Contents:
  Re: Guillemot HSP64 (Help me please!!!) (Leland Olds)
  Re: 2.2.[2345] cannot mount MO devices (Andries Brouwer)
  Re: Devloping Linux apps on NT? (Nix)
  Re: do I need all libfoo.so.2.0.x , libfoo.so.2.1 (mack)
  Re: crypt() help (Emile van bergen)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (NF Stevens)
  Re: [ANN] CodeWarrior for Red Hat Linux (Michael Schuerig)
  Increasing RAID disk size w/ existing EXT2 file system ("Amish S. Dave")
  Re: partition information (Andries Brouwer)
  Re: Help me with my CGI-prog (Steve Thompson)
  3c509B + 2.0.36 + 486/66 = badness (Anthony Shipman)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Dan Mercer)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. ("Wesley W. 
Garland")
  COM/CORBA equivalent ("Sunil R. Karkera")
  Re: 4 Gb memory? ("G. Sumner Hayes")
  Floppy access ("ryu_103")
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Nix)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Nix)
  Using generic SCSI for IDE (ATAPI) devices (SUMIT)

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

From: [EMAIL PROTECTED] (Leland Olds)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Guillemot HSP64 (Help me please!!!)
Date: 30 Mar 1999 16:43:41 GMT

Xarj <[EMAIL PROTECTED]> wrote:
>
>One last thing! I tried to setup my Sound card in Linux without success.....
>I use the Guillemot Home Studio Pro 64, a sound card for pros and
>musicians..... Works great in windows 98!!!!!!!!!
>
>Thanks for the help!!!!

Check out the sam9407 development page.

http://www.anime.net/~goemon/linux-sam9407/

The HSP uses the sam9407, but I don't know how well this driver works
with the HSP.

Guillemot isn't being at all cooperative with the Linux sam9407 driver
developers.

You might send Guillemot a polite note encouraging them to cooperate
with these folks.  It really makes no sense for them not to.
Cooperating with open source Linux developers would cost them almost
nothing, and expose them to a market of 10 to 20 million linux users.
Additionally Linux users are generally more experienced computer
professionals and computer users who influence the buying decisions
of other people.

Even with Guillemot's lack of cooperation, you might be able to help
reverse engineer the HW interface if you have a good development
environment for win98.

Myself, I'm getting a Hoontech card.

(Followups to  comp.os.linux.hardware)
-- 
Lee Olds
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Andries Brouwer)
Subject: Re: 2.2.[2345] cannot mount MO devices
Date: Wed, 31 Mar 1999 21:49:16 GMT

[EMAIL PROTECTED] (Mike Dowling) writes:

: I just thought I would add 2.2.4 to the list.

: I would be interested in hearing from anybody with an MO device that can
: tell me if they can mount MO devices with any kernel > 2.2.1.

: Cheers,
:   Mike Dowling

If I am not mistaken, 2.2.2 and up will interpret the partition table
of a device with 2048-byte sector size as talking about 2048-byte sectors,
while 2.2.1 and earlier would assume that a sector was always 512 bytes.

So, it seems that pre-2.2.2 and post-2.2.2 disks with a sector size
different from 512 are not compatible.

(Converting, however, seems trivial, especially from post-2.2.2
to pre-2.2.2, since that means that the partition table entries
have to be multiplied by 4. Converting pre-2.2.2 to post-2.2.2
is also easy when the entries are divisible by 4. Otherwise it is
difficult, and a tiny kernel patch might be the easiest approach.)

Very recent versions of fdisk can be used with the `-b 2048'
option to create partition tables fro these MO devices
under 2.2.2 or later.
If there is interest I might try to add a conversion option.

Andries - [EMAIL PROTECTED]

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

From: Nix <$}xin{[email protected]>
Subject: Re: Devloping Linux apps on NT?
Date: 31 Mar 1999 23:41:08 +0100

[EMAIL PROTECTED] (Adam P. Jenkins) writes:

> http://www.cyngnus.com/

I sense a typo.

http://www.cygnus.com/ may work better.

-- 
`The purpose of a windowing system is to put some amusing
 fluff around your one almighty emacs window.' -- Mark on gnu.emacs.help

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

From: mack <[EMAIL PROTECTED]>
Subject: Re: do I need all libfoo.so.2.0.x , libfoo.so.2.1
Date: Wed, 31 Mar 1999 23:45:33 +0000

mack wrote:
> 
> my /lib directory has groups of files like
> 
> -rwxr-xr-x   1 root     root        12859 Oct  7  1997 libBrokenLocale-2.0.5.so*
> -rwxr-xr-x   1 root     root        45080 Jan 10 18:30 libBrokenLocale-2.0.7.so*
> -rwxr-xr-x   1 root     root        22090 Jan  2 11:18
> libBrokenLocale-2.0.108.so*
> -rwxr-xr-x   1 root     root        22090 Jan  6 08:55
> libBrokenLocale-2.0.109.so*
> -rwxr-xr-x   1 root     root        21922 Feb 27 01:55 libBrokenLocale-2.1.so*
> lrwxrwxrwx   1 root     root           22 Feb 27 02:06 libBrokenLocale.so.1 ->
> libBrokenLocale-2.1.so*
> 
> now I'm at 2.1, do I need all these files?
> 

Excuse me for replying to my own question, but the answer seems
to be that I don't need the old glibc-2.0.x files (I deleted
them all and re-ran ldconfig and everything is fine)

Joe

-- 
Joseph Mack, NA3T, FM05lw EME(B,D) 
AZ_PROJ map server at http://www.wm7d.net/azproj.shtml
mailto:[EMAIL PROTECTED]

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

From: Emile van bergen <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: crypt() help
Date: Thu, 1 Apr 1999 02:49:42 +0200

On Wed, 31 Mar 1999, Aaron Faby wrote:

>I need to add a password encryption function to a program I am
>writing and I cannot seem to get the function crypt() to work
>correctly. 

Ah, it's you again... tell me, this isn't about that 'add the password
in one go' thing you posted about earlier? Well, I hope you switched
from PAM to classic style passwords then, because crypt() (man 3 crypt,
by the way) won't get you anywhere otherwise ;-). I'd suggest you get
the source (yes, isn't that great about Free Software) of the
PAM-enabled version of passwd(8) you use and see how it's done.

Hope this is of some help...


-- 

M.vr.gr. / Best regards,

Emile van Bergen (e-mail address: [EMAIL PROTECTED])

This e-mail message is 100% electronically degradeable and produced
on a GNU/Linux system.


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

From: [EMAIL PROTECTED] (NF Stevens)
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: Tue, 30 Mar 1999 19:14:30 GMT

[EMAIL PROTECTED] (Donal K. Fellows) wrote:

>In article <[EMAIL PROTECTED]>,
>G. Sumner Hayes <[EMAIL PROTECTED]> wrote:
>> The command "grep" comes from the ed commands Global REgexp Print,
>> which is g/re/p, where re is whatever string you're looking for.
>> vi has supported this (:g/foo/p) for as long as it's been around.
>
>That just greps within a single loaded file.  Emacs grep does
>something much better and more wonderful, since it treats the output
>of grep like the list of errors from a compiler, allowing you to step
>backwards and forwards across a large multifile search.  Very useful
>when you're modifying a useful global function to take an extra pair
>of parameters...

vim does this. ":grep <regexp> <file spec>" will run grep and
you can step through the results with :cn :cc :cp.

Norman

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

From: [EMAIL PROTECTED] (Michael Schuerig)
Crossposted-To: comp.unix.programmer
Subject: Re: [ANN] CodeWarrior for Red Hat Linux
Date: Tue, 30 Mar 1999 21:30:58 +0200

Sid Boyce <[EMAIL PROTECTED]> wrote:

>   I would ly bets that CodeWarrior would run as sweet as a nut on any x86
> Linux box with any distribution or none.

Probably. I take the point to be that Metrowerks doesn't want to promise
this.

Michael

-- 
Michael Schuerig
mailto:[EMAIL PROTECTED]
http://www.schuerig.de/michael/

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

From: "Amish S. Dave" <[EMAIL PROTECTED]>
Subject: Increasing RAID disk size w/ existing EXT2 file system
Date: Tue, 30 Mar 1999 13:34:37 -0600
Reply-To: [EMAIL PROTECTED]

We've got a RAID system up and running under Linux (ICP-Vortex box,
GDT controller).  that runs very well, no problems, etc.

But I'd like to add some disks now, and I'm curious if there is any way
to grow the EXT2 file system dynamically.  I'm probably just going to
back up, add the disks, configure, and then restore everything from
tape,
but I'm curious if there's a much more direct way of doing this.

It seems I can add the disks to the RAID box with everything on-line,
and
I think I can reconfigure the RAID device dynamically.  I also seem to
recall a growable parameter on the EXT2 file system during a Redhat
install, but tune2fs, etc., don't seem to mention this as a possibility.

What do people normally do in this situation?
In case it's not obvious, I'm relatively new to RAID...

Thanks,
--
Amish S. Dave
Biology Grad. Student ([EMAIL PROTECTED])



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

From: [EMAIL PROTECTED] (Andries Brouwer)
Subject: Re: partition information
Date: Wed, 31 Mar 1999 21:43:44 GMT

[EMAIL PROTECTED] (Michael Vaughn) writes:

: Are there functions available to get partition info for all the drives
: from the kernel?

You mean, like
        cat /proc/partitions
?

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

From: Steve Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.programming
Subject: Re: Help me with my CGI-prog
Date: Thu, 01 Apr 1999 01:36:22 +0000

code?

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

From: [EMAIL PROTECTED] (Anthony Shipman)
Crossposted-To: comp.os.linux.networking
Subject: 3c509B + 2.0.36 + 486/66 = badness
Date: 1 Apr 1999 02:12:23 GMT

I have an old 486DX2/66 with ISA/VLB buses and a 3c509B network card.
This all worked fine with RH 5.1, 2.0.35 kernel.  I installed RH5.2
from scratch, 2.0.36, and now the network card is misbehaving.  The
hardware was not touched in any way.  There are no IRQ conflicts, PnP
problems etc.

This is not the usual suite of problems.  The driver works, the card
talks to other machines on the LAN, but when I try to transfer files I
get a very large Rx error rate on the 3c509B.  The source of the
transfer is a P150 with a PCI card. Typically 1 out of 6 to 1 out of 10
packets received from the P150 machine result in a frame or overrun
error.  The result is a net throughput of only a few KB/s.

The driver in 2.0.36 is v1.16.  I tried the previous version, v1.12,
which is what was used in 2.0.35 and the problem was the same.  I have
tried the v1.16 driver with max_interrupt_work increased to 20 but this
doesn't change anything.

My next step will be to compile a 2.0.35 kernel for the machine and see
if this helps.

Does anyone have any ideas on what else to look for?
--
Anthony Shipman,                "You've got to be taught before it's too late,
AAII, Melbourne, Australia       Before you are six or seven or eight,
[EMAIL PROTECTED]                  To hate all the people your relatives hate,
+61 3 92477679                   You've got to be carefully taught."  R&H

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

From: [EMAIL PROTECTED] (Dan Mercer)
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: 30 Mar 1999 20:15:59 GMT

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (David T. Blake) writes:
> 
> I had other problems with nedit than it being staticly linked 
> against motif. That in and of itself is a pain if you use
> multiple windows. 

If you load new windows from the Open dialog,  nedit does not re-execute.
You get 1 nedit server which opens multiple windows.  If you open more
windows from the command line,  use "nc" - nedit client.  It's much
smaller and searches out a nedit server on the local host and sends it
a message to load the file.  Nedit uses atoms on the server for its magic.
If you call nedit,  then it will load but will seek out a nedit server,
and if one exists,  send it the message to load.  Only if the server
fails to start will a new nedit start.

Emacs uses frames instead, so wouldn't
> suffer from the same problem (reloading the static library).
> 


> Nedit uses standard windows key bindings for things like
> save and quit and copy (Ctrl-S, Ctrl-Q, Ctrl-C). These things
> have entirely different meanings in an xterm, which I find a 
> royal pain. 

Then redefine them,  like I do.  I used Escape for save (I'm used
to hitting escape a lot in vi).  Escape is very easy for a poor
hunt and peccker like myself to find.   F3 is cut, F4 is copy and F5
is paste (Applixisms).  Besides,  using the mouse to copy and paste
is a lot faster and nedit support both primary and secondary selection
cut & paste.

The syntax highlighting can drive you nuts too - try
> opening a laTeX file for a 20 page paper and making a single
> double quote or curly brace. The editor practically locks up as
> it highlights the rest of the file before it lets you finish the quote
> or curly brace, and then it locks the editor again undoing the 
> syntax highlighting it just did. Why it feels the need to highlight
> syntax outside the visible window is beyond me.

That's probably addressable as well.  I don't use syntax highlighting,
so I can't say how.
> 
> Emacs uses keybindings that are consistent with bash (actually
> the logic goes the other direction). It has frames. You can
> compile and debug interactively. The syntax highlighting is more
> sane. It is dynamicly linked on linux. It has a lisp interpreter
> and can make coffee.

and nedit has a very sane macro language,  recordable macros, and
you can hook it up any way you want.  Mine interfaces with the man
files (select a sequence like "XmList(3C)" and hit F9 and you get a 
new edit window with the man file for XmList.  Makes it very easy to
crawl through a sequence of linked man files).  It also does
syntax templating and Applix macro completion (I really don't like the
Applix macro editor,  which is really a word processor avatar and suffers
from too much WP baggage).  I also have a customized version of 
nedit for HTML editing which does previews.

The major difference between emacs and nedit is that people have been
hacking on emacs forever and nedit just a short while.

-- 
Dan Mercer
[EMAIL PROTECTED]

> 
> That being said - I generally point UNIX newbies at nedit.
> 



Opinions expressed herein are my own and may not represent those of my employer.


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

From: "Wesley W. Garland" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: Wed, 31 Mar 1999 22:38:44 -0500

Stephan;

>editing, make for project management, ddd if I cannot cope without a
>debugger (but I hate debuggers and will do a lot to avoid contact even
>with ddd), and gawk to write small suplementary test- and analysis
>programs.

Out of curiosity, why do you hate debuggers so much? They save
*so* much time when writing code with any sort of complexity
whatsoever...

>As for indenting: You get the only rational brace style by hitting
>return before each and any {, and by using the following settings in
>your .emacs file:
>
>(defun my-c-mode-common-hook ()
>� (c-set-style "bsd")
>� (c-set-offset 'statement-case-intro '++)
>� (setq c-basic-offset 3))

Yuck!� You should try wes-c-style ;-)

Cheers,
Wes

--
Wesley W. Garland���������������� | Email: [EMAIL PROTECTED]���
Director, Product Development���� | Pager: [EMAIL PROTECTED]
PageMail, Inc.������������������� |
Kingston, ON Canada�������������� | Voice: (888) 247 6246




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

From: "Sunil R. Karkera" <[EMAIL PROTECTED]>
Subject: COM/CORBA equivalent
Date: Wed, 31 Mar 1999 21:44:06 -0500

Hi!
I'm new to Linux. I'm a Windows API developer in VC++. I recently installed
Red Hat Linux 5.2. I would like to start developing a freeware Help-desk
system, for use by any organization, from commercial to voluntary.
I would like to know if Linux has something like COM/CORBA infrastructure
euivalent. I want to wake the program componentized.
Please suggest me some good freeware C++ development tools, GUI tools for
Linux, that supports COM/DCOM like framework.

Thanks in advance,

Sunil
[EMAIL PROTECTED]



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

From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Subject: Re: 4 Gb memory?
Date: Tue, 30 Mar 1999 16:54:46 -0500

Jakob Sigurdsson wrote:
> 
> My employer is considering buying a Linux Box with 4 Gb memory, we
> are thinking of a Quad pentuim (Xeon) setup.
> What is the max memory in linux?

I believe that the default is still 1GB, but it can be easily increased
to 2GB.  Beyond that, you're out of luck in the near-term.  There has
been some talk about ways to cleanly use the nasty 36-bit address
extensions on Xeon (and other new Intel chips) but it's still not
clear that this will happen.  If it does, it'll be in the 2.3 kernel
series.

> Is it enough to change the
> #define __PAGE_OFFSET
> in include/asm-i386/page.h, make a similar change in
> arch/i386/vmlinux.lds
> and compile the kernel?

No.  Ingo Molnar posted some patches to linux-kernel a while ago to go
to 2GB; I think they might be part of the 2.2.x series but I'm not
certain -- you'll have to check for yourself.

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

From: "ryu_103" <[EMAIL PROTECTED]>
Subject: Floppy access
Date: Wed, 31 Mar 1999 06:52:11 +0900

Hi 

I need your help !(I am new to Linux programming)

I hope my program can direct access to floppy disk 
and read secter immediately.
Because the datas in floppy without filesystem and
Floppy format is unique.

Must I create block device driver with new filesystem ?

I want to make an application  what read the AKAI format 
sound file and exchange other format.
AKAI Sampler use AKAI format sample file and unique
floppy disk format.

If similer application is alredy exist, Where can I get it ? 

Can I get the info about above things  on web ?

Thanks.





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

From: Nix <$}xin{[email protected]>
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: 30 Mar 1999 21:43:32 +0100

"G. Sumner Hayes" <[EMAIL PROTECTED]> writes:

> The time you put in to learning nedit could easily get you just as
> far in XEmacs.

Plus, instead of learning Yet Another One-Off Macro Language, you learn
lisp, which is about as not-one-off as you can get, in addition to being
wonderfully elegant.

-- 
`The purpose of a windowing system is to put some amusing
 fluff around your one almighty emacs window.' -- Mark on gnu.emacs.help

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

From: Nix <$}xin{[email protected]>
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: 30 Mar 1999 21:55:30 +0100

Klaus Schilling <[EMAIL PROTECTED]> writes:

> Emacs is much better and more flexible for writing email than pico, due to 
> its turing property.

Uh. Klaus. That's not why it's better, unless you are often in the habit
of mailing parsers in Lisp to people.

It's better for writing email because it's more flexible, yes. But not
because its langauge is Turing-complete (although that has other
advantages).

Where writing email is concerned, its being a vaguely decent editor is
*way* more important than the Turing-completeness of its language.

> And for those who are not content with Lisp, though it has the most beautiful
> possible syntax,

Wrong. The *semantics* of Lisp is wonderful, but the syntax sucks rocks
for humans :( it's great for computers, because it's really regular, but
for us mere humans it is simply not very good.

(I still like it more than any other language, even C++.)

> using perl as macro-language,

Weird.

> those. They all have in common that they are free software and do not
> require an evil GUI to run.

Some of us find `evil GUIs' useful. (For viewing DVI files without
bothering to print them, and for having lots of rows and columns on the
screen in a decently-sized[1] font.)

Humans are visually-activated animals as well as linguistic processing
engines. The best systems would use *both* of these capabilities to
their fullest. (No such systems presently exist IMHO.)

> No, emacs is not capable of making coffee, that lie was invented by 
> vi users.

However, it can make coke (see efs/efs-coke.el) and this can be adapted
to coffee without difficulty.

It cannot do the washing up though[2]. This is irritating, as it's the
only thing that tears me away from it :)


[1] read `200 cols x 160 rows' ;)

[2] although it *can* collect the garbage.

-- 
`The purpose of a windowing system is to put some amusing
 fluff around your one almighty emacs window.' -- Mark on gnu.emacs.help

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

From: SUMIT <[EMAIL PROTECTED]>
Subject: Using generic SCSI for IDE (ATAPI) devices
Date: Tue, 30 Mar 1999 14:28:50 -0800


Can anybody point me on how to setup and program generic SCSI
for IDE (ATAPI) CD-ROM devices ?

Thanks in advance
Sumit

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


** 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.development.system) 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-Development-System Digest
******************************

Reply via email to