Command-line arguments (Server): Difference between revisions

From FileZilla Wiki
Jump to navigationJump to search
(VDgPKZlenyBXeKeL)
(lfMpNeTeRlFHof)
Line 1: Line 1:
You just restored my sitnay ! I just converted from iTerm to iTerm2, and found that some of my nice alias commands didn't work. I checked I was in the same shell, logged in with the same switches. One specific issue I stripped down to find that a simple  ps -u' worked in iTerm but bombed in iTerm2 (and in Terminal). I was completely mystified, because surely they are both just dumb terminals running a simple unix command ? But I just checked and indeed iTerm login has COMMAND_MODE=legacy and iterm2 has COMMAND_MODE=unix2003 .
Correction: 33OH and 33OF are not the same as the home and end keys on your keyboard, and in ceirtan applications (such as vim), this causes ridiculously grotesque behavior. For home, you really want 33[1~ while for end you want 33[4~ and for shift home and shift end you want 33[7~ and 33[8~ respectively.

Revision as of 04:35, 23 August 2012

Correction: 33OH and 33OF are not the same as the home and end keys on your keyboard, and in ceirtan applications (such as vim), this causes ridiculously grotesque behavior. For home, you really want 33[1~ while for end you want 33[4~ and for shift home and shift end you want 33[7~ and 33[8~ respectively.