Linux-Development-Sys Digest #985, Volume #7     Thu, 29 Jun 00 17:13:16 EDT

Contents:
  Re: Good Basic compiler for linux? (Grant Edwards)
  Re: copy_to_user Linux-2.2.12 (Rick Ellis)
  Re: Good Basic compiler for linux? (John Gluck)
  Re: dynamic linking support (Rick Ellis)
  Re: Q. Versions of cpio ? (Rick Ellis)
  Re: problem with makefile??? (newbie?) (John Gluck)
  Re: Good Basic compiler for linux? (Alexander Viro)
  Re: Good Basic compiler for linux? (Kaz Kylheku)
  Re: Problem sending file descriptor using sendmsg/recvmsg (Rick Ellis)
  MBR (Andre Gauthier)
  Re: Good Basic compiler for linux? (Johan Kullstam)
  printk newbie ("Matthew Luckie")
  Re: Good Basic compiler for linux? (Bob Hauck)
  Re: Confirm this bug: CodeWarrior does not support spaces in paths? (MWRon)
  Re: Good Basic compiler for linux? ("Larry Ebbitt ")

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Good Basic compiler for linux?
Date: Thu, 29 Jun 2000 18:26:26 GMT

In article <8jg39h$a1d$[EMAIL PROTECTED]>, John C. Peterson wrote:

>>Visual Basic is used by a great number of IT departments to create a quick &
>>dirty tool to do a job. As Linux does not have VB those departments keep on
>>using Windows.
>>
>>Whenever a *user* mentions this to a Linux bod they are told - "Windows
>>sucks, BASIC sucks - use C ( like me `cos i`m a kewl coder ) or if you want
>>it write it yourself"
>
>   Linux *does* have several tools that play the same role as does
>VB. Tcl/Tk is one language where you can very quickly develop working
>applications with a high quality GUI interface. 

Don't forget Python!

-- 
Grant Edwards                   grante             Yow!  CALIFORNIA is where
                                  at               people from IOWA or NEW
                               visi.com            YORK go to subscribe to
                                                   CABLE TELEVISION!!

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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: copy_to_user Linux-2.2.12
Date: 29 Jun 2000 18:43:52 GMT

In article <[EMAIL PROTECTED]>,
Richard Bonomo  <[EMAIL PROTECTED]> wrote:

>I am writing a device driver, and have not
>yet been able to fathom how the system
>call copy_to_user is supposed to be called.
>
>Is it copy_to_user(pointer to kernel buffer,
>pointer to user buffer, # of bytes) or is
>it something else.

All you need to do is look at a driver source.  It's
copy_to_user(pointer to user buffer, pointer to kernel buffer, size);

--
http://www.fnet.net/~ellis/photo/linux.html


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

From: John Gluck <[EMAIL PROTECTED]>
Subject: Re: Good Basic compiler for linux?
Date: Thu, 29 Jun 2000 14:42:46 -0400

AndyD wrote:

[snip]

> Not everyone see`s Linux as an excuse to write code.

Agreed, a computer is a tool that must do useful work or in the filp side..
A computer is a great toy that is used to do fun things.

To some people writing a program is as natural as eating...

>
>
> The point I was trying to make is that Linux is increasing being seen as an
> alternative to Windows, yet there are gaps in the programs available.

Perhaps the gaps aren't as bad as they seem. Sometimes a little adapting is all
it takes.
A bit like if you move a hunded miles away you'll use a different grocery
store.
In this case it may mean learnind a few new tools.

>
>
> Visual Basic is used by a great number of IT departments to create a quick &
> dirty tool to do a job. As Linux does not have VB those departments keep on
> using Windows.

Hmmm That goes to adapting (above)

>
>
> Whenever a *user* mentions this to a Linux bod they are told - "Windows
> sucks, BASIC sucks - use C ( like me `cos i`m a kewl coder ) or if you want
> it write it yourself"

Well I do think basic sucks (insofar as anything I do is concern) but it does
have uses.
As far as the write it yourself thing goes.. Many of us are programmers and
that's what we do..
So, I don't think it's as much "go away and don't bug me" as a genuine
suggestion to do something that solves a problem.

>
>
> If you want a new tyre for your car, do you expect to get rubber, matting &
> carbon and make one yourself or would you just buy one?
>

Irrelevant comparison. None of us has a tire factory available.
On linux we do have all the tools to roll our own software.
Also, what was refered to was making something that doesn't exist...

>
> Expecting someone wanting to write a simple "hello world" type program to
> implement a programming language first is just silly.

There's no need, the programming languages to do that already exist.

>
>
> Linux is excellent but time & time again, if you identify a need you are
> told "do it yourself"

The alternative is to pay someone to do it.
But many times the "need" is already fulfilled by using a different tool set.
The whole environment and mentality with linux is different.

You can write some very fancy programs using shell scripts that call existing
tools.

>
>
> -AndyD

--
John Gluck  (Passport Kernel Design Group)

(613) 765-8392  ESN 395-8392

Unless otherwise stated, any opinions expressed here are strictly my own
and do not reflect any official position of Nortel Networks.




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

From: [EMAIL PROTECTED] (Rick Ellis)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: dynamic linking support
Date: 29 Jun 2000 18:46:08 GMT

In article <395b64ff$[EMAIL PROTECTED]>,
nimrod gal-oz <[EMAIL PROTECTED]> wrote:

>Can anybody tell me if linux support dynamic linking?

Type:

apropos dynamic

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: [EMAIL PROTECTED] (Rick Ellis)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Q. Versions of cpio ?
Date: 29 Jun 2000 18:59:46 GMT

In article <8jclp6$sh6$[EMAIL PROTECTED]>,
Martin Fitzpatrick <[EMAIL PROTECTED]> wrote:

>I have recently installed version 2.2 of the Caldera distro, loaded the
>2.2.15 kernel and applied two patches to get my OnStream DI30 tape drive
>working. Next thing I want to do is get some nice verification of my
>backups. Not sure if these are really the correct newsgroups to post to, so
>any advice is welcome.
>
>SCO OpenServer 5.2.0 which I use in work has the following option (from the
>man page) -
>
>  -n      Calculate the checksum value for each file read from an archive
>(the
>          checksum value is equivalent to that produced by the command
>          sum -r). Filetypes other than regular files produce a checksum of
>0
>          (zero). This option is intended to be used in conjunction with the
>          -itv options; the first entry on each output line is the checksum
>of
>          an archived file.
>
>This allows the a list of checksums to be read back after the backup is
>completed, which can be compared with a list created with 'sum -r' before
>the backup was taken. All of which soothes my rampant paranoia and lets me
>sleep at night.
>
>However, GNU cpio version 2.4.2 does not have this -n option. Does anyone
>know of a version which I might be able to get hold of which does implement
>this option ?

man cpio

Is this what you want?  --only-verify-crc

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: John Gluck <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help
Subject: Re: problem with makefile??? (newbie?)
Date: Thu, 29 Jun 2000 14:50:17 -0400

I use emacs every day to do just those things.
Makefiles, C, C++, whatever.

You may have an old or incomplete version of emacs.
Emacs will usually detect the "mode" it needs to use from the file name.
It will set itself up to properly edit Makefiles, C files etc.

In fact I use a recent version of xemacs and that also has language sensitive
syntax highlighting

"Jeff D. Hamann" wrote:

> hum....
>
> had to redit the makefile using gnotepad (emacs didn't seem to want to add
> the tab in there, or at least I didn't know hot to use it correctly to edit
> the makefile so that it would insert the tabs in there) And why was the
> tabbing different when i put a txt extension on the makefile? Regardless,
> it's working fine know, but I would like to be able to use emacs to generate
> the make and edit the c code.
>
> Thanks,
> Jeff
>

[snip]

--
John Gluck  (Passport Kernel Design Group)

(613) 765-8392  ESN 395-8392

Unless otherwise stated, any opinions expressed here are strictly my own
and do not reflect any official position of Nortel Networks.




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

From: [EMAIL PROTECTED] (Alexander Viro)
Subject: Re: Good Basic compiler for linux?
Date: 29 Jun 2000 14:57:52 -0400

In article <EXL65.3879$[EMAIL PROTECTED]>,
AndyD <[EMAIL PROTECTED]> wrote:

>> So what stops you from implementing it, if you think that it's worth
>doing?
>
>Not everyone see`s Linux as an excuse to write code.

Excuse me, what the fuck? You are saying "<something> is needed". Wonderful,
but what makes you think that you've got a right to demand something from
anybody? You want it - _you_ go and do it. Or pay somebody for doing the work.
"For free" means "what _I_ want to do" and if you want something different -
you'd bloody better do it yourself, pay somebody for work or sod off.

-- 
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Good Basic compiler for linux?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 29 Jun 2000 19:06:49 GMT

On Thu, 29 Jun 2000 18:48:56 +0100, AndyD <[EMAIL PROTECTED]> wrote:
>
>Alexander Viro <[EMAIL PROTECTED]> wrote in message news:8jfv41>
>>Visual Basic is used by a great number of people & if linux has a
>comparable
>> >application it would help it be adopted more in the real world.
>>
>> IDGI. The statement remains true if you replace "Visual Basic" with damn
>next
>> to anything, e.g. "Toilet paper". So?
>>
>> >A large number of people make a living programming in a variety of
>BASIC`s
>> >and I for one would like to see a modern implementation of the language
>on
>> >LINUX.
>>
>> So what stops you from implementing it, if you think that it's worth
>doing?
>>
>
>Not everyone see`s Linux as an excuse to write code.
>
>The point I was trying to make is that Linux is increasing being seen as an
>alternative to Windows, yet there are gaps in the programs available.
>
>Visual Basic is used by a great number of IT departments to create a quick &
>dirty tool to do a job. As Linux does not have VB those departments keep on
>using Windows.

There are BASIC implementations available for Linux, so this debate is moot.
You just have to know how to use a search engine.  Halcyon Software used to put
out something called VBIX, a VB implementation for UNIX. I don't know whether
this product is still offered, but when you go their page they are now selling
smoething called iConverter, which ``is a technology that let Halcyon provide
Visual Basic to platform independent Java conversion in a fraction of the
normal amount of engineering time, saving you money and headaches.''. See
http://www.halcyonsoft.com

>If you want a new tyre for your car, do you expect to get rubber, matting &
>carbon and make one yourself or would you just buy one?

This is more a case of buying a different model of car, but refusing to adapt
to the different dashboard layout.

>Expecting someone wanting to write a simple "hello world" type program to
>implement a programming language first is just silly.

Correct. It's easier to just learn a new programming language and write Hello
World in that.

In any case, the intellectual investment in learning VB is so slight that it
should be easy to ditch it for something else in a day.  

When VB was introduced, did some people not abandon other tools in favor of it?

-- 
#exclude <windows.h>

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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: Problem sending file descriptor using sendmsg/recvmsg
Date: 29 Jun 2000 19:10:46 GMT

In article <8jdkiv$qmf$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:

>I am trying to pass a file descriptor between two processes. I am using
>the UNIX domain stream connection client and server code in the 4.4BSD
>IPC Tutorial (pages 20-21) and Richard Stevens read_fd/write_fd
>functions from Unix Network Programming 2nd Ed. Vol. 1 (Chap. 14).
>
>My sendmsg appears to work, but I get an EINVAL (Invalid Argument)
>error returned by recvmsg.

You probably haven't initialized values in the msg_namelen structure. Using
recvfrom might be a bit easier.

--
http://www.fnet.net/~ellis/photo/linux.html


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

Date: Thu, 29 Jun 2000 15:42:58 -0400
From: Andre Gauthier <[EMAIL PROTECTED]>
Subject: MBR

I was wondering if anybody knows where I can get some documentation to
learn about MBR , and maybe even editing it.
Just curious...

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

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: Good Basic compiler for linux?
Date: 29 Jun 2000 15:17:17 -0400

"AndyD" <[EMAIL PROTECTED]> writes:

> Alexander Viro <[EMAIL PROTECTED]> wrote in message news:8jfv41>
> >Visual Basic is used by a great number of people & if linux has a
> comparable
> > >application it would help it be adopted more in the real world.
> >
> > IDGI. The statement remains true if you replace "Visual Basic" with damn
> next
> > to anything, e.g. "Toilet paper". So?
> >
> > >A large number of people make a living programming in a variety of
> BASIC`s
> > >and I for one would like to see a modern implementation of the language
> on
> > >LINUX.
> >
> > So what stops you from implementing it, if you think that it's worth
> doing?
> >
> 
> Not everyone see`s Linux as an excuse to write code.
> 
> The point I was trying to make is that Linux is increasing being seen as an
> alternative to Windows, yet there are gaps in the programs available.
> 
> Visual Basic is used by a great number of IT departments to create a quick &
> dirty tool to do a job. As Linux does not have VB those departments keep on
> using Windows.

in linux you generally use one of
1) shell script
2) tcl/tk
3) perl
4) python
depending on your mood.

there's no visual basic for linux probably because no one has felt the
urge to create it.  you can
1) write it yourself
2) pay someone else to write it
3) wait until someone else writes it anyway
4) stop moaning about it already

> Whenever a *user* mentions this to a Linux bod they are told - "Windows
> sucks, BASIC sucks - use C ( like me `cos i`m a kewl coder ) or if you want
> it write it yourself"

if someone likes your suggestion, they might take you up on it.  why
should you think you can command someone else's time and effort?

> If you want a new tyre for your car, do you expect to get rubber, matting &
> carbon and make one yourself or would you just buy one?

do you look gift horses in the mouth?

> Expecting someone wanting to write a simple "hello world" type program to
> implement a programming language first is just silly.

how else would do it?  in order to have a working programming language
you will need a working implementation.  this is a tautology.

> Linux is excellent but time & time again, if you identify a need you are
> told "do it yourself"

if you don't want to do it yourself, you must *pay* someone else to do
it for you.  this is the way the world works, i'm afraid.  i don't
know why you expect people to perform services for you without
compensation.  you don't expect your neighbor to mow your lawn for you
out of the goodness of their heart do you?  why then do you expect
them to write you a visual basic implementation?

-- 
johan kullstam l72t00052

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

From: "Matthew Luckie" <[EMAIL PROTECTED]>
Subject: printk newbie
Date: Fri, 30 Jun 2000 08:36:01 +1200

hi

I want to make the kernel print some stuff out that i can examine -
preferably to the console, as i am playing with some aspects of the kernel
at the moment

i understand that this is what printk can do for me (although it can log to
the system or something by the look of the code).

When i call printk, where does the string i pass it go?
How do i get it to go to the console?

Thanks

--
Matthew Luckie
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Good Basic compiler for linux?
Reply-To: hauck[at]codem{dot}com
Date: Thu, 29 Jun 2000 20:40:10 GMT

On Thu, 29 Jun 2000 18:48:56 +0100, AndyD <[EMAIL PROTECTED]> wrote:

>The point I was trying to make is that Linux is increasing being seen as an
>alternative to Windows, yet there are gaps in the programs available.

There are always gaps.


>Visual Basic is used by a great number of IT departments to create a quick &
>dirty tool to do a job. As Linux does not have VB those departments keep on
>using Windows.

Nothing has VB but Windows since it is a proprietary language.  An IT
department that uses a proprietary language for critical functions is
vendor-locked by definition.  Even if that language isn't from
Microsoft.

Linux has numerous RAD languages, some free and some proprietary.  The
fact that there is no VB for Linux is not anybody's fault but
Microsoft's since they control the language.


>Whenever a *user* mentions this to a Linux bod they are told - "Windows
>sucks, BASIC sucks - use C ( like me `cos i`m a kewl coder ) or if you want
>it write it yourself"

I say "use Python" or "use PHP" or "use tcl/tk" depending on what they
want to do with it.


>Linux is excellent but time & time again, if you identify a need you are
>told "do it yourself"

That's why they call it "user supported".

-- 
 -| Bob Hauck
 -| Codem Systems, Inc.
 -| http://www.codem.com/

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

From: [EMAIL PROTECTED] (MWRon)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Confirm this bug: CodeWarrior does not support spaces in paths?
Date: Thu, 29 Jun 2000 16:18:05 -0400

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:

>Can someone please confirm that CodeWarrior for Linux is sensitive to
>spaces in paths?

Yes in the intial release of CodeWarrior for Linux if you have an include
header with a space in it we did not parse that correctly.

 For example, if "my foo.cc" contained the following include

   #include "my foo.h"

the wrong thing would happen when we got dependency information back
from gcc; that is, it would end up looking like

   my\ foo.cc.o: my\ foo.h

This did not affect source files added to the project.


We are going into beta testing for the next release of the �W for Linux
product,  if you are interested in this drop me a note.  

Ron

-- 
When it came time to show off Mac OS X applications
Steve Jobs chose those built with CodeWarrior

Metrowerks, a Motorola Company   -  Ron Liechty
"Software Starts Here"  -  [EMAIL PROTECTED]

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

From: "Larry Ebbitt " <[EMAIL PROTECTED]>
Date: Thu, 29 Jun 2000 17:08:03 -0400 (EDT)
Reply-To: "Larry Ebbitt" <[EMAIL PROTECTED]>
Subject: Re: Good Basic compiler for linux?

On Tue, 27 Jun 2000 21:38:31 +0100, AndyD wrote:

>A large number of people make a living programming in a variety of BASIC`s
>and I for one would like to see a modern implementation of the language on
>LINUX.

I doubt that anyone over 14 would use it except that Billzebub likes it
so Microflaccid pushes it.  Don't forget what the "B" stands for.


Larry - Atlanta - Linux + OS/2



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


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