screen: Suddenly the Dungeon collapses!! – You die…

Автор: | 07/08/2013
 

terminalВо время работы portupgrade внезапно “умер” screen с таким сообщением:

Suddenly the Dungeon collapses!! – You die…

Несмотря на всю серьёзность – это лишь “юмор” разработчиков screen.

На самом деле причина падения была в:

Aug 7 14:10:19 akira kernel: swap_pager_getswapspace(14): failed

Какой-то процесс “съел” всю память, а отследить не вышло.

Что бы включить или отключить такие “шутливые” сообщения об ошибках от screen – в файл ~/.screenrc добавьте строку:

nethack off

Подробнее – в man screen:

nethack on|off
	Changes the kind of error messages used by screen. When you are familiar with the game "nethack", you may enjoy the nethack-style messages which will often blur the facts a little, but are much funnier to read. Anyway, standard messages often tend to be unclear as well. This option is only available if screen was compiled with the NETHACK flag defined. The default setting is then determined by the presence of the environment variable $NETHACKOPTIONS.

Подобные сообщения – отголосок игры Nethack.