Commit Graph

234 Commits

Author SHA1 Message Date
Brad Davis
f59e535254 Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is
the most common usage.

Approved by:	bapt (mentor)
2018-06-28 13:48:59 +00:00
Baptiste Daroussin
8bf523086d Add termcap entries for the st terminal (https://st.sucksless.org)
MFC after:	3 days
2018-03-15 15:13:17 +00:00
Baptiste Daroussin
ce037f1b21 Fix tab vs space indentation
MFC after:	3 days
2018-03-15 15:05:26 +00:00
Eitan Adler
7e2c40ffa9 termcap: add xterm-termite
Obtained from:	DragonFly
MFC After:	1 week
2018-01-20 22:24:45 +00:00
Rodney W. Grimes
3e164c6986 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found
as it appears to break arm release builds.

PR:		217705
Reported by:	cyclaero@gmail.com
Approved by:	grehan (mentor) implict as reverting
2017-03-12 00:37:45 +00:00
Rodney W. Grimes
ce9f2d31b3 Convert absolute links to relative links.
Style.Makefile(9) has been ignored to produce minimal diffs.

Approved by:	grehan (mentor)
MFC after:	1 week
2017-03-07 05:10:38 +00:00
Bryan Drewery
a9f9ec2435 Replace ln -s calls with INSTALL_SYMLINK
Sponsored by:	EMC / Isilon Storage Division
2015-12-04 03:17:14 +00:00
Simon J. Gerraty
ccfb965433 Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704 dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb Merge sync of head 2015-05-27 01:19:58 +00:00
Enji Cooper
7c1e17e76e Fix building termcap.db when make obj is run beforehand from a clean tree by
using make variables for the filenames, which helps resolve pathing
appropriately when running cap_mkdb

X-MFC with: r275687
Pointyhat to: me
2014-12-10 23:18:11 +00:00
Enji Cooper
1db9ecff02 Remove termcap entry reordering; install the file verbatim instead
termcap entry reordering requires ex (which is available via usr.bin/vi), which
breaks on build hosts where installworld is run with MK_VI == no (or when
make delete-old is run on ^/projects/building-blocks as vi, et al, are
removed on the branch when the knob is tweaked to => "no")

Reordering termcap was believed to improve performance, but the file is now
accessed via /etc/termcap.db, so /etc/termcap (and /usr/share/misc/termcap by
proxy) access is less preferred.

Reordering the file broke the historical comment <-> entry mapping as well,
which could muddle the purpose of entries in the file, so it could be
potentially harmful to readers in its reordered state.

Discussion took place on hackers@ here:
https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.html

Discussed with: -hackers, mp
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
2014-12-10 20:40:03 +00:00
Simon J. Gerraty
ee7b0571c2 Merge head from 7/28 2014-08-19 06:50:54 +00:00
Gavin Atkinson
deee077e0c Stop telling people to use send-pr; instead point them towards Bugzilla.
Hat:		bugmeister@
MFC after:	3 days
2014-06-14 18:43:48 +00:00
Simon J. Gerraty
3b8f084595 Merge head 2014-04-28 07:50:45 +00:00
Eitan Adler
dda5b39711 multiple: Remove 3rd clause from BSD license where approved by the
regents and renumber.

This patch skips files in contrib/ and crypto/

Acked by:	imp
Discussed with:	emaste
2014-03-14 03:07:51 +00:00
Bryan Drewery
df8d5fd4dc Add missing Save Cursor support for VT520
Submitted by:	IWAMOTO Kouichi <sue@iwmt.org>
PR:		conf/174937
Obtained from:	http://web.mit.edu/dosathena/doc/www/ek-vt520-rm.pdf
Approved by:	bapt (mentor)
MFC after:	2 weeks
2014-02-19 13:06:50 +00:00
Simon J. Gerraty
f5f7c05209 Updated dependencies 2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b Sync with HEAD. 2013-02-08 16:10:16 +00:00
Eitan Adler
03ad1b0ba0 Some software, notably dialog(1), can understand back-tab, which is
typically bound to Shift-Tab. syscons produces ^]]Z for Shift-Tab, like
many VT100-like terminal (emulators). The plain xterm does not produce
this sequence, but ^I for both Tab and Shift-Tab.

PR:		conf/162787
PR:		bin/151229
Submitted by:	Stefan Bethke <stb@lassitu.de>
Submitted by:	Bruce Cran <bruce@cran.org.uk>
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:05:54 +00:00
Marcel Moolenaar
7750ad47a9 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Glen Barber
7b1d17a1bc General mdoc(7) and typo fixes.
PR:		167804
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days
2012-05-12 15:08:22 +00:00
Joel Dahl
7009096077 Remove superfluous paragraph macro. 2012-03-25 09:23:10 +00:00
Ulrich Spörlein
93b03d5dc7 Spelling fixes for share/ 2011-12-30 11:11:54 +00:00
Ed Schouten
e5d699577d Improve 256 color support.
- Add screen-256color,
- Improve rxvt-256color to set pa and op properly.
- Add rxvt-unicode-256color as an alias to rxvt-256color.

PR:		conf/152713, conf/153164
Submitted by:	Alexander Verbod and Frédéric Perrin
MFC after:	2 weeks
2011-02-19 11:06:00 +00:00
Ulrich Spörlein
0d9deed52c mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
Gavin Atkinson
c86342d745 Add a termcap entry for rxvt-256color.
PR:		conf/147726
Submitted by:	Sterling (Chip) Camden <sterling camdensoftware.com>
MFC after:	2 weeks
2010-08-08 09:40:09 +00:00
Ulrich Spörlein
a90fbe1dbb More mdoc nitpicking to improve compatibility to mdocml
- .Nd in section NAME is not optional
- .Ed was missing
- "indent" is not a flag, but a literal argument for -offset
- stop switching font sizes for acronyms
- use .Brq instead of rolling our own
2010-06-11 06:04:07 +00:00
Ed Schouten
ef0a73cc77 Properly make the end key work again for TERM=xterm.
I've been so busy hacking on utmpx the last couple of days, out of
reflex, I committed it to the wrong source tree. Note to myself: don't
hack on FreeBSD while watching TV at the same time.

PR:		conf/142578
Submitted by:	Yuri Pankov <yuri pankov gmail com>
Reminded by:	stefanf
2010-01-10 21:41:37 +00:00
Doug Barton
40370e4b9e Improve the markup
Submitted by:	ru
2009-12-14 20:59:01 +00:00
Doug Barton
9190ba057c Revert the xterm terminal behavior to NOT clear the screen after
exiting a pager, vi, etc.

Add some example xterm*-clear entries to the termcap files to make
it easier for people to enable that behavior.

Document the examples in the man page to make them easier to find.
2009-12-14 07:18:31 +00:00
Ed Schouten
a7e5e29990 Update termcap entries for xterm.
It turns out these entries do make Terminal.app behave a little better.
According to Thomas Dickey, Terminal.app should use TERM=nsterm anyway,
but we don't support this yet. Already having an improved termcap entry
helps, so I am going to MFC this change after all.

Suggested by:	Leonidas Tsampros <ltsampros upnet gr>
MFC after:	1 month
2009-12-10 22:25:53 +00:00
Edwin Groothuis
ce9fb75110 Add missing passthrough printing entries for VT100 and workalikes
in /etc/termcap:

    VT100 spec indicates that passthrough printing can be enabled
    by sending ESC[5i and disabled by sending ESC[4i These entries
    should be listed as po and pf in /etc/termcap, but are absent.
    See http://www.vt100.net/docs/vt102-ug/chapter5.html#S5.5.2.23

PR:		conf/71549
Submitted by:	Andrew Webster <andrew@pubnix.net>
MFC after:	1 week
2009-06-14 07:02:50 +00:00
Edwin Groothuis
d53aec4b54 Termcap updates for screen and linux console:
screen entry: F11-F20 keys added
	linux entry: F10-F20 keys added, ACS line graphics added

PR:		kern/108899
Submitted by:	Joseph Terner<jtsn@gmx.de>
MFC after:	1 week
2009-06-14 06:48:31 +00:00
Edwin Groothuis
f75e213b00 Add missing terminal definition for Wyse 120 in termcap
Although the PR contains also the definitions of the Wyse 60, they
are not copied into it since there are already definition for them
in the termcap file since 1997.

Also, the PR didn't use the :tc=xxx: feature, so I've imploded them.

PR:		conf/81882
Submitted by:	Meister des Chaos <meister@netz00.com>
MFC after:	1 week
2009-06-14 04:03:18 +00:00
Edwin Groothuis
3ce8237ad0 Add missing termcap entry for rxvt-unicode.
The termcap database does not have an entry for rxvt-unicode.
	This means that programs that need an entry such as vi fail
	to work when connecting via ssh using this terminal emulator.

The added data is not the same as the PR submitted by Richard, it
uses the :tc=xxx: option to inherit everything from rxvt-mono.

PR:		conf/117323
Submitted by:	Richard Bradshaw <richard.bradshaw@blueyonder.co.uk>
MFC after:	1 week
2009-06-14 03:34:54 +00:00
Edwin Groothuis
d7e47db675 Fix typo in cons25l7 definition in etc/termcap.small and share/termcap
There is a minor typo in the cons25l7 (':' instead of '|') entry
    in src/etc/termcap.small that causes syscons to complain about
    bogus characters in /etc/termcap.db.

PR:		conf/132777
Submitted by:	Nikos Ntarmos <ntarmos@cs.uoi.gr>
MFC after:	1 week
2009-06-12 23:43:19 +00:00
Rong-En Fan
624aa124ee - Remove kH (kp_kll) from screen. It has the identical key sequence as
@7 (kp_end). As ncurses has the limitation that it returns the first
  matched key symbol, you can not use END in ncurses based program under
  screen (like ports/misc/mc).

We did similar changes to xterm entry last year for exactly the same reason.

PR:		132199
Submitted by:	Timur I. Bakeyev <timur at FreeBSD.org>
MFC after:	2 month
2009-03-01 07:08:46 +00:00
Rong-En Fan
5c46f7182e - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end).
As ncurses has the limitation that it returns the first matched key symbol,
  you can not use END in ncurses based program, like mutt, with xterm.
- Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with
  ncurses based program.

I also found that NetBSD's xterm does the same thing.

PR:		100150
Reported by:	Arseny Nasokin <tarc at tarc.po.cs.msu.su>
Discussed with:	Thomas Dickey, Ulrich Spoerlein <uspoerlein at gmail.com>
Reviewed by:	freebsd-arch@
MFC after:	2 month
2008-01-08 16:00:24 +00:00
Yaroslav Tykhiy
9422860188 Delete an extra backslash at the end of the xterm-basic entry.
It can be missed easily that the following blank line formally
belongs to the xterm-basic entry due to the unneeded backslash.

PR:	bin/80256 (audit trail)
2007-10-17 19:58:50 +00:00
Matteo Riondato
a864f9d61c Backout my last changes. ISO-8859-15 does not specify ACS graphics.
Requested by: ache
2006-04-30 09:05:56 +00:00
Matteo Riondato
50e31cbac8 Add curses ACS line graphics support for iso15 fonts
Now ncurses-based programs such as sysinstall and mc will display the
correct font for graphical lines instead of "-" and "+" characters.

Correct two special characters for cons25l1 in termcap: use real
arrows instead of ">>" and "<<".
Add a lot of additional symbols for line drawing which are taken from
the CP437 font.
Almost all of the ACS symbols are now implemented.

PR: conf/90082
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after:	1 week
2006-04-29 12:34:19 +00:00
Andrey A. Chernov
8fc5a80ac3 xterm-basic: add AX flag
(the same in xterm-supplied termcap)
2005-10-18 16:11:48 +00:00
Andrey A. Chernov
34d990f73c xterm-basic:
1) use standard vt100 as/ae instead of ^N/^O which not works in real xterm
2) Remove ^O from me, it not belongs there
2005-10-17 06:09:56 +00:00
Poul-Henning Kamp
423987b6a5 Remove the map3270 file, tn3270 was retired long ago. 2005-08-05 09:52:25 +00:00
Ruslan Ermilov
6fe37d1365 Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Ruslan Ermilov
5203edcdc5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
Murray Stokely
3ecd59e41c It's been years since Berkeley maintained termcap.
Remove references to termcap@berkeley.edu and uunet!ucbvax!termcap in
favor of send-pr(1).

Add comment about how to use cap_mkdb to build a new termcap db.

Submitted by:	Ted Mittelstaedt <tedm@toybox.placo.com>
MFC After:	2 weeks
2004-06-05 15:35:14 +00:00
Jens Schweikhardt
07c1e62b49 Added entries for ibm151 and ibm3151-25.
Style:
o Use tabs instead of 8 spaces
o Space after # beginning comment
o Fix entries lacking ":" after tab
o Removed whitespace at EOL

PR:		misc/62749 (the ibm additions)
Submitted by:	Gerhard Gonter <gonter@wu-wien.ac.at>
MFC after:	3 days
2004-03-20 13:11:59 +00:00