private void display(String rest)
		throws IOException, SQLException, SyntaxException {

		// setOutputMode(OutputMode.t);
		if (rest.equals("t")) {
			// Display list of tables
			DatabaseMetaData md = conn.getMetaData();
			ResultSet rs = 
				md.getTables(null, null, "%", new String[]{"TABLE","VIEW"});
			textDecorator.setWriter(out);
			textDecorator.write(rs);
			textDecorator.flush();
		} else if (rest.startsWith("t")) {
			// Display one table. Some DatabaseMetaData implementations
			// don't do ignorecase so, for now, convert to UPPERCASE.
			String tableName = rest.substring(1).trim();
			if (upperCaseTableNames) {
				tableName = tableName.toUpperCase();
			}
			System.out.println("-- Display table " + tableName);
			DatabaseMetaData md = conn.getMetaData();
			ResultSet rs = md.getColumns(null, null, tableName, "%");
			currentDecorator.displayTable(tableName, rs);
			textDecorator.flush();
		} else
			throw new SyntaxException("\\d"  + rest + " invalid");
	}