Hi fvwm-workers,

the 1024 char limit in the read line buffer in fvwm/read.c has become too small.
This caused a breakage in my MissingSubmenuFunction menu generator
after after addition of programs + update; the Popup did not display.

Could the buffer be extended to, say, 4096 chars?

Thank you!
Stefan



P.S.:
Explanation of the problem:
The line got so long because it holds all filename extensions used for
"text" category files.
I use the filename extensions so one can use the menu to browse
through the directories and see only files of a particular kind (e.g.
text, graphics, audio, video).

The generated menu line that showed the breakage was this one:

+ "Text"         Popup
"mode=D_BROWSE;fexts=.,event-stream,bas,sl,oxps,html,for,stm,dot,xhtml,cb7,icz,el,vtt,mkd,java,jav,xll,cbz,fly,odb,oxt,sgl,xlc,mar,csv,tm,cls,zsh,word,asp,idc,wp6,cc,xps,xpi,scurl,w6w,h++,p,moc,abc,lua,xlt,htt,urls,pdf,xlsm,htx,m,lst,mcf,htm,wdb,uu,pl,h,flx,xltx,dic,ps,ifb,shtml,odt,unis,uni,xltm,js,odft,xht,123,def,mbox,dsc,uls,appcache,pas,sxw,ttl,stc,dotx,in,manifest,docm,sct,atom,log,rtx,sub,gv,uue,xlm,csh,si,wmls,pqa,tcsh,c++,list,markdown,3dml,xlsb,cbt,rexx,ssi,g,f90,vcs,tr,xul,txt,sfv,docx,pot,com,pm,ics,text,rss,tk,wiz,nfo,f77,wk,tex,otm,hpp,pdb,ts,spot,stw,css,c,wp5,py,vcf,odf,rt,spc,s,man,xla,ai,cbr,wsc,xlb,aps,me,sxm,ods,opml,wp,uris,gcd,tsv,lsp,roff,odc,htc,xlv,vcard,ltx,otc,acgi,lwp,odm,xml,uri,xlsx,asc,wks,curl,hh,etx,uil,mcurl,diff,xsl,cpp,ms,wcm,sgml,asm,mml,rtf,wpd,xld,par,hlb,scm,xlk,mathml,f,ott,htmls,ots,dcurl,323,tcl,rdf,n3,talk,wml,conf,lsx,wri,doc,aip,cxx,cba,sxc,t,dotm,sty,eps,hxx,sxg,xlw,xpdl,epub,xls,oprc,xl,sdml,sgm,sh,oth,wk1,md,wps,abw,jad,ksh;file=/home/stefan;flags=hidden"

Reply via email to