Remove `-T` command-line option

It didn't actually do anything after
3baba1e7bc

Helped-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
Michael Reed 2015-05-05 22:00:43 -04:00
parent 64cecd917d
commit a16eab9e57
10 changed files with 1 additions and 71 deletions

View File

@ -236,11 +236,6 @@ Zeichen in ihr tippen. Dasselbe kann mit dem Befehl »:source!
{Eingabeskript}« erreicht werden. Wird das Ende der Datei vor dem Beenden
des Editors erreicht, werden weitere Zeichen von der Tastatur gelesen.
.TP
\-T {Terminal}
Setzt den Namen des benutzten Terminals. Nur erforderlich, wenn die
Automatik nicht funktioniert. Sollte ein \fBVim\fP bekanntes Terminal sein:
(builtin) oder in einer termcap\- oder terminfo\-Datei definiert.
.TP
\-u {VimRC}
Verwendet zur Initialisierung die Befehle in der Datei {VimRC}. Alle anderen
Initialisierungen werden übersprungen. Benutzen Sie dies, um eine besondere

View File

@ -301,15 +301,6 @@ La commande ":source! {scriptEntrée}" donne le même résultat.
Si la fin du fichier est atteinte avant que l'éditeur quitte, les caractères
suivants sont lus depuis le clavier.
.TP
\-T {terminal}
Indique à
.B Vim
le nom du terminal utilisé.
Cela n'est requis que lorsque la détection automatique échoue.
Le {terminal} devrait être connu de
.B Vim
(intégré) ou défini dans le fichier termcap ou terminfo.
.TP
\-u {vimrc}
Utilise les commandes du fichier {vimrc} pour les initialisations.
Toutes les autres initialisations sont omises.

View File

@ -283,15 +283,6 @@ Lo stesso si può ottenere col comando ":source! {scriptin}".
Se la fine del file di input viene raggiunta prima che Vim termini,
l'ulteriore input viene preso dalla tastiera.
.TP
\-T {terminale}
Dice a
.B Vim
quale tipo di terminale state usando.
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
Dovrebbe essere un terminale noto a
.B Vim
(internamente) o definito nel file termcap o terminfo.
.TP
\-u {vimrc}
Usa i comandi nel file {vimrc} per inizializzazioni.
Tutte le altre inizializzazioni non sono eseguite.

View File

@ -241,12 +241,6 @@ N を省略した場合は、引数のファイルを個別のタブページで
エディタが終了する前にファイルの終わりまで読み込んだ場合、
それ以降はキーボードから入力を読み込みます。
.TP
\-T {terminal}
端末の名前を指定します。
端末が自動的に認識されない場合に使ってください。
Vim が組み込みでサポートしている名前か、
termcap または terminfo ファイルで定義されている名前を指定してください。
.TP
\-u {vimrc}
{vimrc} ファイルを使って初期化します。
他の初期化処理はスキップされます。

View File

@ -283,15 +283,6 @@ To samo można osiągnąć poprzez polecenie ":source! {skrypt}".
Jeśli osiągnięto koniec pliku zanim edytor zakończył działanie, dalsze
znaki odczytywane są z klawiatury.
.TP
\-T {terminal}
Przekazuje
.B Vimowi
nazwę terminalu jakiego używasz.
Wymagane tylko wtedy jeśli nie działa automatycznie.
Powinien być to terminal znany
.B Vimowi
(builtin) lub zdefiniowany w plikach termcap lub terminfo.
.TP
\-u {vimrc}
Użyj poleceń z pliku {vimrc} w czasie uruchamiania.
Wszystkie inne możliwe pliki uruchamiania zostaną pominięte.

View File

@ -246,15 +246,6 @@ vim \- Vi IMproved (Улучшенный Vi), текстовый редакто
Если конец файла считывается до завершения работы редактора, то в дальнейшем
ввод осуществляется с клавиатуры.
.TP
\-T {terminal}
Сообщает
.B Vim
тип используемого терминала. Необходимо только в тех ситуациях, когда
автоматическое определение терминала не работает. Имя терминала должно быть
известно
.B Vim
(встроено в него) или определено в файлах termcap или terminfo.
.TP
\-u {vimrc}
Использовать команды из файла сценария {vimrc} для настройки.
Все остальные файлы настроек пропускаются.

View File

@ -1134,7 +1134,6 @@ Context-sensitive completion on the command-line:
|-s| -s {scriptin} first read commands from the file {scriptin}
|-w| -w {scriptout} write typed chars to file {scriptout} (append)
|-W| -W {scriptout} write typed chars to file {scriptout} (overwrite)
|-T| -T {terminal} set terminal name
|-u| -u {vimrc} read inits from {vimrc} instead of other inits
|-U| -U {gvimrc} idem, for when starting the GUI
|-i| -i {viminfo} read info from {viminfo} instead of other files

View File

@ -309,13 +309,6 @@ argument.
'tabpagemax' pages (default 10). If there are more tab pages
than arguments, the last few tab pages will be editing an
empty file. Also see |tabpage|.
*-T*
-T {terminal} Set the terminal type to "terminal". This influences the
codes that Vim will send to your terminal. This is normally
not needed, because Vim will be able to find out what type
of terminal you are using. (See |terminal-info|.)
*-d*
-d Start in |diff-mode|.
@ -772,7 +765,7 @@ To change it later, use a ":let" command like this: >
In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that
greps in the help files) you might be able to use this: >
VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
VIMRUNTIME="$(nvim -e --cmd 'echo $VIMRUNTIME|quit' 2>&1)"
==============================================================================
5. Suspending *suspend*

View File

@ -27,9 +27,6 @@ NOTE: Most of this is not used when running the |GUI|.
When Vim is started a default terminal type is assumed. for MS-DOS this is
the pc terminal, for Unix an ansi terminal.
You can give the terminal name with the '-T' Vim argument. If it is not given
Vim will try to get the name from the TERM environment variable.
*termcap* *terminfo* *E557* *E558* *E559*
On Unix the terminfo database or termcap file is used. This is referred to as
"termcap" in all the documentation. At compile time, when running configure,

View File

@ -100,7 +100,6 @@ typedef struct {
bool headless; // Dont try to start an user interface
// or read/write to stdio(unless
// embedding)
char_u *term; /* specified terminal name */
int no_swap_file; /* "-n" argument used */
int use_debug_break_level;
int window_count; /* number of windows to use */
@ -1123,7 +1122,6 @@ static void command_line_scan(mparm_T *parmp)
/*FALLTHROUGH*/
case 'S': /* "-S {file}" execute Vim script */
case 'i': /* "-i {viminfo}" use for viminfo */
case 'T': /* "-T {terminal}" terminal name */
case 'u': /* "-u {vimrc}" vim inits file */
case 'U': /* "-U {gvimrc}" gvim inits file */
case 'W': /* "-W {scriptout}" overwrite */
@ -1221,15 +1219,6 @@ scripterror:
parmp->tagname = (char_u *)argv[0];
break;
case 'T': /* "-T {terminal}" terminal name */
/*
* The -T term argument is always available and when
* HAVE_TERMLIB is supported it overrides the environment
* variable TERM.
*/
parmp->term = (char_u *)argv[0];
break;
case 'u': /* "-u {vimrc}" vim inits file */
parmp->use_vimrc = argv[0];
break;
@ -2001,7 +1990,6 @@ static void usage(void)
mch_msg(_(" -n No swap file, use memory only\n"));
mch_msg(_(" -r, -L List swap files and exit\n"));
mch_msg(_(" -r <file> Recover crashed session\n"));
mch_msg(_(" -T <terminal> Set terminal type to <terminal>\n"));
mch_msg(_(" -u <nvimrc> Use <nvimrc> instead of the default\n"));
mch_msg(_(" -i <nviminfo> Use <nviminfo> instead of the default\n"));
mch_msg(_(" --noplugin Don't load plugin scripts\n"));