Commit Graph

219 Commits

Author SHA1 Message Date
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
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
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
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
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
Jens Schweikhardt
12b38947d4 Added entries for 90 columns russian VGA modes.
PR:		conf/51830
Submitted by:	Sergiy Vyshnevetskiy <serg@vostok.net>
MFC after:	1 week
2004-03-16 18:04:14 +00:00
Jens Schweikhardt
76e2858e2f Instead of repeating most of vt102, make mvterm reference it.
PR:		61796
Submitted by:	Daniel Rudy <root@wildfire.danielrudy.org>
MFC after:	1 week
2004-03-12 17:41:13 +00:00
Jens Schweikhardt
8a76ac9557 Remove a spurious backslash at EOL to get a proper xterm-ic entry.
PR:		56956
Submitted by:	Rudolf Cejka <cejkar@fit.vutbr.cz>
MFC after:	1 week
2004-03-12 17:21:48 +00:00
Jens Schweikhardt
e4214b72d5 Give xterm-basic the le entry. bs should be avoided.
This is a prerequisite to fix

PR:		bin/48679
Discussed with:	Thomas Dickey (xterm termcap maintainer)
MFC after:	2 weeks
2004-03-10 22:38:32 +00:00
Olivier Houchard
f138711f07 Update Eterm entry to Eterm 0.9.2
Submitted by:	Geraud CONTINSOUZAS <geraud.continsouzas@wanadoo.fr>
MFC after:	3 days
2004-01-25 19:04:50 +00:00
Andrey A. Chernov
ce9ab5a613 Update screen(1)-related entries with more recent variants
PR:             55146
Submitted by:   Juha-Matti Tilli <juhis@nallukka.net>
2003-08-05 08:06:38 +00:00
Philippe Charnier
c2d6966a95 Add or correct section number in .Xr 2003-06-08 13:27:57 +00:00
Andrey A. Chernov
c5d8f6027e Add entry for putty as an alias to vt220-color 2003-05-31 15:46:05 +00:00
Tatsumi Hosokawa
48b2d0650d These entries (for multilingual sysinstall) are not for Japanese term only.
Changed to more generic names.
2003-04-06 11:47:24 +00:00
Tom Rhodes
deb8c6ddce Top Gun Telnet has been deprecated, and the home page recomends Top Gun SSH.
Update the URL to reflect this.

PR:		45010
Submitted by:	Kim Scarborough <sluggo@unknown.nu> (Original patch)
2003-01-09 19:52:01 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
David Xu
b6b5b355d3 Add some linux keys 2002-12-19 01:17:07 +00:00
Andrey A. Chernov
69513ccb80 Remove more two-letters names,
we don't use them in termcap already many years.

Add "su" as alias to "dumb" to help login, with comment.
2002-09-28 03:40:19 +00:00
Andrey A. Chernov
524cb6766e Another two-letters breakage 2002-09-08 12:47:22 +00:00
Andrey A. Chernov
c1b7a2d2f1 1) Remove all two-letters names and derivates, comes with Xfree* entries spam,
we don't use two-letters names already many years.
2) Make xterm-color just plain alias to xterm instead of unnecessary
reduplication of color capabilities already exist in xterm entry.
2002-09-08 05:41:42 +00:00