On 30 Sep 99 at 11:56, pioppoat_private wrote: > Wed, 29 Sep 1999, in a message titled "Kvt bug", Sebastian Wain wrote: > > >In the xterm there is a feature to change the title of the window > >You can change the title of the window sending one of the escape codes of the > >xterm. > >(linux: man console_codes) > > >By Example: > > >ESC]2;This is my Xterm^G > > >This escape code changes the xterm's title to "This is my Xterm" > > >Obviously You can do the same using the kvt (Kde Virtual Terminal). > >But the kvt has a buffer overflow. If the size of the new title of the > >window is big enough then the kvt will do a core dump. > > xterm too (version 3.3.2.3) coredumps... > I tried this with echo -e "\033]2;(60e+06 times 'a')\007" Tried the same with xterm 3.3.3 on i586, 64M RAM, 128M swap, continuously increasing the number of 'a's (perl -e 'print "a" x 60000', 600000, 600000...). But instead of xterm crash got Fvwm2 hangup after 6e6 "a"s. I.e. everything else works -- I ould even press the "play" button in x11amp with mouse, except Fvwm2. "strace -p <fvwm2pid>" shows that Fvwm2 waits infinitely on select(). The only choice was to kill the window manager. All progs are from stock RedHat 6.0/i386 -- "Fvwm Version 2.2 compiled on Apr 9 1999 at 16:15:38". ___________________________________________________________________ Dmitry Yu. Bolkhovityanov | Novosibirsk, RUSSIA phone (383-2)-39-49-56 | The Budker Institute of Nuclear Physics | Lab. 5-13
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 15:06:20 PDT