Commit Graph

398 Commits

Author SHA1 Message Date
bde
6daa6ad143 Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
wollman
8ba860a43e Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
wollman
071229d225 This commit was generated by cvs2svn to compensate for changes in r4910,
which included commits to RCS files with non-trunk default branches.
1994-12-02 23:23:01 +00:00
wollman
423852d487 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
1e6f21ed41 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
4653de1bed Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
dg
d275f8ea0a In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
ugen
95ff033682 Interface changes to support additions to firewall. 1994-11-28 12:34:37 +00:00
ats
a9a7202573 Submitted by: M.C. Wong
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
1994-11-27 23:52:13 +00:00
ats
cbd4f08537 Correct a litle typo in an error message: PRC -> RPC. 1994-11-26 13:57:46 +00:00
ache
51e5f97e20 Sectors field too narow (6 digits only), increase it to 7 1994-11-24 21:56:03 +00:00
ache
f20c1ee477 Fix draw_box dims 1994-11-24 21:50:26 +00:00
paul
7f8c24f7e0 Added
CLEANFILES += makedevs.c
1994-11-22 13:34:43 +00:00
jkh
f2ae2fd91a ALPHA -> BETA 1994-11-21 07:38:48 +00:00
phk
3aa2d86728 Another absolute path... Two actually. 1994-11-20 23:01:27 +00:00
phk
06ec609c8b Guess what 1994-11-20 22:47:52 +00:00
phk
d547529d58 Whoops. 1994-11-20 22:46:14 +00:00
phk
a0868e0612 I might soon stop to keep count of these... 1994-11-20 22:45:14 +00:00
phk
6b2ffe34b1 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
phk
2fd6a04b7d This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
phk
858d5ee319 fix another BLODDY ABSOLUTE .PATH !!!! :-< 1994-11-20 22:28:09 +00:00
ats
a0e203b83e Add parameters "compress", "normal" and "noicmp" for the slip usage.
These names are used in the slip.hosts file as examples, but ifconfig
have formerly only accepted link0, -link0 and link1 for this.
1994-11-20 19:45:58 +00:00
ugen
037897e61d G-d help me to do it right first time....
Minor patch to man page,test.
1994-11-20 11:53:06 +00:00
phk
fe71460e68 A couple of changes more. Now Paul & Jordan can play again... :-) 1994-11-20 00:49:21 +00:00
phk
683f53703c Changes to match Pauls code. Had to "globalize" the variables for the
mountpoints.
1994-11-19 23:59:03 +00:00
paul
a7b6a58b5e Changed the MBR partition type field from being a string to
a decimal value.

I don't have the time to deal with users typing in partition names
such as "FreeBSD" at the moment so just allow the numerical id to be
specified for the moment.
1994-11-19 18:23:08 +00:00
nate
9d65673548 NetBSD -> FreeBSD
(Poul, bring this into 2.0 please)
1994-11-19 17:55:35 +00:00
paul
48f49dd446 Implemented buttons for all the screens.
Could do with some cosmetic tuning regarding placement and things.

Fixed some dialog code (from Andrew).
Pass mountpoints onto stage2 in a struct fstab *mounts[]
Fix all the field connections to conform to the new L&F document.
1994-11-19 17:29:19 +00:00
paul
2ce8cdd423 I hope this gets my changes merged back into the current branch.
Removed a layer of menus.
Auto select partition to install into -- first FreeBSD partition
in MBR table. Abort if no FreeBSD partition.
Added a F_BUTTON type.
Fixed up label editor to show free space properly.
Fixed a few bugs.
1994-11-19 05:20:13 +00:00
ache
e91c6e8447 Insert newline into too long line 1994-11-19 00:17:55 +00:00
ache
2296fbf3d1 Fix more dialog bugs and core dumps introduced by previous commiter 1994-11-19 00:09:00 +00:00
ache
cd3dae469c Fix dialog things broken by previous commiter 1994-11-18 23:34:05 +00:00
ache
808f6ba39d Nuke edit_line crawled in again. Change all occurances to line_edit. 1994-11-18 22:21:57 +00:00
paul
e9a118a247 Update the in-core disklabel when we change the on-disk version.
Fix up the editor links for the disklabel editor.
Correct the display of fields when they're longer than the
viewable length.
1994-11-18 19:29:01 +00:00
paul
a5d066a3e5 New files that the last commit missed. 1994-11-18 18:24:00 +00:00
paul
a143a510a2 Merge in my new mbr and disklabel code. 1994-11-18 18:13:13 +00:00
phk
22dafaa67b Add a "write Bootcode" option to the Fdisk editor.
unzip sysinstall on the way to the hd.
1994-11-18 11:30:04 +00:00
jkh
1bed9ee27c Give the user a chance to retry the cpio floppy. 1994-11-18 10:12:56 +00:00
ache
bfad253e52 Remove edit_line(), use line_edit() libdialog function instead in all places 1994-11-18 01:16:58 +00:00
ache
347926efdd Use dialog_clear_norefresh() if possible 1994-11-17 23:36:49 +00:00
ache
1009cfb08b Use -1, -1 where is possible 1994-11-17 19:44:55 +00:00
jkh
0f848bf8f7 Rethink the cpio floppy verify a little. Don't use a magic cookie,
check for bininst instead (see comments in release/Makefile).
1994-11-17 14:18:43 +00:00
jkh
a33713ec28 1. Add check to see if CPIO floppy extracted properly.
2. See if swapon() failed and at least print a diagnostic.
3. Use -1 instead of strheight()/strwidth() everywhere.

Reviewed by:
Submitted by:
Obtained from:
1994-11-17 14:12:38 +00:00
jkh
6ac94c818d New man pages from Ugen. Delete my old, first attempt. I only hope
that the english in Ugen's two replacement pages is not too impenetrable! :-)
[Note:  Poul - please pull these into the BETA branch along with the
other firewall changes]

Submitted by:	ugen
1994-11-17 09:50:30 +00:00
gibbs
097f97aa66 Make newlfs work by adding the MAXSYMLINKLEN and a byte padding to
struct lfs.

sovs@diku.dk:
The pad2 field in struct lfs is a kludge. You
need it because the raw devices has to be written in DEV_BSIZE. The
lfs_maxsymlinklen is needed because the tells the UFS code that we
want to use 4.4BSD directory layout insted of FreeBSD 1.1.5.

Reviewed by: Justin Gibbs
Submitted by: sovs@diku.dk
1994-11-17 01:38:30 +00:00
ache
8bf7a8db5f Remove str{width,height} functions, they are in libdialog now.
It is only first hook for new autosizing changes, more changes
will follow.
1994-11-16 14:42:22 +00:00
jkh
78bb5a3f4e Latest from Ugen J.S.Antsilevich" <ugen@NetVision.net.il>. Poul, please
take this into BETA.
Submitted by:	ugen
1994-11-16 10:18:18 +00:00
ache
b0aa038fc5 Use autodetected dimensions in Sorry! window 1994-11-15 12:17:42 +00:00
ache
5433933d5e Use TellEm instead of dialog_msgbox 1994-11-15 12:15:51 +00:00
ache
e6775b1095 Check exit code of the dialer, from asa@gw.cronyx.msk.su
Set HUPCL as default modem flag, idea from asa@gw.cronyx.msk.su
but different implementation.
1994-11-14 20:17:36 +00:00
jkh
6f8adb8f9c I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
jkh
e1be81e561 Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
jkh
8d668f0871 Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
jkh
63bb8f0e14 Add hooks for a short trouble shooting document. 1994-11-12 20:34:18 +00:00
phk
49450190c2 Don't continue if we don't get a /, swap and a /usr or 80Mb in /. 1994-11-12 05:40:28 +00:00
jkh
5e4a31c04e Make sysinstall deal with user interrupts properly. 1994-11-11 23:22:56 +00:00
jkh
d6085203e7 1. Ask the user one final time before newfs'ing his disk into oblivion.
This means that even "proceed" can be chosen now without going
   irrevokably down that path.
2. Clean up the stage5 text.
1994-11-11 07:58:09 +00:00
jkh
07ef1fa4e4 Poul's and my idea of avoiding the last reboot at the end was
too ambitious; we can't make the transiton from install to /sbin/init
without another reboot.  Sigh..  Oh well, not that big a deal.
1994-11-08 18:44:14 +00:00
jkh
db706c3807 Detect that bininst has finished and go straight into the new system.
Reviewed by: phk
1994-11-08 14:04:19 +00:00
phk
3c0967bcfb swapon had a bug. Thanks Michael, but couldn't you told me and not Jordan ?
now I have to listen to him all morning teasing me...
1994-11-08 13:40:01 +00:00
jkh
41016fc898 More 12th hour fixes from Ugen.
Submitted by:	ugen
1994-11-08 12:48:02 +00:00
phk
b7b14f673b Remember to set the d_type field correctly 1994-11-08 11:51:44 +00:00
jkh
c6996e5e89 Change TITLE to something more rational. Make sysinstall.c use it instead
of its own hardcoded constant.
1994-11-08 11:44:04 +00:00
phk
feab6b7e57 Always say the magic word at the end. 1994-11-08 10:14:19 +00:00
jkh
1021e84a03 Change Fatals to Warnings. 1994-11-08 07:44:57 +00:00
jkh
25d93b1f8a Fixup:
1. Don't use kernel name for headers - I'm running 2.0.1-Development,
   not ALPHA, and this messes things up.
2. The last dialog was too big, make it a little smaller.  Just cosmetic,
   while I'm in here.
1994-11-08 03:41:52 +00:00
jkh
5a82a8a315 My last cosmetic changes. 1994-11-07 13:48:54 +00:00
jkh
ec153ececa Cosmetic. 1994-11-07 09:49:06 +00:00
phk
6cfefc90fc Always clear before we "TellEm()" 1994-11-07 04:53:23 +00:00
phk
18f146fbfb Only Mount relative to Written disklabel. 1994-11-07 00:41:38 +00:00
phk
015897edf1 Never have more than one active partition. 1994-11-06 23:33:20 +00:00
ache
15d2b8ac8b After fixing curses bugs use LINExCOLS in show file 1994-11-06 15:35:50 +00:00
jkh
128ec6d30d If a file is not present, it's not an error. This means you're using the
1.2MB floppy image.
1994-11-06 11:09:18 +00:00
phk
9c8eb2fa94 remember to tell dialog that we leave. 1994-11-06 04:34:46 +00:00
jkh
9826031d6e Retreat from the idea of using gzip'd ascii files. 1994-11-06 04:10:13 +00:00
phk
3ef2885524 label.c Make sure we always show 8 disk-partitions.
main.c	sanitize the logic of what we do when:

if(getpid()!=1) do stage0 & stage1  (very useful actually)
else if (floppy-marker-file is there) stage0-2, reboot
else stage3-5
1994-11-06 04:05:45 +00:00
jkh
3965da5ea7 Sigh. My error message printing was still wrong. Wipe the sleep from
my eyes and do this properly (debugging is especially difficult when you have
to burn a floppy every time you want to test your changes! :-( ).
1994-11-06 02:24:45 +00:00
jkh
35709ad29c Don't use a shell, silly, we don't have one! 1994-11-06 01:34:14 +00:00
jkh
27e44af7e3 Tweak tweak.. 1994-11-06 01:16:30 +00:00
jkh
76660390f8 I misunderstood dialog_prgbox() - fix it. 1994-11-05 23:56:40 +00:00
jkh
6c44cd0fa2 Make ShowFile() now show gzip'd text files. This should save a fair
bit of space on the install floppy.  Modify stage0 and the target names
accordingly.
1994-11-05 23:12:10 +00:00
ache
31978f5fe4 Enable back dialog_msgbox in TellEm, real problem was delwin
into edit_line
1994-11-05 23:09:26 +00:00
jkh
ed114936b0 Whoops! Knew I forgot something.. Bump the menu size. 1994-11-05 08:20:54 +00:00
jkh
53fbd66347 Add a chance to read the release notes, too. 1994-11-05 08:20:08 +00:00
jkh
22afc8fbda I'm not sure if we're just supposed to fall off the end like this,
but at least return something.
1994-11-05 07:34:02 +00:00
jkh
5550c6f22d Make stage5 go either to a shell, or on to the bindist installation. 1994-11-05 07:23:58 +00:00
jkh
36bd0237cb Make this work the way it was really supposed to - less intrusively. 1994-11-05 07:03:55 +00:00
phk
84d2b413c0 Use /DISKSPACE.FAQ as help-file in the disk-editor. 1994-11-05 06:03:06 +00:00
jkh
e7f557e1ce Change the logic for how error messages are printed so we can actually
see them.
1994-11-05 05:46:12 +00:00
phk
c147e7b043 Cosmetics: edit_line() does standend() when done; 1994-11-05 03:59:34 +00:00
phk
a50a870316 Added a (H)elp function to the fdisk/disklabel code, much needed, now I only
have to write the text-file it will dump on you.
Stopped using cleartoeol in AskEm(), just as a test to see if the screen
looks more sane.
Added a attempted auto-recognition of /, swap and /usr for the first disk
where it looks sensible.  Logic of this might need to be improved.
Made a "ShowFile()" which will not bomb/ignore you if the file isn't there.
1994-11-05 03:34:22 +00:00
phk
f552d8c27e Fixed a ghastly mistake. Edit_line() would "delwin(window)". Bad move
buddy, you'd better not call with stdwin then!   fixed now.
Seems like dialog is a LOT more rational now.
1994-11-05 03:13:33 +00:00
phk
59e847221d Fix a potential bug in stage2.
disable the dialog_msgbox in TellEm(), until we find out why it
hangs on second or third invocation.
1994-11-04 21:38:37 +00:00
dg
68629cf45a From njw@cs.city.ac.uk (Nick Williams):
/sbin/umount does not return the correct exit status due to incorrect
logic in its internals.

Further, because of the nature of the code, you *cannot* use it to
umount a directory from a union mountpoint. Well, you can sometimes,
it depends on if the directory is at the top of the union stack or not :)

Submitted by:	njw@cs.city.ac.uk (Nick Williams)
1994-11-04 17:51:37 +00:00
ache
25f8152cc1 -i case goes to background pause and acts like -a case on receiving
SIGTERM. This helps to keep CMOS clock updated before reboot.
Idea from J.Wunsch.
1994-11-03 03:16:16 +00:00
ache
59192b5d77 Restore jkh's changes, now it works for const strings 1994-11-03 00:30:27 +00:00
ache
7e1fe0352f Now autosizing code works with const strings too.
Prototype added.
1994-11-03 00:28:05 +00:00
jkh
6dba721269 Don't use autosizing code after all - it doesn't like const strings. 1994-11-02 22:39:57 +00:00
phk
9fb2768520 a missing star. 1994-11-02 22:06:24 +00:00
jkh
a00b05c580 Last changes before going to bed. Disk label editor should now work
a fair bit better.
1994-11-02 11:00:35 +00:00
ache
d9244963cc Restore back -i, -a 1994-11-02 10:04:11 +00:00
ache
4f370d253c Restore back -i, -a 1994-11-02 09:40:06 +00:00
jkh
affa14b605 Stage0 can't dump you into a shell. There isn't one. Just reboot.
Stage5 didn't have a large enough dialog box.  Fix that.  Also use
Andrew's autosizing code.
1994-11-02 09:05:49 +00:00
phk
2584bf5a50 Make MkDir() actually do "mkdir -p", so that we can mount on /home/foo, even if
/home isn't a mountpoint.
1994-11-02 08:52:15 +00:00
jkh
42861ec6c3 Fix more mongoloid coding style.
Make a stab at getting free space display to work.
Forward decls to shut compiler warnings up.
Increase some fields to width 2 in order to get edit_line to let you
actually edit them.
Sanity check values and yell at bonehead users.
1994-11-02 08:15:46 +00:00
ache
80107c21b2 Restore things broken by phk, please use patches to 'cvs update'
instead of whole files commiting!
1994-11-02 07:37:40 +00:00
ache
2fb916de4b Restore things broken by phk, please use patches on 'cvs update'
instead of whole files!
1994-11-02 07:34:01 +00:00
jkh
c34f3a4657 More miscellaneous changes. Clear the screen in some appropriate spots. 1994-11-02 07:15:56 +00:00
jkh
75dd6b40db Get stage0 and stage5 working.
Try to reformat this code to be a little more human.  Weird europeans
have been writing this, and can't even seem to agree a single coding
style for more than 4 consecutive lines! :-)
1994-11-02 06:19:53 +00:00
wollman
98584b9f82 Add support for filesystem-specific `-o' options, and re-implement the
most common cd9660 and nfs options like God intended them.  (It is now
possible to say

	mount -o ro,soft,bg,intr there:/foo/bar /foo/bar

again.)  This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3).  Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.

(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)
1994-11-01 23:51:53 +00:00
ache
224a7209c0 Remove options, run adjkerntz as daemon now 1994-11-01 16:22:22 +00:00
phk
e391c34ea4 Public apology:
I have walked all over Paul Richards code again, and severely lobotomized
some of his stuff, in order to cut some corners for the 2.0-Alpha release.
I belive that we can now manipulate fdisk and disklabel-stuff sufficiently
for the release to actually be produced.
It's not that I don't like Paul and his code, I just need something I
can kick out of the door RSN.

Sysinstall is now under absolute code-freeze, only Jordan has my permission
to commit to this code (stage0 & 5).  I would appreciate if everybody
else would finds problems in sysinstall send patches to me, and I will
commit them. THANKYOU.

The fdisk/disklabel editors are made in pure ncurses, and follow a model
"a`la spreadsheet".

There are some important functions which are missing still, and I would
appreciate if somebody would look at them.
The FDISK part needs a "whole-disk" option, and it needs a "rewrite
MBR-boot code" option.
The DISKLABEL part needs to be able to "import DOS-partition".
Both need a "HELP" function, (display a file "/HELP" using dialog is OK).

It seems to me like the wd.c and sd.c should reread the physical record
when a DIOCGDINFO is made, so that they can pick up changes in the
MBR-data.  Otherwise there will be a couple of weird cases where we
cannot avoid replicating code from the kernel.

If you want to play with this, look at src/release/Makefile.  You may need
to step back to version 1.38 of sys/i386/isa/fd.c to make "rootable"
floppies, it is not clear at this time if that indeed is the problem I
have been having.

Sleep well, my friends, and expect the real Alpha in 24H, if the tree is
still solid.
1994-11-01 10:10:43 +00:00
ache
133682c900 Remove extra :%s from syslog formats 1994-11-01 08:34:32 +00:00
ache
a2d7fb4596 Now:
adjkerntz -i writes kernel clock only, don't touch RTC clock
adjkerntz -a writes RTC clock only, don't touch kernel clock
1994-11-01 06:20:52 +00:00
jkh
89ef070565 Latest changes from Uben.
Submitted by:	uben
1994-10-31 23:58:04 +00:00
ache
8c4e4ab40c Don't make too big windows, count actually text width/height 1994-10-31 04:49:15 +00:00
ache
79262b9907 Change hardcoded 24x80 to LINES-1, COLS
Remove compiler warning
1994-10-31 04:07:43 +00:00
joerg
d9ece1ef04 Fixed a type. 1994-10-30 18:23:22 +00:00
pst
00c9120b02 add md5 1994-10-29 23:58:55 +00:00
pst
70e126010a This commit was generated by cvs2svn to compensate for changes in r3995,
which included commits to RCS files with non-trunk default branches.
1994-10-29 23:58:02 +00:00
pst
51b49316ee Incorproate version of md5 placed into public domain by RSA. 1994-10-29 23:58:02 +00:00
phk
3053743aee Fixed another bunch of problems. I belive we are in a working shape now. 1994-10-29 12:03:59 +00:00
phk
d4bf38900c Fixed to make sysinstall work again. Notable changes:
Removed a dialog_clear() which somebody aimlessly had slammed into TellEm()
in absence of any understanding of the structure of this program. :-(

Skip through stage0 for now.

Make write_bootblocks write the disklabel using the kernel-call, and forget
about the boot-blocks for now.  This is wrong, but I havn't found the real
problem yet.  I will continue work on this problem.

Added a Debug-feature.  There is a printf' like Debug() now which sends its
output to ttyv1 (Alt-F2), and all "discarded output" from sub-processes end
up there too.  Made TellEm() put it's messages there also, so that we can
see where what happens.

Set the PATH for the shell we shouldn't start at the end :-)

set "npartitions" after the disklabel-editor returns, so that we actually
can edit all the 8 parts of the label.
1994-10-29 10:01:40 +00:00
jkh
10a7840a1b Add ipfw. 1994-10-29 08:22:13 +00:00
joerg
64cdb7f637 Fixed an evil bug where rawname() could write across the boundaries of
an array. The bug became obvious in the old system where the array was only
32 characters long (now MAXPATHLEN). Dump honored its name then (:-)
and dumped its core when calling dump -w for a fstab that contained rather long
NFS file system names. Even though this is rather unlikely to happen now,
a bug is a bug:)
1994-10-28 17:26:27 +00:00
jkh
5384c767d7 Totally refrobnicate stage0. Add an extern to sysinstall.h so we can
all share the same `selection' variable.
1994-10-28 15:19:57 +00:00
jkh
2d9e0b68de Fix up the man page a little more, delete the README that crept in
(but I'm actually just as happy to have in the attic, for reference).
1994-10-28 15:12:22 +00:00
jkh
75284d9008 This commit was generated by cvs2svn to compensate for changes in r3965,
which included commits to RCS files with non-trunk default branches.
1994-10-28 15:06:53 +00:00
jkh
8f38a9e26e Add the ipfw command, for IP firewall construction.
Submitted by:	danny ugen
1994-10-28 15:06:53 +00:00
jkh
cb82096387 Add the ipfw command, for IP firewall construction.
Submitted by:	danny ugen
1994-10-28 15:06:53 +00:00
phk
6e0d8cab14 Added two #defines to make this compile, until Paul gets out of bed again :-) 1994-10-28 03:02:47 +00:00
jkh
ce6e9e5a88 Correct a little spelling. 1994-10-26 10:33:36 +00:00
paul
16a785f0d1 Clean up the mess from the previous commit which used a out of sync
patch file.

Now, we should be able to configure disklabels using the editor.
1994-10-26 07:34:38 +00:00
paul
00a46bee86 Added some glue code so disklabel editor can be used to edit disklabel
and have changes propagated to later stages.
1994-10-26 07:14:51 +00:00
phk
55d5a381e4 So there. Now we live on the hard-disk! 1994-10-26 05:41:02 +00:00
paul
1c1a01a242 Completed disklabel configuration editor. The editor is working but the
glue code to pass the edited configuration onto the following stages
isn't done yet.
1994-10-26 04:09:19 +00:00
phk
2ae71d4f8c New and Improved! crunch with gzip, newfs, fsck and cpio. gzip result.
fits on 1200 kb floppy with unstripped GENERIC kernel.
1994-10-26 02:53:15 +00:00
ache
3ffd223439 Sync with termcap.src 1994-10-26 02:20:47 +00:00
ache
3c47008e93 Sync with termcap.src 1994-10-26 01:20:11 +00:00
ache
59adcb0482 Remove unneeded dialog_update() because now in dialog_clear() 1994-10-25 22:23:18 +00:00
bde
8b3dde5352 Don't write outside of partp[] if the user gives an invalid partition
number for the partition to be made active.  Do nothing instead.  This
allows clearing all the active flags by specifying an invalid partition.
1994-10-25 17:46:53 +00:00
ache
7f2d1d0726 Use configurable dialog attributes instead of hard-coded ones 1994-10-24 05:16:00 +00:00
ache
c9b8b8c1a7 label.c: add delwin(window)
mbr.c: use proper dims for newwin, add shadow
both: add ' ' and ESC as valid end-keys
1994-10-24 04:14:23 +00:00
ache
8013f46cd7 Use proper dims for newwin.
Remove double-clear.
Add shadow.
1994-10-24 04:07:22 +00:00
ache
b0ffecf00b Clear screen on exit per Paul request 1994-10-24 03:55:25 +00:00
paul
e4a1b28eb2 Remove a couple of display_disklabel call used
for debuging.
Reviewed by:
Submitted by:
Obtained from:
1994-10-24 03:33:29 +00:00
paul
e661ae2fa9 Round partitions to the next whole cylinder.
Fill in devicename and mountpoint structures from default_disklabel()
so stage2 code knows what to do.
New file label.c for disklabel editing code.
1994-10-24 03:30:56 +00:00
sef
be1a95d225 Reviewed by: jkh
Print out summary information on receipt of SIGINFO; also, stop the
kernel printing of information and restore it on exit.  Now, it needs
an option to be quiet. ;)
1994-10-22 17:30:35 +00:00
ache
b06ffefae2 Fatal() fixed:
end_dialog() called too early here.
1994-10-22 02:37:24 +00:00
ache
efa820b483 Cosmetique: just fix tabs after patch of diff -cb (previous) 1994-10-22 02:35:09 +00:00