aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window
Commit message (Collapse)AuthorAgeFilesLines
* Remove window(1) from the base system.Ed Schouten2009-06-02102-16639/+0
| | | | | | | | | | | | | | | | | | Some time ago Tom Rhodes sent me an email that he was willing to perform various cleanups to the window(1) source code. After some discussion, we both decided the best thing to do, was to move window(1) to the ports tree. The application isn't used a lot nowadays, mainly because it has been superseeded by screen, tmux, etc. A couple of hours ago Tom committed window(1) to ports (misc/window), so I'm removing it from the tree. I don't think people will really miss it, but I'm describing the change in UPDATING anyway. Discussed with: trhodes, pav, kib Approved by: re Notes: svn path=/head/; revision=193308
* Include proper header files for system functions that are used andWarner Losh2009-02-1919-0/+21
| | | | | | | | that gcc complains about this code changing from the built-in versions. Notes: svn path=/head/; revision=188828
* ANSIfy the wwend function.Roman Divacky2008-11-181-1/+2
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=185060
* Delete unused files in the window(1) directory that contain a colon.Ed Schouten2008-08-094-38/+0
| | | | | | | | | | | | | | | | During the import of the 4.4BSD Lite sources, four files got added to the repository called :tt, :tty, :var and :ww. They seem to contain some kind of debug information. These files aren't used/installed anywhere. Unfortunately the colons in the filenames prevents us from checking out the source tree on file systems that don't support colons (such as FAT). Just remove these unneeded files to keep SVN happy. Reported by: Rohit Tripathi <rohit trip gmail com> MFC after: 3 days Notes: svn path=/head/; revision=181466
* Fixes for gcc 4.x.Ollivier Robert2005-08-251-15/+11
| | | | | | | | PR: bin/84995 Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Notes: svn path=/head/; revision=149456
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* Remove local malloc prototypes, which are incorrect and conflict withAlexander Kabaev2004-07-284-7/+0
| | | | | | | both GCC builtin and system declared ones. Notes: svn path=/head/; revision=132786
* Deal with double whitespace.Ruslan Ermilov2004-07-031-31/+31
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-111/+230
| | | | Notes: svn path=/head/; revision=131491
* Add FBSDID. Use %ld to printf(3) a long (even if the number is small).Philippe Charnier2004-04-041-3/+6
| | | | Notes: svn path=/head/; revision=127849
* Fix a `cast to pointer from integer of different size' warning.Marcel Moolenaar2003-09-171-1/+1
| | | | | | | | | | usage() has been made a (non-void) function so that it can be used in a pointer expression (see macro `next'). Widen the implied integer return type of usage() so that we can cast to a pointer without warnings. Notes: svn path=/head/; revision=120148
* Remove the only varargs.h consumer in the tree. Use stdarg.h instead.Alexander Kabaev2003-04-151-7/+4
| | | | Notes: svn path=/head/; revision=113525
* The ... utilityPhilippe Charnier2003-03-241-2/+3
| | | | Notes: svn path=/head/; revision=112536
* Use POSIX macros for wait(2)-style status information instead of theMike Barcroft2002-06-031-3/+2
| | | | | | | | deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int confusion. Notes: svn path=/head/; revision=97788
* Use `The .Nm utility'Philippe Charnier2002-04-201-6/+9
| | | | Notes: svn path=/head/; revision=95124
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.Mark Murray2002-02-081-1/+0
| | | | Notes: svn path=/head/; revision=90416
* Fixed bitrot in DPADD in rev.1.8.Bruce Evans2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88674
* Temporarily "protect" this against the coming WARNS=2 default as itMark Murray2001-12-111-0/+1
| | | | | | | | is "hard to fix" (meaning I will come back to fix it if nobody gets there first). Notes: svn path=/head/; revision=87681
* use openpty() instead of rolling a custom function (which didn't supportBill Fumerola2001-09-282-30/+18
| | | | | | | the full range of ptys anyways) Notes: svn path=/head/; revision=84096
* mdoc(7) police:Ruslan Ermilov2001-08-071-4/+4
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.Bruce Evans2001-07-301-3/+0
| | | | Notes: svn path=/head/; revision=80627
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-262-2/+4
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Remove whitespace at EOL.Dima Dorfman2001-07-151-27/+27
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* Fix the rcsid's.David E. O'Brien2001-05-1784-84/+168
| | | | Notes: svn path=/head/; revision=76736
* Include a missing header, and change a mktemp(3), mkdir(2) sequence toEric Melville2001-03-292-2/+2
| | | | | | | | | mkdtemp(3). Approved by: murray Notes: svn path=/head/; revision=75003
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74848
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-2/+3
| | | | Notes: svn path=/head/; revision=70197
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-20/+20
| | | | Notes: svn path=/head/; revision=68963
* string.h has been repo copied to mystring.hDavid E. O'Brien2000-10-302-72/+0
| | | | Notes: svn path=/head/; revision=67940
* While I'm here and got caught by it, add FreeBSD IDs so the next guyDavid E. O'Brien2000-10-2684-6/+84
| | | | | | | won't have trouble committing his bits. Notes: svn path=/head/; revision=67607
* Having a local `string.h' is just asking for trouble. As is having aDavid E. O'Brien2000-10-2613-24/+46
| | | | | | | | `struct string'. Rename the struct and effectively rename the header to `mystring.h' Notes: svn path=/head/; revision=67606
* Use the pathnames from pathnames.h rather than hardcoding them here.David E. O'Brien2000-10-262-2/+5
| | | | | | | Add RCSIDs. Notes: svn path=/head/; revision=67605
* Include sys/types.hBrian Somers2000-10-161-0/+3
| | | | Notes: svn path=/head/; revision=67192
* #include <errno.h> where needed. Kill extern int errno;.Warner Losh2000-04-143-4/+9
| | | | | | | Minor warnings in tip corrected. Notes: svn path=/head/; revision=59217
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Fix the style of my previous commit.Joerg Wunsch1999-03-031-1/+1
| | | | | | | Submitted by: The Style Police[tm] Notes: svn path=/head/; revision=44447
* Increase the vector that's used to look for free pty's. We go throughJoerg Wunsch1999-03-031-1/+1
| | | | | | | | /dev/ttypv right now, but window(1) was only looking up to ttypf, causing an `Out of pseudo-terminals' when i just tried on freefall. Notes: svn path=/head/; revision=44445
* Make window(1) actually work again. It has been broken for quite someJoerg Wunsch1999-03-022-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | time now. For whatever reason, the kernel seems to have generated SIGIOs previously without an initial fcntl(...,F_SETOWN), but does no longer. This caused window(1) to wait indefinitely for input. Also, undo rev 1.3 of wwspawn.c, it was not well-thought, and apparently not even tested at all. The blindly (even in a nonsensical place like the comment on top of the function) applied replacement of vfork() by fork() totally ignored that window(1) *does* abuse the feature of vfork() where a modification of the parent's address space is possible (in this case, to notify the parent of an erred exec*). Also, with vfork(), it is guaranteed that the parent is only woken up after the exec*() happened, where the replacement by fork() made the parent to almost always become runnable again before the child, in which case the parent simply told `subprocess died'. Unfortunately, working around _this_ seems to be a lot more of redesign work compared to little gained value, so i think relying on the specifics of vfork() is the simpler way. Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> Notes: svn path=/head/; revision=44431
* One vfork() changed to fork(); one execl() changed to execv(). TheDag-Erling Smørgrav1998-10-132-4/+8
| | | | | | | | latter isn't actually called as far as I can see since FreeBSD uses termcap and not terminfo. Notes: svn path=/head/; revision=40303
* Use <signal.h> instead of <sys/signal.h>.Doug Rabson1998-08-055-5/+5
| | | | Notes: svn path=/head/; revision=38120
* Define '\t' as a printable character, so it can be displayed on theJoerg Wunsch1998-04-201-1/+1
| | | | | | | | screen. isprint(3) doesn't do this, but isprt() apparently expected this to be the case. Notes: svn path=/head/; revision=35334
* Change a (defaulted) int arg to a long so that a cast from a pointerJohn Birrell1998-02-202-3/+5
| | | | | | | | doesn't throw anything away. I don't want to re-code the app, just port it! Notes: svn path=/head/; revision=33699
* Add #include <string.h> to get prototypes. Note that this programJohn Birrell1998-02-203-3/+6
| | | | | | | also has a local "string.h" which is included too. Notes: svn path=/head/; revision=33698
* Add #include <string.h> to get prototypes.John Birrell1998-02-202-0/+2
| | | | Notes: svn path=/head/; revision=33697
* Add #include <stdlib.h> to get prototypes.John Birrell1998-02-203-0/+3
| | | | Notes: svn path=/head/; revision=33696
* Wait for job to finish and exit if exec fails.Warner Losh1998-01-071-1/+2
| | | | | | | Obtained from: OpenBSD (Theo de Raadt) Notes: svn path=/head/; revision=32296