Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions simulator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ setenv PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig

- Sorry we haven't gotten around to that yet, but certainly would be possible to build
this on Linux or FreeBSD... but not Windows.


15 changes: 10 additions & 5 deletions simulator/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,16 @@ def sock_cleanup():
+ sys.argv[1:]
print('cc_cmd: {}'.format(passport_cmd))

xterm = subprocess.Popen(['xterm', '-title', 'Passport Simulator REPL',
'-geom', '132x72+0+0', '-e'] + passport_cmd,
env=env,
stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
pass_fds=pass_fds, shell=False)
xterm = subprocess.Popen([
'xterm', '-title', 'Passport Simulator REPL', '-geom', '132x72+0+0',
'-xrm', 'XTerm*selectToClipboard: true',
'-xrm', 'XTerm*VT100*translations: #override\n'
'Ctrl Shift <Key>C: copy-selection(CLIPBOARD)\n'
'Ctrl Shift <Key>V: insert-selection(CLIPBOARD)',
'-e'] + passport_cmd,
env=env,
stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
pass_fds=pass_fds, shell=False)

print("COMMAND: " + " ".join(passport_cmd))

Expand Down