Commit Graph

102 Commits

Author SHA1 Message Date
joerg
8751fcdadd Use __printflike and __dead. 2011-09-06 18:46:21 +00:00
wiz
e96bfc25cf Sort options and option descriptions, and sync usage. 2011-08-13 14:11:16 +00:00
jakllsch
6c3008d052 Sort (and synchronize) option list and `SYNOPSIS' section in
manpage, as well as the program's `usage'-line; also some other
minor changes.

From Snader_LB.
2011-08-13 14:02:48 +00:00
mrg
fcdfa9157d don't bother casting the return value of malloc. 2011-06-22 06:23:07 +00:00
mrg
0e79bf59af use offsetof() instead of some strange local hack. 2011-06-22 06:22:48 +00:00
jmmv
2a77c0a96c Note that window(1) will go away after netbsd-6 is branched. 2011-03-10 13:23:41 +00:00
jmmv
66b2e37b2b Add a script to generate a distfile of window from the verbatim sources on
cvs.  This will be used for the upcoming pkgsrc package of window.

I am not copying the code to othersrc because I want to keep things as
simple as possible for now.  When we remove window from src, the code will
be moved to othersrc and any improvements (such as autoconfification) can
be done there.
2011-03-09 17:32:03 +00:00
joerg
210d7a16de \\ -> \e
Drop redundant .Ic.
Add explicit empty argument for intentionally empty bracket and
parenthesis.
2010-04-23 22:04:37 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
joerg
dd0c11eb26 Don't use .Xo/.Xc. Fix markup of alias command. 2009-08-19 15:17:05 +00:00
wiz
ba544bf010 Add missing parenthesis in commented out code.
From Henning Petersen in PR 41838.
2009-08-07 13:53:54 +00:00
wiz
c16d893d82 Remove trailing whitespace. 2009-06-25 23:20:55 +00:00
hubertf
c8c572c3bf Add an example .windowrc 2009-06-25 21:48:49 +00:00
christos
d3f46c621c PR/41581: Der mouse: window SEGV with certain terminals. does strcmp first
and then checks for null pointer for underline and bold.
2009-06-12 15:19:52 +00:00
lukem
91387bb4e5 Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wsign-compare) 2009-04-14 08:50:06 +00:00
joerg
70588139b2 Explicitly escape : in .It. 2009-03-10 21:18:35 +00:00
christos
c20a3600e6 64 bit time_t 2008-12-29 01:53:35 +00:00
gmcgarry
8385c9b102 Both legs of a conditional operator must return the same type. 2008-07-25 06:53:43 +00:00
lukem
98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos
920d4bcbef from Anon Ymous:
Convert a "(void)&" construct to volatile.
Make two variables in wwiomux.c volatile that gcc -Wextra complained about.
Do proper initialization of lcmd_arg tables and flag some variables
__unused so this will compile with gcc -Wextra.
2006-12-18 20:04:55 +00:00
christos
1fc5ea78ff Coverity CID 3184: Don't dereference NULL 2006-05-23 01:11:12 +00:00
christos
d1c2aa7c3b Coverity CID 1184: Avoid NULL deref. 2006-05-02 22:35:07 +00:00
christos
4e749c0af7 Coverity CID 1185: Avoid NULL deref. 2006-05-02 22:33:42 +00:00
christos
060bb7465d Coverity CID 1330: Always check str_alloc for NULL returns. 2006-05-02 22:30:25 +00:00
christos
9c8ab46858 Coverity CID 569: Remove dead code. 2006-05-02 22:24:05 +00:00
lukem
829384f829 appease gcc -Wuninitialized 2005-06-02 04:34:57 +00:00
aymeric
8d1f13638c . wait only for 10 ms instead of 100 ms before updating the screen
. fix a variable reuse bug

It has been broken since the conversion from select() to poll().
2004-12-10 16:27:29 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun
b103dc8ce0 another fix for PR bin/22464; never set wwbaud to 0. 2003-08-13 15:21:07 +00:00
itojun
c0c6d52ab2 backout previous - commited by mistake 2003-08-13 15:14:55 +00:00
itojun
e0a59ddcd9 fix PR bin/22464 (hang up on kterm) 2003-08-13 15:13:46 +00:00
christos
fa2d773e2e Kill select. 2003-08-13 14:13:14 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz
72c59e3ee3 Quote question mark, to get it marked up. Whitespace nit. 2003-06-30 19:17:01 +00:00
aymeric
a069ac021f Fix a bug where window(1) would (appear to) miss a character when two
characters are typed fast one after the other (<10 ms).
The visual effect under vi(1) was even more impressive. ;-)
This bug was actually introduced inadvertantly in 1995 in rev 1.4.
2003-04-09 16:25:10 +00:00
matt
ef69aa80b5 Add missing include 2003-02-28 05:48:25 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jdc
1b61e72004 Check for equivalance between "se" and "ue" when unsetting them.
Reset the other if unsetting this one also unset the other.
2003-02-02 17:43:16 +00:00
kleink
b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
grant
9c6e01642a New sentence, new line. Some mdoc cleanup. 2002-09-30 08:04:27 +00:00
itojun
dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
wiz
4953298d90 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:07:01 +00:00
wiz
19f3b61aa0 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:06:51 +00:00
simonb
688f49ac00 Use openpty() to deal with the new pty naming scheme. 2002-05-30 03:22:58 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
8dd99cb599 Sort sections. 2001-12-08 19:26:45 +00:00
tv
fbc7a97b48 Remove files beginning with ":", which is invalid on other host OS's
(particularly those made by Microsoft).  These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
wiz
90af3ec140 environ(5) -> (7). Improve some xrefs. Whitespace fixes. 2001-04-04 09:51:22 +00:00
cgd
a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00