summaryrefslogtreecommitdiff
path: root/usr.bin/window
AgeCommit message (Collapse)Author
2009-06-02Remove window(1) from the base system.Ed Schouten
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
2009-02-19Include proper header files for system functions that are used andWarner Losh
that gcc complains about this code changing from the built-in versions. Notes: svn path=/head/; revision=188828
2008-11-18ANSIfy the wwend function.Roman Divacky
Approved by: kib (mentor) Notes: svn path=/head/; revision=185060
2008-08-09Delete unused files in the window(1) directory that contain a colon.Ed Schouten
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
2005-08-25Fixes for gcc 4.x.Ollivier Robert
PR: bin/84995 Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Notes: svn path=/head/; revision=149456
2005-02-13Expand *n't contractions.Ruslan Ermilov
Notes: svn path=/head/; revision=141846
2005-01-18Sort sections.Ruslan Ermilov
Notes: svn path=/head/; revision=140420
2004-07-28Remove local malloc prototypes, which are incorrect and conflict withAlexander Kabaev
both GCC builtin and system declared ones. Notes: svn path=/head/; revision=132786
2004-07-03Deal with double whitespace.Ruslan Ermilov
Notes: svn path=/head/; revision=131507
2004-07-02Mechanically kill hard sentence breaks.Ruslan Ermilov
Notes: svn path=/head/; revision=131491
2004-04-04Add FBSDID. Use %ld to printf(3) a long (even if the number is small).Philippe Charnier
Notes: svn path=/head/; revision=127849
2003-09-17Fix a `cast to pointer from integer of different size' warning.Marcel Moolenaar
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
2003-04-15Remove the only varargs.h consumer in the tree. Use stdarg.h instead.Alexander Kabaev
Notes: svn path=/head/; revision=113525
2003-03-24The ... utilityPhilippe Charnier
Notes: svn path=/head/; revision=112536
2002-06-03Use POSIX macros for wait(2)-style status information instead of theMike Barcroft
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int confusion. Notes: svn path=/head/; revision=97788
2002-04-20Use `The .Nm utility'Philippe Charnier
Notes: svn path=/head/; revision=95124
2002-02-08Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.Mark Murray
Notes: svn path=/head/; revision=90416
2001-12-29Fixed bitrot in DPADD in rev.1.8.Bruce Evans
Notes: svn path=/head/; revision=88674
2001-12-11Temporarily "protect" this against the coming WARNS=2 default as itMark Murray
is "hard to fix" (meaning I will come back to fix it if nobody gets there first). Notes: svn path=/head/; revision=87681
2001-09-28use openpty() instead of rolling a custom function (which didn't supportBill Fumerola
the full range of ptys anyways) Notes: svn path=/head/; revision=84096
2001-08-07mdoc(7) police:Ruslan Ermilov
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
2001-07-30Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.Bruce Evans
Notes: svn path=/head/; revision=80627
2001-07-26Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn
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
2001-07-15Remove whitespace at EOL.Dima Dorfman
Notes: svn path=/head/; revision=79755
2001-07-10mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov
Notes: svn path=/head/; revision=79535
2001-05-17Fix the rcsid's.David E. O'Brien
Notes: svn path=/head/; revision=76736
2001-03-29Include a missing header, and change a mktemp(3), mkdir(2) sequence toEric Melville
mkdtemp(3). Approved by: murray Notes: svn path=/head/; revision=75003
2001-03-27MAN[1-9] -> MAN.Ruslan Ermilov
Notes: svn path=/head/; revision=74848
2001-02-01mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov
Notes: svn path=/head/; revision=71895
2000-12-19Prepare for mdoc(7)NG.Ruslan Ermilov
Notes: svn path=/head/; revision=70197
2000-11-20mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov
Notes: svn path=/head/; revision=68963
2000-10-30string.h has been repo copied to mystring.hDavid E. O'Brien
Notes: svn path=/head/; revision=67940
2000-10-26While I'm here and got caught by it, add FreeBSD IDs so the next guyDavid E. O'Brien
won't have trouble committing his bits. Notes: svn path=/head/; revision=67607
2000-10-26Having a local `string.h' is just asking for trouble. As is having aDavid E. O'Brien
`struct string'. Rename the struct and effectively rename the header to `mystring.h' Notes: svn path=/head/; revision=67606
2000-10-26Use the pathnames from pathnames.h rather than hardcoding them here.David E. O'Brien
Add RCSIDs. Notes: svn path=/head/; revision=67605
2000-10-16Include sys/types.hBrian Somers
Notes: svn path=/head/; revision=67192
2000-04-14#include <errno.h> where needed. Kill extern int errno;.Warner Losh
Minor warnings in tip corrected. Notes: svn path=/head/; revision=59217
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
Notes: svn path=/head/; revision=50477
1999-07-12Add $Id$, to make it simpler for members of the translation teams toNik Clayton
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
1999-03-03Fix the style of my previous commit.Joerg Wunsch
Submitted by: The Style Police[tm] Notes: svn path=/head/; revision=44447
1999-03-03Increase the vector that's used to look for free pty's. We go throughJoerg Wunsch
/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
1999-03-02Make window(1) actually work again. It has been broken for quite someJoerg Wunsch
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
1998-10-13One vfork() changed to fork(); one execl() changed to execv(). TheDag-Erling Smørgrav
latter isn't actually called as far as I can see since FreeBSD uses termcap and not terminfo. Notes: svn path=/head/; revision=40303
1998-08-05Use <signal.h> instead of <sys/signal.h>.Doug Rabson
Notes: svn path=/head/; revision=38120
1998-04-20Define '\t' as a printable character, so it can be displayed on theJoerg Wunsch
screen. isprint(3) doesn't do this, but isprt() apparently expected this to be the case. Notes: svn path=/head/; revision=35334
1998-02-20Change a (defaulted) int arg to a long so that a cast from a pointerJohn Birrell
doesn't throw anything away. I don't want to re-code the app, just port it! Notes: svn path=/head/; revision=33699
1998-02-20Add #include <string.h> to get prototypes. Note that this programJohn Birrell
also has a local "string.h" which is included too. Notes: svn path=/head/; revision=33698
1998-02-20Add #include <string.h> to get prototypes.John Birrell
Notes: svn path=/head/; revision=33697
1998-02-20Add #include <stdlib.h> to get prototypes.John Birrell
Notes: svn path=/head/; revision=33696
1998-01-07Wait for job to finish and exit if exec fails.Warner Losh
Obtained from: OpenBSD (Theo de Raadt) Notes: svn path=/head/; revision=32296