And similarly, the baring of the shoulder that was practiced in their days—it is not practiced during chol ha-moed. And similarly regarding the seudat havra'ah—one does not provide the meal of consolation during chol ha-moed except for the relatives and not the distant ones, and the same law applies to Chanukah, Purim, and Rosh Chodesh. And there is one who holds that there is no havra'ah at all during chol ha-moed (Beit Yosef in the name of the Semag and Semak). The Rosh rejected this, and our teacher, the Beit Yosef, ruled accordingly in section 4 (Shulchan Aruch Yoreh Deah 401:4). However, now it seems to me that we do not practice havra'ah during chol ha-moed. And that which was explained in siman 378, that after the festival one provides the meal on the day that mourning is practiced—this is a different havra'ah aside from chol ha-moed. But our teacher, the Rema, wrote there that we do not practice the havra'ah that follows the festival, see there. And there is also a change regarding the havra'ah of chol ha-moed, for on a weekday one provides the meal on overturned beds as I wrote there, but during chol ha-moed one provides the meal on upright beds. And that which only the relatives provide the meal during chol ha-moed—this is for ordinary people. But for a sage who died—everyone provides the meal for him in the street in the manner that one provides for relatives, for everyone is like his relatives, and there is no festival in the presence of a talmid chacham. But on the Yom Tov itself when they bury the deceased, even on the second day of Yom Tov, one does not perform keriah, nor does one bare the shoulder, nor does one provide the meal of consolation.
וכן חליצת כתף שהיה בימיהם – אינה נוהגת בחול המועד. וכן לענין סעודת הבראה – אין מברין בחול המועד אלא הקרובים ולא הרחוקים, והוא הדין לחנוכה ופורים וראש חודש. ויש מי שסובר דאין הבראה כלל בחול המועד (בית יוסף בשם סמ"ג וסמ"ק). והרא"ש דחה זה, וכן פסק רבינו הבית יוסף בסעיף ד (שולחן ערוך יורה דעה תא, ד). אמנם עתה כמדומני שאין נוהגים בחול המועד בהבראה. וזה שנתבאר בסימן שע"ח דאחר הרגל מברין ביום שנוהג אבלות – זהו הבראה אחרת לבד דחול המועד. אך רבינו הרמ"א כתב שם דאנחנו אין נוהגין בהבראה שלאחר המועד, עיין שם. וגם יש שינוי בהבראה דחול המועד, דבחול מברין על מיטות כפויות כמו שכתבתי שם, ובחול המועד מברין על מיטות זקופות. וזה שרק הקרובים מברין בחול המועד – זהו בסתם בני אדם. אבל על חכם שמת – מברין הכל עליו בתוך הרחוב כדרך שמברין את הקרובים, שהכל כקרוביו, ואין מועד בפני תלמיד חכם. אבל ביום טוב עצמו כשקוברין המת, אפילו ביום טוב שני אין קורעין, ולא חולצין כתף, ולא מברין.