Commit Graph

206 Commits

Author SHA1 Message Date
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
David E. O'Brien
6e7b5f4065 Fix xterm-color so that it (1) doesn't bitch on exit, (2) doesn't restore
the pre-run screen.

Desired by:	alfred, peter, mini
2002-09-01 02:04:42 +00:00
Jens Schweikhardt
a5587014bd Use the xterm termcap that XFree86 ships instead of our somewhat
questionable termcaps.

PR:		bin/41143, also fixes ports/35092
Submitted by:	Andy Sparrow <spadger@best.com>
MFC after:	3 days
2002-08-27 17:33:39 +00:00
Jens Schweikhardt
798fb62432 Reformat the mvterm entry to fit mostly in an 80 column terminal.
Suggested by:	bde
MFC after:	3 days
2002-08-25 12:12:46 +00:00
Jens Schweikhardt
edd154566e 1) add mvterm
2) add 132 column entries for VESA
3) fix kterm entry tc

PR:		1) misc/39628, 2) conf/13918, 3) misc/22660
Submitted by:	1) Daniel Rudy <dcrudy@pacbell.net>
Submitted by:	2) Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
Submitted by:	3) Koji Mori <mori@tri.asanuma.co.jp>
MFC after:	2 weeks
2002-08-22 19:48:13 +00:00
Hajimu UMEMOTO
6921d421ae Previous commit of adding ut to xterm entry broke kterm-color entry.
3 bytes (ut:) seems too long for kterm-color.  There is a limitation
of buffer size within 1024 bytes in our ncurses.

Submitted by:	mistral@imasy.or.jp
Reviewed by:	matusita
MFC after:	1 day
2002-08-20 16:38:05 +00:00
Andrey A. Chernov
caab99ee38 Add ut to xterm (which was removed from vt* it refers) 2002-08-17 12:34:59 +00:00
Ruslan Ermilov
f350abf814 Handle the escaped colon \: in a capability.
PR:		bin/30778
Reviewed by:	ache, peter
MFC after:	3 days
2002-08-12 19:13:22 +00:00
Jens Schweikhardt
2b239dd118 Fix typos; each file has at least one s/seperat/separat/
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.

Suggested by:	bde
MFC after:	3 days
2002-08-11 13:05:30 +00:00
Hellmuth Michaelis
a83df5a981 Add termcap entries to be able to switch to line drawing character
set for the pcvt driver.
2002-04-26 11:17:46 +00:00
Ruslan Ermilov
d912b3a824 Complete the fix in revision 1.13 -- don't even depend on termcap(5)
database to be present.

PR:		misc/31225
2002-04-04 07:30:46 +00:00
Andrey A. Chernov
079ae266be We don't use two-letters terminal names, so strip them out from vt520* entries 2002-01-18 17:41:54 +00:00
Sheldon Hearn
9d0fef6b8d Add entries for the DEC VT400 and and VT420 terminals.
Obtained from:	comp.terminals
Reported by:	tedm
2002-01-15 16:19:37 +00:00
Andrey A. Chernov
df33804e71 Merge some of vt2x0 tc= chain to save 1024 buffer space.
Clarify comment about kind of color emulators for which vt*-co* entries
are for and about saving space.
Use direct \E[m instead of ...;m for dumb emulators.
2002-01-13 09:04:37 +00:00