Subject: Linux-Misc Digest #222
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:     Mon, 6 Jun 94 09:13:31 EDT

Linux-Misc Digest #222, Volume #2                 Mon, 6 Jun 94 09:13:31 EDT

Contents:
  HELP needed !!! (f77 question) (Jean-Henry Berevoescu)
  S3 cards and freezing X windows (A solution) (Michael MNUK)
  Re: Linux & Motif (les grant)
  Re: Linux and COBOL (James Fidell)
  Writing code at run-time (Junaid A. Walker)
  Re: HELP needed !!! (f77 question) (Dan Pop)
  Re: Reading BBC Micro disks under Linux (James Murray)
  Re: Comparing Yggdrasil's and TransAmeritech CD Linux .... (Alan Cox)
  Re: What IPC is available? (Was: UNIX Semaphores) (Alan Cox)
  Re: Linux vs *BSD (new twist) (Alan Cox)
  Re: Frustrated with new kernel (Alan Cox)
  Re: Linux for the world? (Alan Cox)
  Re: Linux vs *BSD (new twist) (Alan Cox)
  Re: Reading BBC Micro disks under Linux (Alan Hart)
  Re: Linux vs *BSD (new twist) (Brandon S. Allbery)
  Backspace problems (Robert Adams)
  Re: Conner or Colorado Tape drives - OK with Linux (R.D. Auchterlounie)
  Re: Linux and COBOL (Brandon S. Allbery)
  Re: Linux for the world? (Eric Youngdale)
  Slack 1.1.2 vs. 1.2.0 (Jesper Honig Spring)

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

From: bjh@applicom.co.il (Jean-Henry Berevoescu)
Subject: HELP needed !!! (f77 question)
Reply-To: bjh@applicom.co.il
Date: Mon, 6 Jun 1994 06:04:28 GMT


    Is there somebody who knows the name of the
random number generator procedure/function of f77
(linux) ? It doesn't seem to be any of the
"standard" ones (ran, rand or rnd).

Thanks,

Jean-Henry Berevoescu
e-mail : bjh@applicom.co.il











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

From: mmnuk@risc.uni-linz.ac.at (Michael MNUK)
Crossposted-To: comp.windows.x.i386unix
Subject: S3 cards and freezing X windows (A solution)
Date: 06 Jun 1994 07:45:33 GMT


I'm running X windows using SPEA Mirage VLB graphic card. I experienced, as
many others did, freezing the X windows locking up the computer. This
happened basically when switching the focus between windows (popping up,
iconifying) and when using the scroll bar.

My motherboard has 3 VLB slots, 4 ISA 16-bit, and 1 ISA 8-bit slot. Their
arrangement is as follows:

  ---    ---    ---    ---   ---   ---   ---  ---
  | |    | |    | |    | |   | |   | |   | |  | |
  | |    | |    | |    | |   | |   | |   | |  | |
  | |    | |    | |    | |   | |   | |   | |  ---
  | |    | |    | |    | |   | |   | |   | |
  | |    | |    | |    | |   | |   | |   | |
  | |    | |    | |    ---   ---   ---   ---
  | |    | |    | |
  | |    | |    | |
  | |    | |    | |
  | |    | |    | |
  | |    | |    | |
  ---    ---    ---
   1      2      3

Previously the graphic card occupied the position 1 and the controller the
position 2. With this configuration the well known troubles occurred. I
tried to change the placement - putting the graphic card into the slot 3
and the controller into the slot 1. After this change (so far) anything is
OK. Since then I never experienced no problems at all. I was even able to
remove "nonlinear" from Xconfig.

I tried to put the cards into their original positions, the old weird
behavior was restored! So there is some connection between arrangement and
functionality. Experts are encouraged to explain this.

I'm deeply indebted to Wofgang Franke from Munich for suggesting me this
idea.

(Just for the sake of completeness: DX2-66, VLB, HD Maxtor 7345A, SPEA Mirage
with S3 86C805, Slackware (last release), XFree 2.1.1 using fvwm).
--
Michal Mnuk                                  Phone: +7236 3231 75             
Research Institute for Symbolic Computation  Fax  : +7236 3231 30             
A-4040 Linz, Austria                         E-mail: mmnuk@risc.uni-linz.ac.at


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

From: les@babcock.demon.co.uk (les grant)
Subject: Re: Linux & Motif
Reply-To: les@babcock.demon.co.uk
Date: Mon, 6 Jun 1994 08:50:45 +0000

Hi folks
        I got a UK source and have parted with dosh. Thank you all for your 
mail and your suggestions. Much appreciated!

                        regards
                                les


-- les grant    ----------- Tel:   041-886-2201    (+44-41-886-2201) -------
--                    ----- Fax:   041-885-3370    (+44-41-885-3370) -------
--                 ------ Email: les@babcock.demon.co.uk -----------------


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

From: jfid@mfltd.co.uk (James Fidell)
Crossposted-To: bc.unix
Subject: Re: Linux and COBOL
Date: 6 Jun 1994 10:29:03 +0100


In article <2sqlqq$766@wolfe.wimsey.com>, davidh@wimsey.com writes:
> 
> Any place to look, or general hints regarding COBOL and Linux?
> Preferably MicroFocus COBOL under Linux?
> 

Micro Focus do not produce a COBOL compiler for Linux.  However, given
that the iBCS2 stuff all works, you may find that it's possible to
run the SCO product.  I'd be interested to hear anyone's experiences.

You might want to have a look at the COBOL FAQ too.  I can e-mail you
this if you want, or you can pick it up from the usual newsgroups and
archives.

James.
-- 
 "Yield to temptation --             |
  it may not pass your way again"    |     jfid@mfltd.co.uk
                                     |
        - Lazarus Long               |              James Fidell

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

From: junaid@barney.eng.monash.edu.au (Junaid A. Walker)
Crossposted-To: rec.games.programmer,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,alt.msdos.programmer,comp.os.msdos.programmer
Subject: Writing code at run-time
Date: 6 Jun 1994 08:59:11 GMT

        Well its that time of year....

        How does one set up an area under Linux gcc/ MSDOS djgpp 
write some machine code instructions to this area, and then execute this
code all at runtime.
        I am programming a sprite library that reads in a gif, compiles it
to machine code that will copy the sprite onto the screen.  (Xlib people
listenning?)

        For the curious, a few ideas;

***Linux:

1)      malloc the required # bytes
2)      use mmap() to create a executable segment mapping of 1)
3)      store a pointer to 1) in a function pointer, and invoke pointed to
        function (making sure function passing prolog is included in code).
        OR use a bit of inline assembler to make a direct call to register
        loaded with pointer in 1)

***MSDOS djgpp:
        As above, but is the data segment executable?  If not go32 hacking
required.

***MSDOS real mode:
        Trivial, all segments are executable.


        Regards,
        Junaid.

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

From: danpop@cernapo.cern.ch (Dan Pop)
Subject: Re: HELP needed !!! (f77 question)
Date: Mon, 6 Jun 1994 10:36:24 GMT

In <CqyovH.12I@applicom.co.il> bjh@applicom.co.il (Jean-Henry Berevoescu) writes:


>    Is there somebody who knows the name of the
>random number generator procedure/function of f77
>(linux) ? It doesn't seem to be any of the
>"standard" ones (ran, rand or rnd).

The problem is that there is no standard F77 intrinsic to generate
random numbers and libf2c implements only the standard F77 intrinsics.

There is a very simple workaround: write a C wrapper for the rand or
random functions from the standard C library and include the name of
the .c file in the f77 command line. You cannot call C library
functions directly from Fortran programs because f2c appends an
underscore to all the identifiers in the Fortran program when it
translates it to C. So, the name of a wrapper function has to end with
an underscore and the Fortran program will use the function name
without the trailing underscore.

Dan
-- 
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland

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

From: esuln@csv.warwick.ac.uk (James Murray)
Crossposted-To: comp.emulators.misc,comp.sys.acorn,comp.sys.acorn.tech
Subject: Re: Reading BBC Micro disks under Linux
Date: 6 Jun 1994 12:02:27 +0100

In article <2snuei$77l@infa.central.susx.ac.uk>,
        joek@cogs.susx.ac.uk (Joe Karthauser) writes:
>In article <2snjui$8od@icebox.mfltd.co.uk>,
>James Fidell <jfid@mfltd.co.uk> wrote:
>>
>>I want to be able to read my 100, 200 and 400K disks from my BBC Micro
>>on my Linux machine.  The disks can be any of 40- or 80- track, single-
>>or double sided.  Each track is formatted with (usually) 10 256-byte
>>sectors.
>>
>>Can anyone offer any suggestions as to how I might go about this ?
>>
>
>One of the main problems you'll have is that old Beeb disks are single
>density, rather than double or quad density (which are used now).
>
>The best thing to do, assuming that you've got info on these disks that you
>want to recover, is to get your hands on a beeb and knock up some serial
>code to comm it across. Time wise this'll probably be much quicker than
>rigging up an FM (single density) disk controller to your linux machine.
>

What about the MFM disk stuff.
I had ADFS using the 1770 chip with 640k per disk.
80tracks, 2 sides, 16 sectors, 256 bytes per sector  I think.

Surely these may be compatible with the 1772 chips used in older PCs, also,
can the 1772 switch to FM.

Additionally I have a DEC twin 8" disk drive - can I use this with Linux
(or the Beeb)  I am almost serious as I have a mini that uses 8" disks.

jsm

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

Crossposted-To: comp.os.linux.help
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: Comparing Yggdrasil's and TransAmeritech CD Linux ....
Date: Mon, 6 Jun 1994 09:48:42 GMT

In article <2snq0i$dkm@Gauss.suse.de> mantel@suse.de (Hubert Mantel) writes:
>For people using US keyboards the Yggdrasil CD may be a good choice.
>But just as the fall 93 release, the summer 94 release doesn't
>offer any support for other keymaps than the US one.
>
>So the demo mode is nearly unusable for german users ;-(
>
It also has a portmapper with the zombie bug (fixed about two years ago)
and a lot of small but irritating cock-ups. Apart from that its a great
resource.

Alan


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

Crossposted-To: comp.os.linux.help,comp.unix.programmer,comp.unix.questions
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: What IPC is available? (Was: UNIX Semaphores)
Date: Mon, 6 Jun 1994 09:54:05 GMT

In article <Cqv09F.KDs@uceng.uc.edu> rshecter@uceng.uc.edu (Robb Shecter) writes:
>       Speaking of those fun semaphores, exactly what IPC is available on
>Linux?  Shared Memory?  FIFO's?  

Sys5 style
==========
FIFO's (named and anonymous pipes)
Shared memory   [1]
Semaphores      [1]
message queues  [1]

BSD style
=========
Unix domain sockets
TCP/IP sockets  [2]
IPX sockets     [3]


[1]     With CONFIG_SYSVIPC
[2]     With CONFIG_INET
[3]     With CONFIG_IPX



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

Crossposted-To: comp.os.386bsd.misc
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: Linux vs *BSD (new twist)
Date: Mon, 6 Jun 1994 09:58:36 GMT

In article <2spm91$1b2@Starbase.NeoSoft.COM> peter@Starbase.NeoSoft.COM (Peter da Silva) writes:
>The difference is that "ls -F" doesn't mean "ls" has to suck in termlib.
>Sometimes extra features are a bad idea, when they lead to code bloat. So
>far Linux itself seems to have avoided this common GNU disease (at least
>when compared with commercial UNIX), but with this sort of attitude it's
>not going to last.

Actually since the termlib is shared it takes no application space, and since
without the colour option being used it never calls the term library it never
gets paged in off disk (if its on disk at the time) so the actual impact
is pretty close to zero.

The no-feature attitude is also the reason why half the shells Im forced to
use on other machines don't have sensible command line editing. On the other
hand some programs take it too far (Emacs for one). 

Alan





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

From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: Frustrated with new kernel
Date: Mon, 6 Jun 1994 10:01:12 GMT

In article <2sqg5q$ms7@spool.cs.wisc.edu> jimr@shorty.cs.wisc.edu (Jim Robinson) writes:
>When I looked at my source, DDIOCSDBG was only defined once, and that
>was in in the same file that used it.  At 1.1.13 it was not defined at
>all, so how could enabling NET code helped?  Was the def moved since
>1.1.13?

What actually happened is DDIOCSDBG was part of FvK's old net debugging code
that I removed because it took so much space. What I didn't know was that
the CD-ROM people had 'borrowed' it. Since neither Linus nor I build with
the soundcard drivers it wasn't noticed until someone did and then 1.1.14
fixed it as well as a load of other bug reports.

Alan



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

Crossposted-To: comp.os.linux.help
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: Linux for the world?
Date: Mon, 6 Jun 1994 10:05:39 GMT

In article <2srp88$8ma@nntp2.Stanford.EDU> rna@leland.Stanford.EDU (Robert Ashcroft) writes:
>I think Linux has great potential in developing countries.  It is free,
>which makes it affordable ;-) it includes the source, which means that
>there is technology transfer (and silences anyone complaining about the
>evil imperialist west screwing over the third world) it runs on fairly
>generic and cheap hardware so you are not tied to one of those evil
>imperialistic, etc, companies, and so forth.

Indeed - from the email I get it seems that the ex USSR and also mid &
south america has a lot of users. I've even mailed PPP stuff to a guy
in Colombia.

>Moreover Linus is Finnish, which doesn't hurt.  No one thinks the Finns
>are out to conquer the world (maybe they're just more subtle than the
>rest of us.  Perhaps Linux is part of their secret plan for world
>domination.  Anyone have strange urges to sauna after using Linux?)

You've never lived in a country which has all the heritage of viking
plunderers burning the churches etc. 

>It would be a great way to bring UUCP style networks to developing nations
>too.  In some ways this would be a very subversive act, since many
>governments do not want their people communicating freely with the world
>or with each other.  While that's not my prime motivation, it does have
>a certain appeal...

You might be suprised how many of these countries are on the internet already
or are using other related technologies - such as packet radio.

Alan

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

Crossposted-To: comp.os.386bsd.misc
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: Linux vs *BSD (new twist)
Date: Mon, 6 Jun 1994 10:08:52 GMT

In article <Cqvrrr.Att@poly.edu> denaro09@darwin.poly.edu (Salvatore Denaro) writes:
>I would love to see a Linux "Server" package, 
>       NFS to share disks
You got it
Also
        SAMBA to serve disks to W4Wg and Lan Mangler clients.
>       SQL server with support for ODBC
Apart from Oracle under iBCS2 emulation I've not found an answer to this one.
>       POP mail.
You got it - and IMAP which obsoletes POP (eventually 8))
>       A cool Netware like admin shell..
Go write one - or join the Linux config tool project

Alan


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

From: amh15@cus.cam.ac.uk (Alan Hart)
Crossposted-To: comp.emulators.misc,comp.sys.acorn,comp.sys.acorn.tech
Subject: Re: Reading BBC Micro disks under Linux
Date: 6 Jun 1994 11:37:45 GMT

: >>I want to be able to read my 100, 200 and 400K disks from my BBC Micro
: >>on my Linux machine.  The disks can be any of 40- or 80- track, single-
: >>or double sided.  Each track is formatted with (usually) 10 256-byte
: >>sectors.

: What about the MFM disk stuff.
: I had ADFS using the 1770 chip with 640k per disk.
: 80tracks, 2 sides, 16 sectors, 256 bytes per sector  I think.

Indeed. I have written (well, hacked horribly) a bit of DOS code to read ADFS
disks. I also have some code to write ADFS disks. The code is not really fit
for distribution (it doesn't work properly - occasionally your BBC disk is
corrupted when you save files to it from the PC). But if you're interested I
can send you the C and maybe an executable. Anyway my point is that it can be
made to work on a normal 1.2Mb drive.


Alan

=============================================================
|        | amh15@cus.cam.ac.uk --- Work Tel: +44 223 337493 |
|  Alan  | Fax: +44 223 337706 --- Home Tel: +44 223 244595 |
|  Hart  | Microelectronics Research Centre, Cavendish Lab, |
|        | Madingley Road, Cambridge, ENGLAND. CB3 0HE      |
=============================================================

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

Crossposted-To: comp.os.386bsd.misc
From: bsa@kf8nh.wariat.org (Brandon S. Allbery)
Subject: Re: Linux vs *BSD (new twist)
Date: Mon, 6 Jun 1994 11:33:54 GMT

In article <2ssp3pINN4ql@bonnie.sax.de>, j@uriah.sax.de (J Wunsch) says:
+---------------
| gt8134b@prism.gatech.edu (Robert Sanders) writes:
| >Actually, what the FM doesn't mention is that, unlike Linux consoles, 
| >you can't switch to a FreeBSD console unless it is "open", and the only
| 
| non-opened vt if you like), this is mainly due to the fact that Soeren
| attempted to emulate as much of the SCO console behaviour as possible.
+------------->8

Huh?  SCO 3.2v2 and 3.2v4.1 both let me switch to consoles that don't have
anything running on them.  (I can't do much with them, but then, that's a
given.  :-)

++Brandon
-- 
Brandon S. Allbery         kf8nh@kf8nh.ampr.org          bsa@kf8nh.wariat.org
The FUDs at Microsoft are shouting "Kill The Wabi!"

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

From: adams@ms.uky.edu (Robert Adams)
Subject: Backspace problems
Date: 6 Jun 1994 08:13:31 -0400

I'm having some problems with my backspace key in programs with
interactive prompts like ftp.  In my C-shell, backspace works
fine, but in ftp, backspace produces ^H sequences.  I suspect
this is a problems with agetty, but I don't know where to start
to solve this problem.

-Robert
adams@dcs.uky.edu
University of Kentucky

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

From: rda@eng.cam.ac.uk (R.D. Auchterlounie)
Subject: Re: Conner or Colorado Tape drives - OK with Linux
Date: 6 Jun 1994 12:37:44 GMT

rob@pe1chl.ampr.org (Rob Janssen) writes:

>Try to find a QIC-02 or SCSI tape.  150/250MB units are often sold at [...]
              ^^^^^^^^
*NO* - Bad advice - I followed advice like this a while ago and now have a
QIC-02 streamer that works wonderfully... from DOS only.

Linux does _not_ support "QIC-02", there is support for _some_
_specific_ QIC-02 interface cards and streamers.

The distinction is important. I haven't wasted any money (yet) on my
tape setup, but I wouldn't want people to go spending $$$ on any QIC-02
tape assuming it's going to work with linux.

150/250M QIC-02 streamers _are_ a very good match for backing up small
systems, but you don't want to be doing it via DOS, believe me :(.

ray
<rda@eng.cam.ac.uk>

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

Crossposted-To: bc.unix
From: bsa@kf8nh.wariat.org (Brandon S. Allbery)
Subject: Re: Linux and COBOL
Date: Mon, 6 Jun 1994 11:52:03 GMT

In article <2suq8v$cuk@icebox.mfltd.co.uk>, jfid@mfltd.co.uk (James Fidell) says:
+---------------
| Micro Focus do not produce a COBOL compiler for Linux.  However, given
| that the iBCS2 stuff all works, you may find that it's possible to
| run the SCO product.  I'd be interested to hear anyone's experiences.
+------------->8

Someone just reported problems with MicroFocus COBOL under the current version
of the emulator.  You might want to join the iBCS2 channel and stay tuned for
further developments.

echo X-Mn-Admin: join iBCS2 | mail linux-activists-request@joker.cs.hut.fi

The (obsolete) RM/COBOL-85 package works under iBCS emulation.

++Brandon
-- 
Brandon S. Allbery         kf8nh@kf8nh.ampr.org          bsa@kf8nh.wariat.org
The FUDs at Microsoft are shouting "Kill The Wabi!"

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

From: ericy@cais.cais.com (Eric Youngdale)
Subject: Re: Linux for the world?
Date: 6 Jun 1994 12:33:18 GMT

In article <1994Jun6.100539.6090@uk.ac.swan.pyr>,
Alan Cox <iiitac@uk.ac.swan.pyr> wrote:
>>Moreover Linus is Finnish, which doesn't hurt.  No one thinks the Finns
>>are out to conquer the world (maybe they're just more subtle than the
>>rest of us.  Perhaps Linux is part of their secret plan for world
>>domination.  Anyone have strange urges to sauna after using Linux?)
>
>You've never lived in a country which has all the heritage of viking
>plunderers burning the churches etc. 

        No, that was the Danes :-).

-Eric
(of Swedish/Norweigian heritage).

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

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

From: spring@diku.dk (Jesper Honig Spring)
Subject: Slack 1.1.2 vs. 1.2.0
Date: Mon, 6 Jun 1994 12:03:13 GMT

Hello,

I've kept myself up to date with the latest developments concerning
Linux. Can anyone tell me the main differences between the Slackware
distribution 1.1.2 and 1.2.0, and advise me whether or not to install
the new distribution.

Thanks in advance

Please (also) email me


-- 
  Jesper Honig Spring              
  spring@diku.dk                    
  Student at the University of Copenhagen, DK
  Dep. of computer science  

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


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