Path: gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cunixb.cc.columbia.edu!rt2
From: r...@cunixb.cc.columbia.edu (Rens Troost)
Newsgroups: comp.os.minix
Subject: 386 goodies sought
Message-ID: <1991Apr7.230652.3535@cunixf.cc.columbia.edu>
Date: 7 Apr 91 23:06:52 GMT
Sender: use...@cunixf.cc.columbia.edu (The Network News)
Reply-To: r...@cunixb.cc.columbia.edu (Rens Troost)
Organization: Columbia University
Lines: 11
Nntp-Posting-Host: cunixb.cc.columbia.edu
I've just gone through upgrading to 386 (thanks, Bruce) and now am looking
for some new stuff -- if I remember correctly someone had a set of diffs for
emacs. What is the status of this?
Also, has anybody gotten bash working for minix? gdb? (this latter must be
a dream...)
-Rens
r...@cunixb.cc.columbia.edu
r...@gnu.ai.mit.edu
Path: gmdzi!unido!mcsun!sunic!news.funet.fi!hydra!cc.helsinki.fi!torvalds
From: torva...@cc.helsinki.fi
Newsgroups: comp.os.minix
Subject: Re: 386 goodies sought
Message-ID: <1991Apr8.125827.5888@cc.helsinki.fi>
Date: 8 Apr 91 12:58:27 GMT
References: <1991Apr7.230652.3535@cunixf.cc.columbia.edu>
Organization: University of Helsinki
Lines: 47
In article <1991Apr7.230652.3...@cunixf.cc.columbia.edu>, r...@cunixb.cc.columbia.edu (Rens Troost) writes:
>
> I've just gone through upgrading to 386 (thanks, Bruce) and now am looking
> for some new stuff -- if I remember correctly someone had a set of diffs for
> emacs. What is the status of this?
>
> Also, has anybody gotten bash working for minix? gdb? (this latter must be
> a dream...)
>
> -Rens
> r...@cunixb.cc.columbia.edu
> r...@gnu.ai.mit.edu
I'm rather new to 386-Minix myself, but have tried porting some stuff
and have a few comments:
1) Get gcc! Without this your porting will be much more difficult. You
don't even need to do anything, it's been ported already, and binaries
can be found on plains. Great!
2) I dont know about others, but with 386-minix and gcc the system is
close enough to "real" unix that most gnu-programs seem to work without
any major changes. I tried getting a "minix-ported" bash, and had no end
of troubles. Get the real unmodified gnu-sources.
3) gnu tar, gawk and bison are easy - get them, make some small changes,
and you're up and away. Took me a couple of hours to port them, and I
was totally new to the game.
4) Bash is hell :-) It uses ioctl etc that at least vanilla-minix386
doesn't care about (anybody hacked the kernel?), but it's doable. I
ported it yesterday, sort of (you'll need bison), haven't had time to
test it out yet. I have problems with readline, but I think it's a minor
problem. It hasn't bombed on me yet though.
5) If you want emacs, I think there are patches on plains, but I'm not
sure. If uemacs will do (it does for me), get that - it takes no porting
at all (well very little - change some defines in estruct.h, maybe some
very minor other changes). Be sure to get 3.10 (latest version that I'm
aware of), it has &kbg, which allows you to make appropriate macros for
the cursor keys - no need to change the sources. There is a bug in
bind.c (I think),but there are bug-fixes available that seem to clear it
up (if you want it, mail me).
Happy porting, Linus
Linus Torvalds torva...@cc.helsinki.fi
Path: gmdzi!unido!mcsun!sunic!news.funet.fi!hydra!cc.helsinki.fi!torvalds
From: torva...@cc.helsinki.fi
Newsgroups: comp.os.minix
Subject: Anyone in need of bash? (minix-386, maybe ST)
Message-ID: <1991Apr13.181744.5973@cc.helsinki.fi>
Date: 13 Apr 91 18:17:44 GMT
Organization: University of Helsinki
Lines: 18
I've recently ported bash to minix-386 (nice, but takes about 300kB of
RAM). It's been "tested" by me using it all the time (good editing and
history - couldn't live without it any more), but I won't make any
guarantees. If anybody is interested in cdiffs against bash-1.05, please
mail me (I'll post if there is enough interest).
The port definitely needs GCC, and 386-minix. ST-minix will probably
work as well (I've sent it to one ST-minixer), after changeing a #define
LITTLE_ENDIAN to BIG_ENDIAN. If the port already has been done by
someone else - just ignore this message.
Linus Torvalds torva...@cc.helsinki.fi
PS. I've hacked the kernel to accept gcc-compiled programs directly
without going through gcc2minix, but I haven't tested it very much yet
(bash works though, so most things probably will). Changes are trivial,
mail me if interested. (And yes - it accepts old minix format too - you
don't have to recompile everything :-)
|