12

Экран GNU на MacOS 10.8 говорит: «Будь осторожен! Новый экран сегодня вечером ", когда он запускает экран иногда. Есть идеи, что вызывает это, или есть способ отключить его и / или изменить текст на что-то еще?

Версия экрана 4.00.03 (FAU) 23 октября 2006 года

OS X версия 10.8.2

1 ответ1

24

Вы используете экран с опцией #NETHACK.

Nethack - это старая текстовая игра со множеством неожиданных поворотов, в том числе зависимостью от фазы луны. Если это полная луна, то в игре сильные монстры.

Экран имеет возможность переводить некоторые обычные сообщения в сообщения 'nethack-ish'. Одно из сообщений Nethack: «Будь осторожен, новолуние сегодня». Экранная версия этого «Будьте осторожны! Новый экран сегодня вечером. ")

Список сообщений с экрана источника:

#ifdef NETHACK
static struct nlstrans nethacktrans[] = {
{"Cannot lock terminal - fork failed",
     "Cannot fork terminal - lock failed"},
{"Got only %d bytes from %s",
     "You choke on your food: %d bytes from %s"},
{"Copy mode - Column %d Line %d(+%d) (%d,%d)",
    "Welcome to hacker's treasure zoo - Column %d Line %d(+%d) (%d,%d)"},
{"First mark set - Column %d Line %d",
    "You drop a magic marker - Column %d Line %d"},
{"Copy mode aborted",
    "You escaped the dungeon."},
{"Filter removed.",
    "You have a sad feeling for a moment..."},
{"Window %d (%s) killed.",
    "You destroy poor window %d (%s)."},
{"Window %d (%s) is now being monitored for all activity.",
    "You feel like someone is watching you..."},
{"Window %d (%s) is no longer being monitored for activity.",
    "You no longer sense the watcher's presence."},
{"empty buffer",
    "Nothing happens."},
{"switched to audible bell.",
    "Suddenly you can't see your bell!"},
{"switched to visual bell.",
    "Your bell is no longer invisible."},
{"The window is now being monitored for %d sec. silence.",
    "You feel like someone is waiting for %d sec. silence..."},
{"The window is no longer being monitored for silence.",
    "You no longer sense the watcher's silence."},
{"No other window.",
    "You cannot escape from window %d!"},
{"Logfile \"%s\" closed.",
    "You put away your scroll of logging named \"%s\"." },
{"Error opening logfile \"%s\"",
    "You don't seem to have a scroll of logging named \"%s\"."},
{"Creating logfile \"%s\".",
    "You start writing on your scroll of logging named \"%s\"."},
{"Appending to logfile \"%s\".",
    "You add to your scroll of logging named \"%s\"."},
{"Detach aborted.",
    "The blast of disintegration whizzes by you!"},
{"Empty register.",
    "Nothing happens."},
{"[ Passwords don't match - checking turned off ]",
    "[ Passwords don't match - your armor crumbles away ]"},
{"Aborted because of window size change.",
    "KAABLAMM!!!  You triggered a land mine!"},
{"Out of memory.",
    "Who was that Maude person anyway?"},
{"getpwuid() can't identify your account!",
    "An alarm sounds through the dungeon...\nThe Keystone Kops are after you!"},
{"Must be connected to a terminal.",
    "You must play from a terminal."},
{"No Sockets found in %s.\n",
    "This room is empty (%s).\n"},
{"New screen...",
    "Be careful!  New screen tonight."},
{"Child has been stopped, restarting.",
    "You regain consciousness."},
{"There are screens on:",
    "Your inventory:"},
{"There is a screen on:",
    "Your inventory:"},
{"There are several screens on:",
    "Prove thyself worthy or perish:"},
{"There is a suitable screen on:",
    "You see here a good looking screen:"},
{"There are several suitable screens on:",
    "You may wish for a screen, what do you want?"},
{"%d socket%s wiped out.",
    "You hear %d distant explosion%s."},
{"Remove dead screens with 'screen -wipe'.",
    "The dead screen%s touch%s you. Try 'screen -wipe'."},
{"Illegal reattach attempt from terminal %s.",
    "'%s' tries to touch your session, but fails."},
{"Could not write %s",
    "%s is too hard to dig in"},

Если вы хотите получать обычные сообщения, #define NETHACK своем профиле или перекомпилируйте экран без поддержки.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .