Minor annoyance with the Screen linux utility; when connected to a Linux (Fedora) box from my Mac (using Terminal), when I'm writing out a long command, usually when the text reaches the edge of the terminal window, the cursor drops down a line and continues the command. However, if I'm currently on the bottom row of the terminal, and run off the edge, instead of adding a new line and pushing everything up, it blanks the line and puts the cursor at the beginning of the row. If I grab the terminal window and resize its width, the command automatically pops down to a second row as the screen refreshes. Is there a way to get the command to break to a second row properly without resizing the window? Some configuration setting in Screen to get it to play nicely with Mac's Terminal?
|
Try adding the following to your remote-side
Do Ctrl-A I made this change to disable screen's internal scrollback buffer and allow Terminal's scrollbar to work properly. As a happy side-effect, it appears to have also fixed this problem. Note: this setting will mess with screen's ability to switch between multiple windows in the same screen session. (Source) |
|||
|
|
|
Hmm, screen's auto-set terminal type of You may also want to try different preferences for the Terminal.app (Advanced Settings -> Describe terminal as:") -- Again describing the terminal as Alternatively try |
|||||
|
TERMenvironment variable)? – voretaq7♦ May 23 '11 at 16:44echo $TERMisscreen. Outside that isxterm-color(an SSH connection). What should they be changed to? – MidnightLightning May 23 '11 at 16:45