secureCRT 改变显示宽度[z]

secureCRT 改变显示宽度

每次用secureCRT登陆后sqlplus查询数据都是折行显示,即使set lines 1024参数后也没用,很不爽,今天终于搞定了。
SecureCRT v5.5.1 (build 407) 

1、首先全局设置:Options - Global Options - Terminal - Appearance - Maximumcolumns 最大只能设置成1024(推荐256),设置越大越占用内存,并选上show horizontal scrollbar,然后重启SecureCRT;

2、然后session设置:Options - Session Options(或者Global Options - General -Default Session - Edit Default Session,这样就可以设置所有的Session) - Terminal -Emulation - Logical Columns设置成255(推荐255,主要是因为Sqlplus里Dbms_output.put_line最多显示255字符限制,这里最大值只能设置成上面Maximum columns大小,并选上Retain size and font)、Logicalrows设置成42(刚好满屏)、Scrollbackbuffer设置成5000(这样纵向 滚动屏就可以缓存更多内容,但占内存),另外Terminal - Appearance - Window -选上Show horizontal scroll bar,然后重新连接。

附官方论坛开发人员的解释:

There are also a couple of other settings which should allow you scroll to the right.
Besides increasing the column amount as MikeStammer mentioned tosomething higher then 132 in the 'Emulation' sub-category under'Terminal' in the session options. Another option that needs to beenabled is 'Retain size and font' in that same category.
If the columns are not increase, the remote will not even send theinformation after 132 characters. In this case, setting it to 200 or256 will ensure that no informaiton is left off from the editors.
The 'Retain size and font' option will have SecureCRT leave the fontsize alone so that any extra text will just appear off the screenallowing you to scroll to it. You will also be able to manually resizeyour window without affecting the font size.
The maximum number of columns in SecureCRT can be increased by changingthe 'Maximum columns' setting in the 'Appearance' sub-category under'Terminal' in the 'Global Options'.then restart SecureCRT, you willthen be able to change any of your session logical columns to 1024.
The maximum number of columns that can be set is 1024.
As the maximum number of columns allowed is increased, the memory usageof SecureCRT is also increases. The default of 132 columns was set toallow the least memory usage and yet still be compatible with mostapplications.

你可能感兴趣的:(secureCRT 改变显示宽度[z])