VanDyke Software Forums

Go Back   VanDyke Software Forums > SecureCRT 5.1/SecureFX 3.1/VShell 2.6 Beta
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
  #1  
Old 04-13-2005, 01:18 PM
scrtuser01 scrtuser01 is offline
Registered User
 
Join Date: Dec 2004
Posts: 8
Can anyone explain how the column settings work???

I've tried adjusting the column parameters in the Global and Session options but to no avail.

The command line does not extend to the end of the window. For example, if my window is maximized to 180 characters the actual line where I can type my commands is only 113 chars long. After 113 chars I get a "<" symbol and the command shifts left so I can keep typing. Basically, a 1/3 of the window is wasted. I get this regardless of the size of the window and whether or not it is resized.

Any idea why this occurs or how to fix it?

Many Thanks!!
David
  #2  
Old 04-13-2005, 05:59 PM
MrC MrC is offline
Registered User
 
Join Date: Mar 2004
Posts: 216
Go to Global Options->Appearance and set Maximum Columns to something like 200.
  #3  
Old 04-14-2005, 09:10 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
> The command line does not extend to the end of the window.
> For example, if my window is maximized to 180 characters
> the actual line where I can type my commands is only 113
> chars long. After 113 chars I get a "<" symbol and the
> command shifts left so I can keep typing. Basically, a 1/3
> of the window is wasted. I get this regardless of the size
> of the window and whether or not it is resized.
>
> Any idea why this occurs or how to fix it?
Often these sorts of problems can occur if SecureCRT and the remote machine do not have the same understanding of the current terminal size (rows and columns).


Which version of SecureCRT are you running (Help / About SecureCRT...) ?


What OS is the remote machine running?


Does this behavior occur only on the command line, within an editor such as vi or emacs, or does it happen "everywhere" when connected to this particular machine?


If it is on a Unix system, what is the output of the 'stty -a' command issued at the shell prompt?


_
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
  #4  
Old 04-14-2005, 10:07 AM
MrC MrC is offline
Registered User
 
Join Date: Mar 2004
Posts: 216
scrtuser01,

I'm sorry, my response might have been too glib and I was not paying very close attention to your question. I presumed, like many others, that you had not discovered the gloabal Columns options. If this was incorrect, my apologies. Just to be safe, be sure that you've set your Global Options *before* you log in to your remote host.

As jdev mentions, it sounds like your remote host's notion of columns is incorrect. Both:

env | grep COL

and

stty -a

will give you more information in a Unix/Linux box.

The behavior you describe sounds like VIM's when the wrap option is disabled. These settings in vim will affect such behavior:

:unset wrap
:set lcs=extends:>,precedes:<


And the '<' chars in the shell is most likely the bash shell's behavior when horizontal-scroll-mode is enabled (bash uses GNU's readline library) . It can be disabled with the line set horizontal-scroll-mode Off in the file $HOME/.inputrc (start a new shell if you don't know how to have .inputrc be re-read).

Let us know the remote host's OS and if the assistance here helps.
  #5  
Old 04-14-2005, 02:59 PM
scrtuser01 scrtuser01 is offline
Registered User
 
Join Date: Dec 2004
Posts: 8
Got it now!

/> stty -a
rows = 55; columns = 160; ypixels = 0; xpixels = 0;

The columns on the UNIX server were set to 160 and the columns in SecureCRT were set larger. They are now in sync and it works as expected.

Thanks for the quick responses!!

btw -- Win XP Pro, Version 5.0.0 (build 845) - Beta Release - April 5, 2005
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:56 PM.


copyright 1995-2017 VanDyke Software, Inc.