#!/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 # whoisin # tlu :0 ( :0) Tue Sep 15 20:54:18 2015 # tlu pts/3 ( :0) Wed Sep 16 18:35:04 2015 # # as cmd and result whosisin read as command and the rest are result # entry_regex = "(\S+)\s+(.+)\r\n" # # builtin commands # # If your shell requires a % before the jobid, use %%%s. # builtin_commands = { 'whoisin' : 'whoisin' } # 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("whoisinlog.txt", "w")