delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/04/07:01:48

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
:content-type:content-transfer-encoding; q=dns; s=default; b=x4q
ExYM/UcQTtbsQjpfcK6tN+tB1eK8N5Q/BF/oCNufadnIJgoXSDkTcExJGlNBk6Ke
aKRT5kWPlxeoGT3V86MEPvnvQ9gaE0igMAvcvi6HBIsORUIFVZ4lSNxe2mjk0mJt
AG2I1Qfrc0gK9F4OaIYfkAn+vF0HtS8xC6YFdtUQ=
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
:content-type:content-transfer-encoding; s=default; bh=4l2y2wfgr
Xe+pm2hrV4Fca/nXCs=; b=tioItEmQiXGFzJaXY8TjJBrSQvfmBIVDg0lx8W74a
cYrpbrNwJ5fyRe5lHAna8E/geO8sXOfxHAdBVpKiqQNhAmNgVUqaNmnxe1wYqWC8
RxC431xShCbYoRGlyZmyworfIu7n9XGVQ15kRCt4AfjfUJUNyF2+zmj07rWatd/x
g8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.1 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: <54804D0D.8040703@openmailbox.org>
Date: Thu, 04 Dec 2014 15:01:17 +0300
From: cyg <cyg3498 AT openmailbox DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: zsh newline issues
X-IsSubscribed: yes

$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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019