Hi All.
I am using vim with gdb through expect script.
I have key mapped to sh script which call expect script which call gdb
which call my console application.
*vim -> sh -> expect -> gdb -> myApplication*
So when I pressing ;d in vim I got GDB with my application started and
breakpoint set to string where vim cursor pointed.
I am using the folowing code in my expect script.
*trap interact {SIGQUIT}*
This allow me to stop expect script manually by pressing Control-\ which
sends SIGQUIT to expect and give control to me.
I am migrating from fedora core 4 to ubuntu 11.10.
And all works except one issue:
When I press Control-\ in ubuntu I got not gdb or application on the screen
but I got messed screen with vim and gdb and my application.
And it messed while I not send SIGKILL to vim.
Here is terminal settings for both OS:
*Ubuntu 11.10:*
*c@cwd:~$ stty -a*
*speed 38400 baud; rows 55; columns 167; line = 0;*
*intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2
= <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W;*
*lnext = ^V; flush = ^O; min = 1; time = 0;*
*-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts*
*-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon
-ixoff -iuclc -ixany -imaxbel iutf8*
*opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0*
*isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt echoctl echoke*
*Fedora Core 4:*
*c:~% stty -a*
*speed 38400 baud; rows 55; columns 167; line = 0;*
*intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2
= <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext
= ^V;*
*flush = ^O; min = 1; time = 0;*
*-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts*
*-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc -ixany -imaxbel*
*opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0*
*isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt echoctl echoke*
I can't understand what is wrong. Could you please help me to resolve the
issue?
Thanks
--
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