summaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński (amade) <amade@asmblr.net>2011-01-04 20:31:39 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2015-06-25 14:28:20 +0200
commit2168239005ee587fdec417c987a632e81f86c80e (patch)
treed7afd720d39bc8269b7580cc1a78e46b8814631a /src/help.c
parent848af83f50eb8e7a6fea82b489865a9a16ce8221 (diff)
downloadscreen-2168239005ee587fdec417c987a632e81f86c80e.tar.gz
make most features as always built in from now on
removed #define SIMPLESCREEN and it's #defines also removed #define DETACH and RXVT_SOC all of this options are now default
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/help.c b/src/help.c
index 1a57a16..474bf15 100644
--- a/src/help.c
+++ b/src/help.c
@@ -49,9 +49,7 @@ extern struct mchar mchar_blank, mchar_so;
extern int renditions[];
extern unsigned char *blank;
extern struct win **wtab;
-#ifdef MAPKEYS
extern struct term term[];
-#endif
extern struct LayFuncs ListLf;
@@ -72,12 +70,10 @@ exit_with_usage(char *myname, char *message, char *arg)
printf("-a Force all capabilities into each window's termcap.\n");
printf("-A -[r|R] Adapt all windows to the new display width & height.\n");
printf("-c file Read configuration file instead of '.screenrc'.\n");
-#ifdef REMOTE_DETACH
printf("-d (-r) Detach the elsewhere running screen (and reattach here).\n");
printf("-dmS name Start as daemon: Screen session in detached mode.\n");
printf("-D (-r) Detach and logout remote (and reattach here).\n");
printf("-D -RR Do whatever is needed to get a screen session.\n");
-#endif
printf("-e xy Change command characters.\n");
printf("-f Flow control on, -fn = off, -fa = auto.\n");
printf("-h lines Set the size of the scrollback history buffer.\n");
@@ -99,14 +95,10 @@ exit_with_usage(char *myname, char *message, char *arg)
printf("-S sockname Name this session <pid>.sockname instead of <pid>.<tty>.<host>.\n");
printf("-t title Set title. (window's name).\n");
printf("-T term Use term as $TERM for windows, rather than \"screen\".\n");
-#ifdef UTF8
printf("-U Tell screen to use UTF-8 encoding.\n");
-#endif
printf("-v Print \"Screen version %s\".\n", version);
printf("-wipe [match] Do nothing, just clean up SockDir [on possible matches].\n");
-#ifdef MULTI
printf("-x Attach to a not detached screen. (Multi display mode).\n");
-#endif /* MULTI */
printf("-X Execute <cmd> as a screen command in the specified session.\n");
if (message && *message)
{
@@ -440,7 +432,6 @@ add_key_to_buf(char *buf, int key)
strcpy(buf, "unset");
else if (key == ' ')
strcpy(buf, "sp");
-#ifdef MAPKEYS
else if (key >= 256)
{
key = key - 256 + T_CAPS;
@@ -450,7 +441,6 @@ add_key_to_buf(char *buf, int key)
buf[3] = ':';
buf[4] = 0;
}
-#endif
else
buf[AddXChar(buf, key)] = 0;
}
@@ -532,66 +522,6 @@ http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc., \
Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to \
screen-devel@gnu.org\n\n\n"
-"Capabilities:\n"
-
-#ifdef COPY_PASTE
-"+copy "
-#else
-"-copy "
-#endif
-
-#ifdef REMOTE_DETACH
-"+remote-detach "
-#else
-"-remote-detach "
-#endif
-
-#ifdef POW_DETACH
-"+power-detach "
-#else
-"-power-detach "
-#endif
-
-#ifdef MULTI
-"+multi-attach "
-#else
-"-multi-attach "
-#endif
-
-#ifdef MULTIUSER
-"+multi-user "
-#else
-"-multi-user "
-#endif
-
-#ifdef FONT
-"+font "
-#else
-"-font "
-#endif
-
-#ifdef COLORS256
-"+color-256 "
-#elif defined(COLORS16)
-"+color-16 "
-#elif defined(COLOR)
-"+color "
-#else
-"-color "
-#endif
-
-#ifdef UTF8
-"+utf8 "
-#else
-"-utf8 "
-#endif
-
-#ifdef RXVT_OSC
-"+rxvt "
-#else
-"-rxvt "
-#endif
-
#ifdef BUILTIN_TELNET
"+builtin-telnet "
#else
@@ -756,7 +686,6 @@ CopyrightRedisplayLine(int y, int xs, int xe, int isblank)
**
*/
-#ifdef MAPKEYS
extern struct kmap_ext *kmap_exts;
extern int kmap_extn;
extern struct action dmtab[];
@@ -957,7 +886,6 @@ BindkeyRedisplayLine(int y, int xs, int xe, int isblank)
LClearArea(flayer, xs, y, xe, y, 0, 0);
}
-#endif /* MAPKEYS */
/*
@@ -966,7 +894,6 @@ BindkeyRedisplayLine(int y, int xs, int xe, int isblank)
**
*/
-#ifdef ZMODEM
static void ZmodemRedisplayLine (int, int, int, int);
static int ZmodemResize (int, int);
@@ -1011,7 +938,6 @@ ZmodemPage()
flayer->l_y = 0;
}
-#endif