bindings = new StandardBindings(client.getPrintWriter(), client.getRemoteClient());
// init pretty width with console setting
bindings.getPretty().getValue().setWidth(client.getConsoleWidth());
// replace ResourceClientFactory with Editable version or none at all
if (client.getRemoteClient() != null) {
bindings.getProxyFactory().setValue(new EditableResourceClientFactory(client));
} else {
bindings.getProxyFactory().setValue(null);
}
//non-standard bindings for console