#!/usr/bin/python # # This file contains definitions that describe the output of your esh. # # You may adapt all settings in this file to match the output of your # shell. (Alternatively, you may write your shell to match these templates.) # # the shell executable. shell = "./esh" # the prompt printed by your shell prompt = "esh>" custom_prompt = "esh>|custom prompt>" # # simple regular expression to match "tlu Wed Sep 23 04:55:44 2015" # as username and datestr # entry_regex = "(\S+)\s+(.+)\r\n" # # builtin commands # # If your shell requires a % before the jobid, use %%%s. # builtin_commands = { 'lastin' : 'lastin' } # Uncomment this line if you like stdriver.py to keep a log of everything # input and output to the pty in file 'log.txt' # #logfile=open("lastlog.txt", "w")