summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
Commit message (Collapse)AuthorAgeFilesLines
* Replace sade the extracted piece of sysinstall with sade the extractednwhitehorn2012-12-3021-6360/+0
| | | | | | | | piece of bsdinstall (although this time with a symlink instead of duplicated source code). Discussed on: freebsd-geom MFC after: 3 months
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+2
| | | | | | | error: variable 'fd' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-6/+6
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* Spelling fixes for usr.sbin/uqs2011-12-301-8/+8
|
* Forgot to add usr.sbin/sade/label.c in the previous commit.dim2011-12-181-1/+1
| | | | MFC after: 1 week
* In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warningsdim2011-12-181-2/+2
| | | | | | about format strings not being literals. MFC after: 1 week
* Fix dialog autosizing: dlg_count_columns() does not handle NL characters.fjoe2011-12-011-4/+21
|
* Remove DEBUG_FLAGS.fjoe2011-11-251-1/+0
|
* Port to new libdialog.fjoe2011-11-2412-355/+353
|
* Disk selection dialog is now a normal menu, not a checkboxed menu:fjoe2011-11-246-350/+215
| | | | | checkboxed menu is confusing and also can not be implemented in new libdialog.
* Remove unused code.fjoe2011-11-242-162/+1
|
* Remove unused code.fjoe2011-11-243-341/+1
|
* Remove unused functions.fjoe2011-11-232-109/+0
|
* - Remove unused old libdialog includesfjoe2011-11-232-185/+0
| | | | - Remove unused functions
* Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-121-3/+3
| | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* MFtbemd:imp2010-08-231-1/+1
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Remove the reference to DD mode, and replace with Expert mode. Also, makebrucec2010-04-212-16/+14
| | | | | | | | | | | | sure the "Q = Finish" text is visible. Reword the boot manager screen to try and avoid confusion, and make the order of the menu items match that in sysinstall. PR: bin/142916 Submitted by: Jeremy Chadwick <freebsd at jdc.parodius.com> Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week
* Convert syscons on i386 to TERM=xterm.ed2009-11-131-5/+1
| | | | | TEKEN_XTERM is now gone. Because we always use xterm mode now, we only need a TEKEN_CONS25 switch to go back to cons25.
* Switch the default terminal emulation style to xterm for most platforms.ed2009-11-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are: - Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8. Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver. I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator. IMPORTANT: What to do if things go wrong (i.e. graphical artifacts): - Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default. Discussed on: current@
* Oops, missed removing an 's' in previous rev.kensmith2008-12-301-1/+1
| | | | Submitted by: Jens Schweikhardt (schweikh <at> schweikhardt <dot> net)
* Clean up this message a little bit.kensmith2008-12-301-4/+3
|
* Sound less scary about errorousous disk geometry due to wanting to limitobrien2008-12-301-33/+60
| | | | | | to 65535 cylinders. Submitted by: Carlos A. M. dos Santos <unixmania@gmail.com>
* Move sysinstall/sade away from TIOCGSIZE.ed2008-05-231-4/+4
| | | | | | | | | Both sysinstall and sade still seem to use the TIOCGSIZE ioctl to obtain the terminal dimensions. We'd better use TIOCGWINSZ to do this. The TIOCGWINSZ interface is preferred, because it also allows sizes in pixels to be passed to the application (though this is not used here). Approved by: philip (mentor)
* Better to just statically set the name vs. determine at run time.obrien2008-05-116-6/+8
|
* Clean up several instances of SADE calling itself sysinstall.obrien2008-05-115-10/+12
| | | | (do so generically so the same set of changes can be applied to sysinstall)
* o Change the warning dialog for the 'W' command in both the labelmtm2008-05-052-14/+8
| | | | | | | | | and partition editors to reflect the fact that this is a stand-alone application, not sysinstall(8). o Change an instance of sade(8) refering to itself as sysinstall(8) in a confirmation dialog. MFC after: 1 week
* sade(8) does not need FTP I/O.delphij2008-05-031-2/+2
|
* Adjust HISTORY.obrien2007-10-121-1/+1
|
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-042-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
* Back out all POSIXified *env() changes.ache2007-05-012-2/+2
| | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
* Preparing for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow const as putenv() arg, dup it
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow putenv() arg be on the stack, use strdup()
* Use sizeof() for calculating the buffer size instead of hard-coded values.kevlo2007-03-061-1/+1
|
* Revise markup.ru2006-09-301-10/+16
|
* Remove the keymap stuff too, it is not needed in sade.netchild2006-08-094-152/+2
|
* Get rid of the rtermcap stuff (embedding termcaps into the program). Thisnetchild2006-08-095-119/+5
| | | | | | | is needed in sysinstall on boot, but not in sade on a fully working system. After this change I noticed no change in behavior on a vty when TERM is not set.
* Bump WARNS level to 3.delphij2006-08-091-0/+1
| | | | Tested with: make universe
* Unbreak sparc64 build.delphij2006-08-091-3/+3
| | | | Reported by: tinderbox
* Fix PC98 build.delphij2006-08-091-1/+1
| | | | Spotted by: make universe
* Partitions are only meaningful for i386 and amd64 architectures, so disabledelphij2006-08-085-45/+8
| | | | these code on other architectures.
* Make sade(8) WARNS=3 clean.delphij2006-08-0814-221/+55
|
* Typo (favour -> favor).delphij2006-08-081-1/+1
|
* Shutdown curses when exit. While I am there, remove a staledelphij2006-08-081-1/+4
| | | | comment which does not apply to sade(8).
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵netchild2006-08-0723-6355/+131
| | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu
* Forced commit to note repo copy from sysinstall.netchild2006-08-071-0/+1
| | | | Repo copy by: markm
* Alpha doesn't support linux ABI compat now.jhb2006-05-101-1/+1
|
* Document sysinstall's limitation on operating on mounted disks.scottl2006-04-301-0/+11
|
* Fix minimal installation check. 'X' was not displayed when it was selected.jkim2006-04-141-1/+1
| | | | | Reported by: Ian J. Hart <ianjhart at ntlworld dot com> Pieter de Goeje <pieter at degoeje dot nl>
* Teach sysinstall about mfi(4).scottl2006-03-291-0/+1
|
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-241-0/+1
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
OpenPOWER on IntegriCloud