Script Index


function screen_quick_intro()

Parameters:

Description

Output a short message about using libscreen


function screen_start()

Parameters:

Description

THIS FUNCTION NEVER RETURNS. It execs a screen session with the specified name, with the specified arguments.


function screen_command()

Parameters:

Description

This function is not used, and probably won't be. It is a way to run a command in a screen. The .!!| args to exec were determined by trial and error. ::: didn't work.


function screen_new_window()

Parameters:

Description

Window type may be one of:

  • SCREEN_CAST_WIN
  • SCREEN_SUMMON_WIN
  • SCREEN_MAIN_WIN
  • SCREEN_LAST_FAILED_CAST_WIN
  • SCREEN_DEBUG_WIN Only one of each type is allowed to exist at once They are actualy window numbers in disguise


    function screen_attach()

    Parameters:

    Description

    Attaches the named screen session to the tty. Doesn't work properly since screen doesn't like being run in the bg. Default escape code is ^A.


    function screen_detach()

    Parameters:

    Description

    Detaches the named screen session from the tty.


    function screen_kill_window()

    Parameters:

    Description

    Kills the window in the session. Also notifies the user that the window was closed


    function screen_name_window()

    Parameters:

    Description

    Give an existing window a new name


    function screen_name_curr_window()

    Parameters:

    Description

    Give aname to the current window. There are race conditions aplenty if you're not careful


    function screen_notify()

    Parameters:

    Description

    Notify the user of something happening using the status bar


    function screen_monitor_window()

    Parameters:

    Description

    Sets a window to be monitored. The user will be informed of any activity in the window.


    function screen_unmonitor_window()

    Parameters:

    Description

    Stops a window from being monitored


    function screen_switch_window()

    Parameters:

    Description

    Changes the window the user sees


    function screen_quit()

    Parameters:

    Description

    Ends the screen session. Should end all processes running in the screen.


    function screen_move_window()

    Parameters:

    Description

    Moves a window to a new number If something is already at that number, it swaps them


    function screen_set_msgwait()

    Parameters:

    Description

    Sets the time screen shows messages for