X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=opTucLLNAme7AbwWWAmeGum6ujmNDLbtwTopbKhJI0i RHLrw8hcG0odadxJopDyATyj7I+SVhQq0WRxK6q+DITlkl8lDbgxX493bhxzIXBl MQlIHY/DN4O3yTy1qKRgQ5c4uRonwrw+/Jnl0quWEO9tCMDKacVqip6tREeXfvlg = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=7eKFildf0LiIkun9mums6p6+WcE=; b=ZJxh7XXI49QiFvrTK edxzBFA9ENdrUbudtgjOFL1xPEv/1Uv3f6wMIuHsQ3FjecJFnFhPNCgZZX6klAkH si6cWnt1mLiblXKlpQtXDuTnOK5uIV+VElvZZXvLxnASca+jEIAy8bSQExG5c9sB nrLs775/22+g271gEgBiwyP2tQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail.openmailbox.org Message-ID: <5482D789.9050407@openmailbox.org> Date: Sat, 06 Dec 2014 13:16:41 +0300 From: cyg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: zsh newline issues References: <54804D0D DOT 8040703 AT openmailbox DOT org> In-Reply-To: <54804D0D.8040703@openmailbox.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 12/4/2014 3:01 PM, cyg wrote: > $uname -a > CYGWIN_NT-6.1 host 1.7.33-2(0.280/5/3) 2014-11-13 15:47 x86_64 Cygwin > $mintty --version > mintty 1.2-beta1 (x86_64-pc-cygwin) > (C) 2013 Andy Koppe > License GPLv3+: GNU GPL version 3 or later > There is no warranty, to the extent permitted by law. > $zsh --version > zsh 5.0.6 (x86_64-unknown-cygwin) > > experiencing strange issues with newline, which is not constantly being > printed with carriage return. E.g. > > $cd ~ > $mkdir foo > $vim > ^Z > > [1] + 4936 suspended vim > $vim > ^Z > [1] + 4936 continued vim > > [1] + 4936 suspended vim > $cd foo > $vim > ^Z > [1] + 4936 continued vim > (pwd : ~) > > [1] + 4936 suspended vim > (pwd now: ~/foo) > $vim > :q > [1] + 4936 continued vim > (pwd : ~) > (pwd now: ~/foo) > > This happens every time with jobs and sometimes with other programs, > like python printing lines. First time I thought it's because of a > multi-line prompt, but changing it to a single-line one did nothing. > Next thing I tried was messing with PROMPT_SP and PROMPT_CR, but one > does not simply mess with nopromptcr and nopromptsp. The list of options > (kshoptionprint) is as follows: > > noaliases off > allexport off > noalwayslastprompt off > alwaystoend on > noappendhistory off > autocd on > autocontinue off > noautolist off > noautomenu off > autonamedirs on > noautoparamkeys off > noautoparamslash off > autopushd on > noautoremoveslash off > autoresume on > nobadpattern off > nobanghist off > nobareglobqual off > bashautolist off > bashrematch off > nobeep off > nobgnice on > braceccl on > bsdecho off > nocaseglob on > nocasematch off > cbases off > cdablevars on > chasedots off > chaselinks off > nocheckjobs on > noclobber on > combiningchars on > completealiases off > completeinword on > continueonerror off > correct on > correctall off > cprecedences off > cshjunkiehistory off > cshjunkieloops off > cshjunkiequotes off > cshnullcmd off > cshnullglob off > nodebugbeforecmd off > dvorak off > emacs off > noequals off > errexit off > errreturn off > noevallineno off > noexec off > extendedglob on > extendedhistory on > noflowcontrol on > forcefloat off > nofunctionargzero off > noglob off > noglobalexport off > noglobalrcs off > globassign off > globcomplete off > globdots off > globsubst off > nohashcmds off > nohashdirs off > hashexecutablesonly off > nohashlistall off > histallowclobber off > nohistbeep off > histexpiredupsfirst on > histfcntllock off > histfindnodups on > histignorealldups on > histignoredups on > histignorespace on > histlexwords off > histnofunctions off > histnostore off > histreduceblanks off > nohistsavebycopy off > histsavenodups on > histsubstpattern off > histverify on > nohup on > ignorebraces off > ignoreclosebraces off > ignoreeof off > incappendhistory on > incappendhistorytime off > interactive on > interactivecomments off > ksharrays off > kshautoload off > kshglob off > kshoptionprint on > kshtypeset off > kshzerosubscript off > nolistambiguous off > nolistbeep off > listpacked off > listrowsfirst off > nolisttypes off > localloops off > localoptions off > localpatterns off > localtraps off > login on > longlistjobs on > magicequalsubst off > mailwarning off > markdirs off > menucomplete off > monitor off > nomultibyte off > nomultifuncdef off > nomultios off > nonomatch off > nonotify off > nullglob off > numericglobsort off > octalzeroes off > overstrike off > pathdirs on > pathscript off > pipefail off > posixaliases off > posixargzero off > posixbuiltins off > posixcd off > posixidentifiers off > posixjobs off > posixstrings off > posixtraps off > printeightbit off > printexitvalue off > privileged off > promptbang off > nopromptcr off > nopromptpercent off > nopromptsp off > promptsubst off > pushdignoredups on > pushdminus off > pushdsilent on > pushdtohome on > rcexpandparam off > rcquotes on > norcs off > recexact off > rematchpcre off > restricted off > rmstarsilent off > rmstarwait off > sharehistory on > shfileexpansion off > shglob off > shinstdin on > shnullcmd off > shoptionletters off > noshortloops off > shwordsplit off > singlecommand off > singlelinezle off > sourcetrace off > sunkeyboardhack off > transientrprompt off > trapsasync off > typesetsilent off > nounset off > verbose off > vi off > warncreateglobal off > xtrace off > zle off > > Am I missing something? Could someone comment on this? > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > It seems that newline breakage happens after jobs list was first time shown. I was able to reproduce it with default cygwin + zsh/vim setup and the following minimal .zshrc: setopt longlistjobs setopt autoresume -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple