On k, szept 04, 2012 at 18:15:29 -0400, Ted Unangst wrote: > I move my windows around and even resize them sometimes. Sometimes > ksh catches on, but a lot of the time it doesn't. The problem is if > I'm running an editor like vi (kinda common reason why I'd want to > resize the terminal), sigwinch doesn't get to ksh. Then when I exit > the editor, command line editing is all messed. > > Fix is simple. Pretend we got a sigwinch whenever we do the regular > mailcheck/jobs notify stuff. Then the edit code will check the > current status. [...]
This doesn't work for me inside either urxvt or xterm. I've resized the windows but the end of the line remained more far than the windows' edge. Do I understand correctly that this patch would make ksh always recalculate the editor's line end if a terminal window resize occurs? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
