修改SecureCRT显示宽度

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.
  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值