From: bf795@cleveland.Freenet.Edu (James Abendschan)
Newsgroups: comp.os.minix
Subject: Another MacMINIX 'suggestion'
Date: 23 Jan 1993 07:24:21 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: bf795@cleveland.Freenet.Edu (James Abendschan)
NNTP-Posting-Host: hela.ins.cwru.edu



This was sent to me in e-mail, but I think it should be posted if only
to give the illusion of the existence of MacMINIX owners.

 
 
>Date: Fri Jan 22 08:05:47 1993
>From: jimlynch@netcom.com (Jim Lynch)
>Subject: Re: Things I Wish Were In MINIX
>To: bf795@cleveland.Freenet.Edu
>Newsgroups:  comp.os.minix
 
>I'm running a mac also.... I'd like to see better make handling...
>While I was able to build the libraries, there was _no_mention of
>how to do this in the manual. An awful lot of other stuff is missing
>too. I changed my ttys file and now only tty0 works. What I'd have
>liked the manual to tell is exactly how to make one of these from
>scratch (or: what command can I use to
 
Yeah, I know how you feel.  This was a pain for me at first, but after
suffering through it, I finally figured most of the stuff out.
 
>a) reconnect tty1 to a shell,
 
modify /etc/ttys:
10console - run login process on console [try 100 if console fails.]
101       - run login "  "     " tty1
202       - run getty "  "     " tty2 [port A - modem port]
203       -  "   "    "  "     " tty3 [port B - printer/appletalk port]
 
my /etc/ttys looks like:
20console
201
002
203
 
I use tty2 as a dialout line for UUCP [yeah!  just got in the maps!
kadath.UUCP!] and tty3 for my little mac 128k as a semi-dumb term.
 
>b) make more tty windows and
 
I did this, once.  Modify kernel/console.c  .. the comments explain
mostly how to do it.
 
>c) connect them to a shell.
 
as long as there's a login or getty running on that tty, all you need
to do is login.
 
 
>Does anyone have anything that makes tty windows respond to edit
commands?
>  "     "     "      "      "    "    "     "    scroll back/forward?
 
I too have thought about this.. perhaps a variable-size scrollback
buffer.
If I knew more about textedit I could write this.  Maybe.
 
>When I'm talking to my unix dialup, I can grab any text in the window
>and paste it to the modem. This capability would be especially
wondrous,
 
Yes!  I too have thought about this!  Just like in Zterm!
 
>however a way to make a Termcap entry based on the present size of a 
>window would be equally cool.
 
being confined to a 9" screen, one rarely thinks about things like that.
but it is a good idea.
 
>On longer names: the files limits.h, unistd.h and ar.h all have a
>#define whose name contains NAME_MAX. Can I increase this value 
>without screwing things up? Specifically, would I then have a different
>flavor of directory entry (and therefore a different flavor of 
>filesystem?)
 
Actually, I think 13 chars is a POSIX requirement or some such.  I
don't know about this.  It should work though, I suppose.
 
>I'm also looking for a ln that handles links to directories (not 
>just for the super user) as well as symbolic links. Does anyone here
>have this? If not: what kinds of things and which files will I have
>to deal with?
 
There was a symlink program on one of the ftp archives.  My FS isn't
big enough to require symlinks, so I haven't tried it.  Look for
symlink.tar.Z or something on plains.nodak.edu, under ibm or oz-utils ..
I think that's where I saw it.
 
>Last one for now: I notice the source has old-style names. I propose 
>that each .h file contain prototypes and an 'include me only once' 
>arrangement. Then, even the corresponding .c file would include its 
>own .h file which would have the prototypes. Anyone game for this? ast?

Proposal submitted to the Net...


--james
  [shamus@kadath.UUCP !! Far too cool for mere words..]
-- 
Copyright (c) 1993 AT&T All rights reserved
THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T