diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-15 03:57:50 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-15 03:57:50 +0000 |
commit | e2cfd8f2e119529932a7147d437780e6bfea31d8 (patch) | |
tree | e29631ff0b3fd1b26781605d2e641679637f04af /release/sysinstall/user.c | |
parent | bd31923ccfcab594b5b0cc878a8bd624d13bbdf4 (diff) | |
download | FreeBSD-src-e2cfd8f2e119529932a7147d437780e6bfea31d8.zip FreeBSD-src-e2cfd8f2e119529932a7147d437780e6bfea31d8.tar.gz |
Fix several problems:
1. Bus mouse selection didn't show up properly in mouse menu.
2. U&G management screen didn't respect cancel properly.
3. Novice not prompted to add users or set root password during installation.
4. Username length changes screw up user management form.
Diffstat (limited to 'release/sysinstall/user.c')
-rw-r--r-- | release/sysinstall/user.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/sysinstall/user.c b/release/sysinstall/user.c index 7257795..1c17750 100644 --- a/release/sysinstall/user.c +++ b/release/sysinstall/user.c @@ -108,7 +108,7 @@ static Layout groupLayout[] = { /* The user configuration menu. */ static Layout userLayout[] = { #define LAYOUT_UNAME 0 - { 3, 6, UT_NAMESIZE + 4, UT_NAMESIZE, + { 3, 6, UT_NAMESIZE, UT_NAMESIZE + 1, "Login ID:", "The login name of the new user (mandatory)", uname, STRINGOBJ, NULL }, #define LAYOUT_UID 1 @@ -356,7 +356,7 @@ userAddGroup(dialogMenuItem *self) } /* Draw a group entry box */ - draw_box(ds_win, USER_DIALOG_Y + 2, USER_DIALOG_X + 8, USER_DIALOG_HEIGHT - 6, + draw_box(ds_win, USER_DIALOG_Y + 2, USER_DIALOG_X + 8, USER_DIALOG_HEIGHT - 8, USER_DIALOG_WIDTH - 17, dialog_attr, border_attr); wattrset(ds_win, dialog_attr); mvwaddstr(ds_win, USER_DIALOG_Y + 2, USER_DIALOG_X + 22, " Add a new group "); @@ -379,7 +379,7 @@ reenter: } } - if (!verifyGroupSettings()) + if (!cancel && !verifyGroupSettings()) goto reenter; /* Clear this crap off the screen */ @@ -678,7 +678,7 @@ userAddUser(dialogMenuItem *self) } /* Draw a user entry box */ - draw_box(ds_win, USER_DIALOG_Y + 1, USER_DIALOG_X + 3, USER_DIALOG_HEIGHT - 5, + draw_box(ds_win, USER_DIALOG_Y + 1, USER_DIALOG_X + 3, USER_DIALOG_HEIGHT - 6, USER_DIALOG_WIDTH - 6, dialog_attr, border_attr); wattrset(ds_win, dialog_attr); mvwaddstr(ds_win, USER_DIALOG_Y + 1, USER_DIALOG_X + 22, " Add a new user "); @@ -711,7 +711,7 @@ reenter: } } - if (!verifyUserSettings(ds_win)) + if (!cancel && !verifyUserSettings(ds_win)) goto reenter; /* Clear this crap off the screen */ |