1. 程式人生 > >securecrt 列印不全的問題解決辦法;

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.