#! /usr/bin/ruby -w # From a message sent to ruby-talk by Morton Goldberg require 'curses' include Curses init_screen begin addstr("some text") addstr("\nPress any key to continue: ") refresh getch ensure close_screen end