Commit Graph

156 Commits

Author SHA1 Message Date
Peter Wemm
a10b671db8 EEK! termios mode wasn't activated..
Noticed by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-11-30 05:56:12 +00:00
Peter Wemm
0e6c8cb9da Don't complain loudly about unknown termcap capabilities, eg:
{vladivostok:/usr/home/ken:1:0} echo |more
"TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0'
"TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX'

Submitted by:	Kenneth D. Merry <ken@kdm.org>
1999-11-17 01:01:02 +00:00
Peter Wemm
bcf7336218 Try and catch a make -j problem in 'make depend'.
Tested by:	Dirk-Willem van Gulik <dirkx@va-179.skylink.it>
1999-09-26 19:11:04 +00:00
Peter Wemm
b78515bd1a Add a missing dependency for make_hash which could make various forms of
make -jN fail.  This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by:	luoqi
1999-09-01 05:14:57 +00:00
Dmitrij Tejblum
0c5ed04869 Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.
1999-08-30 23:15:40 +00:00
Peter Wemm
99af2e21c7 Use src/contrib/ncurses, v5.0.990821 prerelease.
This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface.  Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here!  (The build will be broken for a short
while)
1999-08-30 07:58:08 +00:00
Mike Pritchard
229494cb51 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Nik Clayton
fbc400a67a Add $Id$, to make it simpler for members of the translation teams to
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
1999-07-12 20:50:10 +00:00
Joseph Koshy
ad2713b522 Correct prototype for tigetstr().
PR:		docs/11489
Submitted by:	Andrew <andrew@ugh.net.au>
1999-05-05 02:51:45 +00:00
Warner Losh
dcb0ae4ed8 More egcs warning fixes:
o use braces to avoid potentially ambiguous else
	o don't default to type int (and also remove a useless register
	  modifier).
	o Use parens around assignment values used as truth values.
	o Remove unused function.

Reviewed by: obrien and chuckr
1999-04-25 22:29:30 +00:00
Steve Price
7b505024ed Add missing int to prototypes of mvaddstr and mvaddnstr.
PR:		8110
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-12-10 02:35:24 +00:00
Warner Losh
c0f3e0b9b0 $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
Andrey A. Chernov
2ed2c53bd8 Fix keypad on/off for ^Z suspends by replacing reset_*_mode()
from libmytinfo
1998-06-19 16:12:41 +00:00
Andrey A. Chernov
59fcc4ce0f Low level use of 'vidattr()' can cause a NULL pointer to be
dereferenced.  This is because 'SP' is only initialized via 'newterm()'
(which is not required if you are going to interact with the 'terminfo'
database without using 'ncurses').

PR: 6648
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-05-15 21:35:53 +00:00
Andrey A. Chernov
3cfe146f65 Add some easy to implement XSI macros including attr_get 1998-04-15 23:13:36 +00:00
Bruce Evans
682c5f7c6e Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly.  Don't use beforedepend, as usual.
1998-03-20 16:50:08 +00:00
John Birrell
554ce32897 Avoid an uninitialised variable warning from gcc. I bet some people
don't like me doing this, but I want to see clean compiles. 8-)
1998-02-20 07:40:22 +00:00
Andrey A. Chernov
b8b68d9946 Remove unneeded code left from testing 1998-01-02 05:05:20 +00:00
Andrey A. Chernov
8bf5c1da27 1) Redo internal interface to be more latest ncurses-like
2) Fix winsdel called in last line of the window (nothing happens in
   old variant)
3) Add range checks to wscrl() and internal soft scroll function
1998-01-02 04:36:51 +00:00
Steve Price
e2263d244f Fix another problem with clearing the last line of the
display.

Submitted by:	Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1998-01-01 23:27:10 +00:00
Steve Price
b497d31373 Handle the condition where BS is typed while the cursor is
at the first position on either of the last two lines of the
screen.  Ie. append contents of current line to the previous
line and scroll the next line's contents up.

PR:		5392
Submitted by:	Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1997-12-29 03:29:29 +00:00
Joerg Wunsch
5b50b1e179 Typo.
Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-28 07:46:27 +00:00
Andrey A. Chernov
4fcbf66f05 Remove terminfo manpage we don't have it 1997-10-20 17:53:55 +00:00
Philippe Charnier
34384756cd environmental -> environment. 1997-09-18 06:55:21 +00:00
Andrey A. Chernov
738111e63b Fix possible coredump on BW displays 1997-09-02 19:07:50 +00:00
Andrey A. Chernov
ef5ccd9e3c Fix inspace handling I broke in rev 1.13 1997-08-28 08:13:21 +00:00
Andrey A. Chernov
0e7e6efe8f Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1
1997-08-25 07:41:15 +00:00
Andrey A. Chernov
cefcce61a0 Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.
1997-08-24 19:09:45 +00:00
Andrey A. Chernov
ee05c01758 Define NCURSES_VERSION publicly, some applications want it
Fix unctrl()
Merging from 4.1 used for this fixes.
1997-08-13 23:28:29 +00:00
Andrey A. Chernov
3f121d0aa3 TRACE_VIRTPUT (we don't have it yet) -> TRACE_CHARPUT 1997-08-13 00:12:46 +00:00
Andrey A. Chernov
89047cedf5 Fix handling of mixed colors+attributes case by merging from ncurses 4.1 1997-07-30 19:04:08 +00:00
Andrey A. Chernov
c8a57a4fe5 Fix logical background handling by merging it from ncurses 4.1
No new user-visible functions added
1997-07-30 17:21:39 +00:00
Andrey A. Chernov
f1909e979c ifdef out ttytype definition, mytinfo not have it and configure confused 1997-07-30 03:26:37 +00:00
Andrey A. Chernov
885bd2f608 Add getbkgd() macro 1997-07-27 21:01:16 +00:00
Peter Wemm
7e546392b5 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Stephen McKay
354ae80dd4 The fix for PR#bin/722 made it into 2.1.5 and 2.1.6, but not into -current.
Without it, the last row and last column don't get their background updated.

I think this should be in 2.2.

Submitted by:	Paul Koch <koch@thehub.com.au>   (again)

Passing observation: The fixes that pst put in on 1996/09/22 then backed out
look like they should be put in again.  If sysinstall is depending on bugs,
then it should be fixed.
1996-12-22 14:24:49 +00:00
Wolfram Schneider
e83201b43a delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
Alexander Langer
a5ad841d36 Added parens to noecho in screen initialization example. 1996-09-28 11:09:33 +00:00
Paul Traina
5005b18574 Back out my recent compilation clean-up changes, sysinstall is now weird. 1996-09-26 01:08:51 +00:00
Paul Traina
04bd4759a8 Fix some compilation warnings 1996-09-22 01:05:21 +00:00
Jordan K. Hubbard
479c200dea Don't smash attributes when turning color values off. This was submitted
as a PR to GNATs but it evidently went astray somehow since I can't find
it in the database now, nor does an assigned PR# appear on the mail I got.
Sorry about that, Danny!
Submitted-By: Danny R. Johnston <danny@simn.com>
1996-09-06 05:55:48 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Peter Wemm
345be915f7 cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
Peter Wemm
c7098a51b3 .include "bsd.prog.mk" -> .include <bsd.prog.mk> 1996-08-30 01:59:14 +00:00
Peter Wemm
3d98454e50 Delete -DGOOD_SELECT from CFLAGS, we don't have it. This is used to
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).
1996-08-26 09:25:20 +00:00
Jordan K. Hubbard
4ade2461ae Go back to sigaction again now that Peter has found the problem.
Mine was just a "let's move on" kinda fix, Peter's does it right. :)
Submitted-by: peter
1996-08-16 07:53:29 +00:00
Jordan K. Hubbard
84e01e8053 Switch from using sigaction to signal. 1996-08-15 21:13:53 +00:00
Jordan K. Hubbard
07f01d546f Make libncurses catch SIGWINCH and update the values for LINES and COLS.
I was perplexed when an example I'd written to show the values for these
variables changing as an xterm window was resized didn't work, and looking
into it I see that size tracking for LINES and COLS seems to be one SVR4
enhancement which didn't come across with libncurses.
1996-08-15 21:06:52 +00:00
Jordan K. Hubbard
d1dd4d6ef0 Add something so that you can solve the puzzle automatically by pressing
`a' (I'm using this code as a test for something else, and just happened
to add this in the process :).
1996-08-15 20:15:18 +00:00
Wolfram Schneider
dd6e5b0fa9 remove MLINKS tparm.3 due name clash with libtermcap 1996-05-27 22:58:29 +00:00
Jordan K. Hubbard
fdd92ff346 The traceon and traceoff directives aren't in this version ncurses.
Guess nobody's built these tests for quite awhile!
1996-04-25 01:18:30 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Mike Pritchard
3e6427f35f Correct man page section number references (e.g. don't use the
old 1M, 3X and 3S section numbers) and make some minor formatting
changes to silence manck.
1996-02-11 23:29:40 +00:00
Mike Pritchard
c211e812bb Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
1996-02-09 00:45:45 +00:00
Mike Pritchard
46285cbc83 Fix some minor formatting problems in the curs_termin.3 man page. 1996-02-08 22:25:44 +00:00
Mike Pritchard
b0e4cfe40e Fix a typo in one of the function names. 1996-02-08 22:16:13 +00:00
Mike Pritchard
e2cc67ef3c Another round of spelling fixes. 1996-01-30 18:13:11 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Joerg Wunsch
0859bf6ff4 Finally catch up with the Frenchmen, and create the German message
catalog.
:-)
1995-10-21 23:47:43 +00:00
Bruce Evans
97cefc5891 Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
Andrey A. Chernov
79ad0d4c63 Allow any speeds in baudrate 1995-08-04 11:06:00 +00:00
Andrey A. Chernov
d8af1fd8ae Add SA_RESTART to ^Z reaction, EIO was returned in other case 1995-08-04 11:05:29 +00:00
Rodney W. Grimes
6c06b4e2aa Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Andrey A. Chernov
11d07acbab Bump major number instead of minor 1995-05-08 16:08:49 +00:00
Andrey A. Chernov
fbe3680005 Bump minor number 1995-05-03 18:54:09 +00:00
Andrey A. Chernov
7ca7a1934b Add a bit more docs 1995-04-20 21:36:15 +00:00
Andrey A. Chernov
668326cbc5 Fix bug using CSR for partial scrolling 1995-03-27 01:19:14 +00:00
Andrey A. Chernov
00c965147b Fix wbkgdset macro
Submitted by: Andreas Wetzel <mickey@deadline.snafu.de>
1995-03-13 19:02:04 +00:00
Andrey A. Chernov
c6493ee41b Add missing lib_window.c to SRCS 1995-02-13 17:23:18 +00:00
Andrey A. Chernov
eaa36bec77 Back out bkgd changes, now acts per braindamaged sysv standard 1995-01-16 17:33:33 +00:00
Andrey A. Chernov
19f1105992 Fix compiler warnings about tputs argument 1994-12-28 14:30:19 +00:00
Andrey A. Chernov
1223285da7 tputs prototypes... 1994-12-10 23:10:41 +00:00
Andrey A. Chernov
b3c5d3e955 Fix tputs/tparm declarations 1994-12-09 22:02:19 +00:00
Andrey A. Chernov
43f9c02773 termcap.h now belongs to system 1994-12-04 02:43:41 +00:00
Andrey A. Chernov
6a24938756 Move gdc/bs to games 1994-12-03 04:42:49 +00:00
Andrey A. Chernov
268e74f211 exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
Andrey A. Chernov
5e7d2146bb #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
Andrey A. Chernov
303f46f591 bkgd() family fixes 1994-12-02 19:43:34 +00:00
Andrey A. Chernov
aea7c17415 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
Andrey A. Chernov
795172f7a5 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
Andrey A. Chernov
1f36118a96 wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
1994-11-29 02:48:20 +00:00
Andrey A. Chernov
79f2f48ea8 Fix many duplicated attribute sets 1994-11-27 05:23:52 +00:00
Andrey A. Chernov
3d3c746818 Add wrefresh before doing putp when idlok 1994-11-27 03:08:12 +00:00
Andrey A. Chernov
06fc741b2a Make idlok works properly with back color erase. 1994-11-27 02:22:09 +00:00
Andrey A. Chernov
733e641beb Forget to exit alt charset mode, critical for non-cons25r
terminals wits as/ae
1994-11-24 15:09:30 +00:00
Andrey A. Chernov
47d3b798a6 Make this file more BSD-like 1994-11-21 23:03:23 +00:00
Andrey A. Chernov
1f6f0b64cc Make newscr publicly available 1994-11-17 23:53:25 +00:00
Andrey A. Chernov
6e96c3814b Add 57600, 115200 ro baudrate() 1994-11-10 13:10:21 +00:00
Andrey A. Chernov
5970372325 This curses fix allows to print something in lower right corner
if insert_character is available or don't print, if not
1994-11-06 15:30:37 +00:00
Andrey A. Chernov
02ebab5bf9 Several fixes for 'back_color_erase' curses problem 1994-11-06 09:30:36 +00:00
Andrey A. Chernov
65eaa00bfb Fix curses bug with delete character and standout 1994-11-06 08:33:34 +00:00
Jordan K. Hubbard
fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Andrey A. Chernov
bb5e714cf2 Add SIGTERM reaction -- cleanup 1994-10-31 03:07:39 +00:00
Andrey A. Chernov
6acf7a7072 Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry 1994-10-31 01:48:48 +00:00
Andrey A. Chernov
3a1ed32457 Add -I${.CURDIR} 1994-10-28 06:58:04 +00:00
Andrey A. Chernov
d8cfe10818 Optimize delwin a bit 1994-10-26 07:13:51 +00:00
Andrey A. Chernov
9c9986c2c8 LDADD: = -> += 1994-10-12 01:59:06 +00:00