Commit Graph

207 Commits

Author SHA1 Message Date
jkh
3474ee3930 Include serial ports as possible network candidates. 1995-05-19 02:31:13 +00:00
jkh
95b8922f53 Big Sigh. Both A_BOLD and A_UNDERLINE do not appear to work with
syscons (and/or cons25) at all.  This code looked just fine running
on an xterm, but on a console the attributes are all wrong.  I
now have to sacrifice some screen real-estate to pring cheesy
`-' characters to accomplish the same thing.
1995-05-19 02:19:15 +00:00
jkh
5c6fcce5c2 Switch to bold on the header line - the A_UNDERLINE handling appears to be
broken in syscons, or at least in the cons25 termcap entry! :-(  A_BOLD
won't show up on monochrome adapters (I don't think) but they'd be screwed
anyway since I don't have an attribute to use for them now at all.
1995-05-19 02:09:02 +00:00
gpalmer
9634e811b6 You want to be in /mnt when extracting the cpio floppy, not in the read
only root filesystem.....
1995-05-19 01:49:57 +00:00
gpalmer
eb85b80929 Sigh. Add a ++ which was causing the newfs'ing of non-root filesystems to
fail :-(
1995-05-18 23:36:21 +00:00
phk
5a84a7196c Run bad144 on raw-devs. 1995-05-18 22:00:01 +00:00
phk
d87b1b6d5c A couple of tweaks to make bad144 scan run. 1995-05-18 21:58:33 +00:00
jkh
707c9337bf Use raw devices for newfs.
Write and wizard mode only on enabled disks.
1995-05-18 18:02:31 +00:00
jkh
0df3b98233 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
872bdece6f Use CHUNK_BSD_COMPAT as God and Poul intended it be used. 1995-05-18 17:38:02 +00:00
jkh
597d6551d6 Fix quoting error. 1995-05-18 16:57:52 +00:00
jkh
136393f06e I had the arguments to Mount() backwards. Argh. 1995-05-18 16:53:53 +00:00
jkh
62bd3f544c Clear the screen after changing the font. 1995-05-18 15:58:32 +00:00
jkh
4d55a4a594 Whoops! I forgot how uudecode works.. Make it really work here. 1995-05-18 15:46:18 +00:00
jkh
05d53ab3a7 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
a2aa8e6d93 Add some more debugging information and fix a few missing newlines. 1995-05-18 14:11:16 +00:00
jkh
f160d22a6d Fix a very embarassing typo. No wonder this thing was looping! :-) 1995-05-18 13:20:53 +00:00
jkh
9e3b536da9 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
4e5ffffc8b Also log all user interactions to debugging log. 1995-05-18 12:57:54 +00:00
jkh
0a62eb4cbf Do more proper bad144 handling. Thanks, Rod. 1995-05-18 10:43:51 +00:00
jkh
15a6450836 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
2831e6ec61 Use my own version of system() everywhere - it knows where to find the
shell!
1995-05-18 02:42:33 +00:00
jkh
ba4ac01f69 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
1e842985cb 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
51db685ce5 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
56016c7548 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
78baa7daa2 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
fa40b84c68 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
2def66e1a6 Clean this up a bit - add more documentation to the documentation menu. 1995-05-11 06:47:46 +00:00
jkh
7ed2702c50 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
ebad582198 Don't use curses routines until that part of the system is initialized. 1995-05-10 18:59:51 +00:00
jkh
b4f525b153 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
266775d746 Make sure that mountpoints start with a /. 1995-05-10 08:03:21 +00:00
jkh
d1521f1667 Whoops - dispatch() takes multiple args now. 1995-05-10 08:00:47 +00:00
jkh
2bc42149ba 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
1aa6f0255a 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
cf830239e3 Whoops! Uncomment Write_Disk() again. 1995-05-08 18:41:37 +00:00
jkh
46ed9b1d82 Perform a much needed tidying-up pass over this code. Sleep for now,
more tomorrow.
1995-05-08 10:20:56 +00:00
jkh
845a4c055a Add the sorted command executor code. 1995-05-08 06:08:27 +00:00
jkh
7440d1ae5c 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
f8629aa1a3 Implement the geometry command. Clean up the help a little. 1995-05-08 01:27:07 +00:00
jkh
be72875c5f Add a wizard button for Poul. 1995-05-08 00:56:28 +00:00
jkh
16a0ad9d11 Fix a bug in multi-column output. 1995-05-08 00:38:02 +00:00
jkh
01c872638f Another sync up for Poul. Added a lot more error checking. 1995-05-07 23:37:34 +00:00
jkh
94f877197c 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
618d4ca72b Make this compile again. Poul and I need to sync up again. 1995-05-07 05:58:57 +00:00
jkh
c1b5993cf8 Correct a few ordering errors in how the partitions were being displayed. 1995-05-07 03:38:03 +00:00
jkh
c4a6192603 Print sizes of partitions now. 1995-05-07 02:04:29 +00:00
jkh
370e7434c7 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
5d77b2037b 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
f087fb199f Everything but the partition editor is done. This commit is for MBR testing. 1995-05-04 23:36:23 +00:00
jkh
1c3e871d62 This will now write MBR entries - should be enough for testing. 1995-05-04 19:48:19 +00:00
jkh
d07e8dc78c My latest round of changes - make the "slices" editor work. 1995-05-04 03:51:22 +00:00
jkh
e3598880e3 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
fe13bd0b5e 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
3fd1641f11 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
6f2f81d9e4 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