vim在secureCRT 改變顯示寬度

來源:互聯網
上載者:User
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.
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.