因为老是出现好像刚连接时出现行数没有对齐,得ctrl+l一下才能修改到正确的地方,估计是和字体有关系,此次再次实践注意一下:
1)全局设置:Options - Global Options - Terminal - Appearance - Maximumcolumns - 256,并勾选上show horizontal scroll bar。
2)session设置:Options - Session Options - Terminal -Emulation - Logical Columns设置成255,勾选上Retain size and font,Logicalrows设置成42(刚好满屏)、Scrollbackbuffer设置成5000(这样纵向滚动屏就可以缓存更多内容,但占内存),另外Terminal - Appearance - Window -选上Show horizontal scroll bar,然后重新连接。
=============================================================================================
经常会碰到这种问题,在LINUX上使用isql命令加-w 500参数连到SYBASE数据库中做select查询的结果老是显示混乱.很是郁闷,由于我是在SecureCRT连入到LINUX的,在网上也没有找到合适的答案,PUTTY倒是看到有解决的方法.可惜SecureCRT没找到.
今天无意中发现SecureCRT也有设置的地方,可惜不好传图片,就文字说明一下吧
设置方法
当你用SecureCRT建好一个连接后,在这个连接上点右键,再点 Properties (或直接按快捷键 ALT+ENTER) ,这时再点 Emulation 在右边的 Size 下的 Logical 栏中输入列宽的大小,像我的Windows屏幕是 1024*768的, 在这里我输入了500,然后再选中 右边单选项Onresize 中的 Retain size and font ,选好后再点OK,连接到 Linux ,这时屏幕下方会有一个滚动条,呵呵.再用
isql -w 5000 -Usa -P -SSERVER 连到sybase 查询一条命令试试
1> sp_helpdb
2> go
呵呵.是不是很漂亮了,再也不会混乱了..
来自:http://blog.chinaunix.net/uid-310409-id-2439822.html
每次用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.
来自:http://shan275.blog.163.com/blog/static/4872659120112802823481/
1)全局设置:Options - Global Options - Terminal - Appearance - Maximumcolumns - 256,并勾选上show horizontal scroll bar。
2)session设置:Options - Session Options - Terminal -Emulation - Logical Columns设置成255,勾选上Retain size and font,Logicalrows设置成42(刚好满屏)、Scrollbackbuffer设置成5000(这样纵向滚动屏就可以缓存更多内容,但占内存),另外Terminal - Appearance - Window -选上Show horizontal scroll bar,然后重新连接。
=============================================================================================
经常会碰到这种问题,在LINUX上使用isql命令加-w 500参数连到SYBASE数据库中做select查询的结果老是显示混乱.很是郁闷,由于我是在SecureCRT连入到LINUX的,在网上也没有找到合适的答案,PUTTY倒是看到有解决的方法.可惜SecureCRT没找到.
今天无意中发现SecureCRT也有设置的地方,可惜不好传图片,就文字说明一下吧
设置方法
当你用SecureCRT建好一个连接后,在这个连接上点右键,再点 Properties (或直接按快捷键 ALT+ENTER) ,这时再点 Emulation 在右边的 Size 下的 Logical 栏中输入列宽的大小,像我的Windows屏幕是 1024*768的, 在这里我输入了500,然后再选中 右边单选项Onresize 中的 Retain size and font ,选好后再点OK,连接到 Linux ,这时屏幕下方会有一个滚动条,呵呵.再用
isql -w 5000 -Usa -P -SSERVER 连到sybase 查询一条命令试试
1> sp_helpdb
2> go
呵呵.是不是很漂亮了,再也不会混乱了..
来自:http://blog.chinaunix.net/uid-310409-id-2439822.html
每次用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.
来自:http://shan275.blog.163.com/blog/static/4872659120112802823481/
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/8631/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2016-11-17 16:07
评论列表