Re: Issue with system command in Octave 4.0.0 GUI
On 19/10/2015 21:11, James R. Phillips wrote: Hello, The new Octave 4.0.0 GUI is very impressive. I did discover an issue, though. Using the system command with 'bash" as an argument, i.e, system('bash') should yield a bash command prompt in the command window. However, this causes the command line interface to hang. This works in the command-line version.. The system command with other legal bash commands (e.g. 'ls') seems to work fine in the GUI. I am running 64-bit Cygwin. Output of cygcheck attached. Regards James R. Phillips Hi James, yes, your old package is grown up a bit. About your question, I am not so sure that it is expected to work. https://www.gnu.org/software/octave/doc/interpreter/Controlling-Subprocesses.html The bash process is not run in a proper terminal so it has no access to command inputs, while octave is waiting for its termination. If you use system("xterm"), than bash works in a separate terminal and octave does not hang. Regards Marco -- 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
Re: How to correctly rebase?
Warren, On Monday, 2015-10-19 17:59:23 -0600, you wrote: > ... > If nothing else, this would have gotten you back into action a lot faster > than the 7 days you’ve been fighting with your current installation. In hindsight, yes maybe. But it's a long known corollary to Murphy's Law that when you're searching for some solution you'll always find in the last place you look for it. > ... > > Service : cron > > Display name: Cron daemon > > Current State : Running > > Someone else caught this, but I’ll repeat it: Until the Cygwin cron > service is stopped, Cygwin is still running, so a rebaseall will not > be as effective as it should be. Well, for me it's quite normal that "cygserver" and "cron" are running when I'm reading or writing mail or even when I'm running "cygcheck". However, this doesn't necessarily mean that they were running while I tried to rebase. Sincerely, Rainer -- 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
Re: Terminfo bug in screen-256color
On Mon, 2015-07-20 at 07:15 +, Achim Gratz wrote: > Now that mintty has been updated, a terminfo bug in the screen-256color > entry described here > > http://stackoverflow.com/questions/10535432/tmux-man-page-search-highlighting > > is showing up. The symptoms are getting italics where standout / inverse > video is requested. I've implemented the solution #1 (compiling a corrected > terminfo file) and everything works correctly now. Would it be possible to > correct the terminfo database on Cygwin? Can you confirm that this patch contains the necessary changes: http://pkgs.fedoraproject.org/cgit/ncurses.git/tree/ncurses-kbs.patch -- Yaakov -- 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
Re: Terminfo bug in screen-256color
Yaakov Selkowitz writes: > On Mon, 2015-07-20 at 07:15 +, Achim Gratz wrote: >> Now that mintty has been updated, a terminfo bug in the screen-256color >> entry described here >> >> http://stackoverflow.com/questions/10535432/tmux-man-page-search-highlighting >> >> is showing up. The symptoms are getting italics where standout / inverse >> video is requested. I've implemented the solution #1 (compiling a corrected >> terminfo file) and everything works correctly now. Would it be possible to >> correct the terminfo database on Cygwin? > > Can you confirm that this patch contains the necessary changes: > > http://pkgs.fedoraproject.org/cgit/ncurses.git/tree/ncurses-kbs.patch The solution I used was different IIRC, but I'll have to dig out the details. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada -- 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
Re: Terminfo bug in screen-256color
Achim Gratz writes: >> Can you confirm that this patch contains the necessary changes: >> >> http://pkgs.fedoraproject.org/cgit/ncurses.git/tree/ncurses-kbs.patch > > The solution I used was different IIRC, but I'll have to dig out the > details. I've compiled my own terminfo file for screen, the recipe copied below from the tmux FAQ: --8<---cut here---start->8--- Screen's terminfo description lacks italics mode and has standout mode in its place, but using the same escape sequence that urxvt uses for italics. This means applications (like vim) looking for italics will not find it and might turn to reverse in its place, while applications (like less) asking for standout will end up with italics instead of reverse. To make applications aware that tmux supports italics and to use a proper escape sequence for standout, you'll need to create a new terminfo file with modified sgr, smso, rmso, sitm and ritm entries: $ mkdir $HOME/.terminfo/ $ screen_terminfo="screen" $ infocmp "$screen_terminfo" | sed \ -e 's/^screen[^|]*|[^,]*,/screen-it|screen with italics support,/' \ -e 's/%?%p1%t;3%/%?%p1%t;7%/' \ -e 's/smso=[^,]*,/smso=\\E[7m,/' \ -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \ -e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' > /tmp/screen.terminfo $ tic /tmp/screen.terminfo And tell tmux to use it in ~/.tmux.conf: set -g default-terminal "screen-it" If your terminal supports 256 colors, use: $ screen_terminfo="screen-256color" instead of "screen". See the FAQ entry about 256 colors support for more info. Also note that tmux will still display reverse video on terminals that do not support italics. --8<---cut here---end--->8--- I don't know much about these things, but it seems that the patch you're linking to deals with the interpretation of the backspace key in certain situations? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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
[ANNOUNCEMENT] Updated: mkvtoolnix-8.5.0-1
The following packages have been updated in the Cygwin distribution: * mkvtoolnix-8.5.0-1 * mkvtoolnix-gui-8.5.0-1 MKVToolNix is a set of tools to create, alter and inspect Matroska files (*.mkv, *.mka). This is an update to the latest upstream release. Dave. -- 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
Re: Terminfo bug in screen-256color
On Tue, 2015-10-20 at 21:03 +0200, Achim Gratz wrote: > Achim Gratz writes: > >> Can you confirm that this patch contains the necessary changes: > >> > >> http://pkgs.fedoraproject.org/cgit/ncurses.git/tree/ncurses-kbs.patch > > > > The solution I used was different IIRC, but I'll have to dig out the > > details. > > I don't know much about these things, but it seems that the patch you're > linking to deals with the interpretation of the backspace key in certain > situations? You are correct, that patch is unrelated. However, it turns out that ncurses-6.0 ships with new 'tmux' and 'tmux-256color' terminfos, which appear to include the settings indicated in said FAQ. tmux should use these instead of the screen terminfos. I'm in the process of triple-checking that I have the correct options to avoid ABI breakage in ncurses-6.0, at which point I'll upload and you can use these instead. -- Yaakov -- 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
Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process
Update: The script exit status issue is fixed in the Wine side in Wine Staging 1.7.53, patch commited as https://github.com/wine-compholio/wine-staging/commit/be51f622f7ed5a4f558bc54743314b310727ac4d (OT of OT: In WineConf2015, upstream WineHQ formally announced Wine Staging become parts of official Wine, I'd encourage any user who is interesting in using Cygwin on Wine to try Wine Staging. Cheers!) Thanks for the previous great support to help us understand and fix this bug! (As always :P) -- 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
[ANNOUNCEMENT] Version 2.1-1 of "tmux" has been uploaded.
tmux is a terminal multiplexer, similar to GNU screen. It enables a number of terminals (or windows) to be accessed and controlled from a single terminal like GNU screen. tmux runs as a server-client system. Moreover tmux provides a consistent and well-documented command interface, with the same syntax whether used interactively, as a key binding, or from the shell. It offers a choice of vim or Emacs key layouts. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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