日期:2014-05-16  浏览次数:21137 次

有方法让命令窗口执行命令之后整齐输出信息么
各位大哥大姐,麻烦看看下面的命令行显示,
想问问 如何让信息工整显示出来呢,而不是截断换行显示,就算要换行显示能不能工整对齐?
谢谢解答!

mysql> show table status like 'workinfo';
+----------+--------+---------+------------+------+----------------+------------
-+-----------------+--------------+-----------+----------------+----------------
-----+---------------------+---------------------+----------------+----------+--
--------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length
 | Max_data_length | Index_length | Data_free | Auto_increment | Create_time
  | Update_time | Check_time | Collation | Checksum | C
reate_options | Comment |
+----------+--------+---------+------------+------+----------------+------------
-+-----------------+--------------+-----------+----------------+----------------
-----+---------------------+---------------------+----------------+----------+--
--------------+---------+
| workinfo | MyISAM | 10 | Dynamic | 0 | 0 | 0
 | 281474976710655 | 1024 | 0 | 1 | 2012-02-24 19:1
4:59 | 2012-02-24 19:14:59 | 2012-02-24 19:14:59 | gbk_chinese_ci | NULL |
  | |
+----------+--------+---------+------------+------+----------------+------------
-+-----------------+--------------+-----------+----------------+----------------
-----+---------------------+---------------------+----------------+----------+--
--------------+---------+
1 row in set (0.00 sec)

------解决方案--------------------
把你的窗口设置一下。属性-布局 里面可以设置宽、高。