Commit Graph

849 Commits

Author SHA1 Message Date
jkh
e62fc5d96d Poul says that setting fonts on monocrome displays is useless
as most mono displays aren't that intelligent anyway.  Disable it in this
case.
1995-05-18 17:49:09 +00:00
jkh
4b6f8edf3c Use CHUNK_BSD_COMPAT as God and Poul intended it be used. 1995-05-18 17:38:02 +00:00
jkh
2e0054d913 Fix quoting error. 1995-05-18 16:57:52 +00:00
jkh
94b6e966ff I had the arguments to Mount() backwards. Argh. 1995-05-18 16:53:53 +00:00
jkh
e7e884467a Clear the screen after changing the font. 1995-05-18 15:58:32 +00:00
jkh
15ae97b7cb Whoops! I forgot how uudecode works.. Make it really work here. 1995-05-18 15:46:18 +00:00
jkh
b447f471a3 1. Use 8x16 fonts.
2. Don't use russian screenmap - apparently not necessary with right font.
3. Dequote bogusly quoted font name in english language setting.
4. Use setterm() and hack around an undesirable side-effect (cbreak is unset).
5. be smarter about setting OnVTY, and use it in cases where it makes sense.
Submitted by:	Nickolay N. Dudorov <nnd@gw.itfs.nsk.su>
1995-05-18 15:29:47 +00:00
jkh
adca1a3004 Add some more debugging information and fix a few missing newlines. 1995-05-18 14:11:16 +00:00
jkh
c3388d76d5 Fix a very embarassing typo. No wonder this thing was looping! :-) 1995-05-18 13:20:53 +00:00
jkh
95f73e1860 1. Add serial devices to list of possible network device candidates.
2. Rework tcpip.c a bit so that devices which have been configured also
   have the enabled flag set.
1995-05-18 13:18:35 +00:00
jkh
9463cc207d Also log all user interactions to debugging log. 1995-05-18 12:57:54 +00:00
jkh
f875b90179 Do more proper bad144 handling. Thanks, Rod. 1995-05-18 10:43:51 +00:00
jkh
80cbe837d7 1. Primitive bad144 support (I believe an additional command is needed, but
won't know until Poul wakes up again).
2. Make vsystem() put its output on the debugging fd.
3. DTRT with root filesystem placement - now I see how this has to work
   (thanks, Poul).
4. Many miscellaneous spelling errors fixed and general cleanup.
1995-05-18 09:02:06 +00:00
jkh
d488b636d8 Use my own version of system() everywhere - it knows where to find the
shell!
1995-05-18 02:42:33 +00:00
jkh
43c1a7190e 1. Set a path to /stand by default.
2. Don't clear() when I can dialog_clear().
1995-05-17 16:16:10 +00:00
jkh
64ca7f75aa Remove the seat-belts from the root partition creation code; for some
reason I'm *always* getting CHUNK_PAST_1024 set now, even when it's
definitely not! :-(  Poul, can you perhaps take a look?  Thanks!
1995-05-17 15:41:52 +00:00
jkh
60bb6ee410 Commit my latest so that Gary can sync up - this version should also
be the grounds for our first round of testing in the release I'm rolling.
It doesn't load the distributions yet, but it should do everything else.
1995-05-17 14:40:00 +00:00
jkh
be9ffca972 This will now compile and even scribble helpfully on your disks.
It remains to be seen how successfully.  The distribution loading code
is still not here yet, but the partition/newfs/mount/cpio-extract cycle
is as complete as it's ever going to get, modulo possible bug fixes.
The TCP/IP setup screen is also sort of here, albeit in a highly-changing
state due to the fact that per-interface information isn't being kept
right now but is being added (thanks, Gary!).
1995-05-16 11:37:27 +00:00
jkh
72922e4575 This does _not yet compile_; I'm simply bringing in my changes from
this weekend in order to more easily sync with my CVS tree at home.
Another commit relative to these changes will follow shortly.
1995-05-16 02:53:31 +00:00
jkh
b81c3965c6 1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and is
getting in the way of testing right now.
2. Call system() on commands, not vsystem().  No need for vsystem() here.
3. Add a path for the shell.
1995-05-11 09:01:35 +00:00
jkh
ddb0a6ab0d Clean this up a bit - add more documentation to the documentation menu. 1995-05-11 06:47:46 +00:00
jkh
9f9a4a5eda First round of changes after testing this on actual systems. Clean up
some of the badly displayed menus, use the proper notification box for
messages, make proceed work.
1995-05-11 06:10:56 +00:00
jkh
98e1f2a792 Don't use curses routines until that part of the system is initialized. 1995-05-10 18:59:51 +00:00
jkh
3db059f37f Sync up to Poul - use his new Create_Chunk_DWIM() function and use the pointer
it passes back.  Thanks, Poul!
1995-05-10 09:25:49 +00:00
jkh
7dba2e32f5 Make sure that mountpoints start with a /. 1995-05-10 08:03:21 +00:00
jkh
4360e4402f Whoops - dispatch() takes multiple args now. 1995-05-10 08:00:47 +00:00
jkh
d55e526443 Fold in all my recent changes.
Do another clean-up pass over this, making the generic menu handler much
more powerful (now handles multiple dispatch).  A few more menus fleshed
out and the beginnings of the distribution handler committed.  Should
be transfering full distributions over in the next commit.
1995-05-10 07:45:00 +00:00
jkh
9a40a4e23a Sync these up so that they'll get into my CVS tree at home, where I'll continue
working on the distribution extract stuff.
1995-05-08 21:39:40 +00:00
jkh
799c257bc0 Whoops! Uncomment Write_Disk() again. 1995-05-08 18:41:37 +00:00
jkh
ea19947057 Perform a much needed tidying-up pass over this code. Sleep for now,
more tomorrow.
1995-05-08 10:20:56 +00:00
jkh
eca559a27d Add the sorted command executor code. 1995-05-08 06:08:27 +00:00
jkh
9fca2a2ac5 Ok, we should now create all filesystems, mount them and extract the
cpio floppy at this point.
1995-05-08 06:06:30 +00:00
jkh
c996afbff2 Implement the geometry command. Clean up the help a little. 1995-05-08 01:27:07 +00:00
jkh
dab744aea3 Add a wizard button for Poul. 1995-05-08 00:56:28 +00:00
jkh
8bd5647a14 Fix a bug in multi-column output. 1995-05-08 00:38:02 +00:00
jkh
1f16e70bc8 Another sync up for Poul. Added a lot more error checking. 1995-05-07 23:37:34 +00:00
jkh
23d6f34f7d Implement a work-around for Create_Chunk providing no pointer to the
new chunk.  The partition editor now works as well as the underlying
libdisk can support it - have at it, Poul!
1995-05-07 22:07:53 +00:00
jkh
98e631ef2d Make this compile again. Poul and I need to sync up again. 1995-05-07 05:58:57 +00:00
jkh
be98037caf Correct a few ordering errors in how the partitions were being displayed. 1995-05-07 03:38:03 +00:00
jkh
99232ce686 Print sizes of partitions now. 1995-05-07 02:04:29 +00:00
jkh
5e8cd7ffb7 Some fairly serious cleanup. The proper offset should now be used in
creating partitions.  Still need to get the mount points displaying carefully,
but I need to get this into my tree on time so that I can work on that.
1995-05-06 09:34:24 +00:00
jkh
719d29513b All the editors are finished. Now if I can just get a problem with libdisk
fixed, we should be able to fully set up the user's disk.  Still to come
with next commit:  filesystem setup, distribution extraction, final
configuration.
1995-05-05 23:47:47 +00:00
jkh
4335701913 Everything but the partition editor is done. This commit is for MBR testing. 1995-05-04 23:36:23 +00:00
jkh
9003bd5f83 This will now write MBR entries - should be enough for testing. 1995-05-04 19:48:19 +00:00
jkh
7323d3d21b My latest round of changes - make the "slices" editor work. 1995-05-04 03:51:22 +00:00
jkh
b93bf98cd3 Commit my latest changes before having a nap. Still not close to done,
nor is it in sync with my working sources, but it leaves me less CVS hassles
to bring in the new files at this time.  Still no documentation to translate
quite yet, but soon.  This stuff is actually very close now.
1995-05-01 21:56:32 +00:00
jkh
863aacdd7d o Add extra menu types (radio implemented, multiple choice shortly).
o Make the framework generally more robust.
o Figured out how to nest the menu descriptions - no more grotty initialization
  of menus.
o Fix bug with helpline and helpfile not being reset.
o Add stubs for the media selection code.

Coming next:  Fdisk and disklabel screens using Phk's new libdisk stuff.
1995-04-29 19:33:06 +00:00
jkh
77c79865c9 Latest raft of changes.
Added another couple of menu item types.

Reshuffled the menus and added a few more.  Sure wish I could figure out
how to initialize a menu with _one_ initializer rather than two! :(
1995-04-27 18:03:55 +00:00
jkh
0579a71a61 Here is my first "framework" commit of the new sysinstall. There is a LOT
more to come in the next 24 hours, this is just the first stable result of
8 hours of hacking so far.  The specification format for menus is pretty
much hammered out and the beginnings (very humble) of the doc hierarchy
are present for an example.  It should be quite easy to add a lot more
menus quickly to this since I did go somewhat out of my way to make the
framework easy to work with.  This is NOT the glorious semi-graphical
sysinstall (or whatever its name will be) that the install-geeks are working
on, this is simply the "son of sysinstall" I've been promising to write in
the interim for 2.0.5 and 2.1R (super install doesn't come until 2.2R).
1995-04-27 12:50:35 +00:00