[mike@lab_wu ~]$ trap trap -- '' SIGTSTP trap -- '' SIGTTIN trap -- '' SIGTTOU
When I change terminal window in bash, the size update correctly, So i guess it casue by vim. BUT I am wrong. I enter repl of python, and press F11 to fullscreen, quit, echo $COLUMNS $LINES, it reamins 80 24. I dont know why... 2012/6/29 John Little <[email protected]> > On Friday, June 29, 2012 1:22:06 PM UTC+12, sgra ekim wrote: > > I use vim in xfce terminal, I always launch vim then fullscreen the > window, this cause the height and width changed. but when I quit vim and > type a long line in bash's readline, the line mess wraped. > > > > I get that SIGWINCH force bash to update it's $LINES and $COLUMN from > bash's manual. SO i guess when I fullscreen in vim, vim traps the signal, > and the bash doesn't know this. > > No help to you, but my konsole in KDE doesn't do that. Nor does > gnome-terminal in Gnome, and I even booted into XFCE from my > systemrescuecd, and it didn't do it; LINES and COLUMNS set correctly back > in bash. My understanding is that the signal is sent to every process in > the process group, vim's catching it doesn't stop bash from getting it. > > Conceivably, your bash has been told to ignore the signal, or do something > else. What does the bash builtin trap say after you exit vim? > > Regards, John > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
