Minor workaround to handle 80 character wraparound on FreeBSD.
This commit is contained in:
svn%xmlterm.org 2000-04-16 01:56:11 +00:00
Родитель 113d79048c
Коммит 782898ae0a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -563,11 +563,11 @@ int lterm_open(int lterm, char *const argv[],
if ((lts->processType == LTERM_CSH_PROCESS) ||
(lts->processType == LTERM_TCSH_PROCESS)) {
/* C-shell family */
shellInitFormat = "setenv LTERM_COOKIE '%s'; if (-f $HOME/.xmltermrc) source $HOME/.xmltermrc\n";
shellInitFormat = "setenv LTERM_COOKIE '%s'\n";
} else {
/* Bourne-shell family */
shellInitFormat = "LTERM_COOKIE='%s'; export LTERM_COOKIE; if [ -f $HOME/.xmltermrc ]; then source $HOME/.xmltermrc; fi\n";
shellInitFormat = "LTERM_COOKIE='%s'; export LTERM_COOKIE\n";
}
/* **** WATCH OUT FOR BUFFER OVERFLOW!!! *** */