you can use backslashes too, but then the filename needs to be quoted:
"\\server\share\path_to_file"
Good luck with the seminar!
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentati
s as well as line drawing symbols. Those have a width
of 1 in Western use, yet with CJK fonts they have a width of 2. That's
why Markus Kuhn's code includes the mk_wcswidth_cjk() variant.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: ht
s, the upper halves of all
ISO-8859-1 characters are NUL in UTF-16. And even without that, the
resulting filenames would be completely unusable.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
le
> C/UA: SPEC: Application Locale
> SPEC: SPEC: Application Locale
What is the "System Locale" in this context? Asking because Windows
doesn't have locales as such, although it does have a default "ANSI
codepage".
Andy
--
Unsubscribe info: http://cygwin.com/ml
27;s own use, e.g. for the mount points (and those
are going in 1.7). Nothing that affects anything outside Cygwin.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
wWindowAsync() isn't great either.
> I'm still trying to convince them that a fix is really important, but history
> is against me.
> I'm going to try to get at least a workaround.
Well, good luck anyway!
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscrib
anges in wcwidth.c, it might be possible to decide the
width of a surrogate pair based on the high surrogate only, and then
treat the low surrogate as a combining character with length 0.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwi
> the first half you don't know if the char is perhaps the 0x10A04 value
> or one of the other. So you need both halves to make a decision.
You're right. I'd somehow overlooked the end of the combining[] array.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#u
cations", has to go through the same
contortions or whether there isn't some hidden fork support somewhere.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
ds ^[OF.
See here for details:
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#PC-Style%20Function%20Keys
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
s ^[OP to ^[OS. That's because the vt100 terminal had the keys PF1
to PF4 on the keypad, but it didn't have F keys like PC keyboards do.
Hence those mappings in emacs do make sense.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://
to send ^? instead though, which, as you note, is
particular useful with emacs as it leaves Ctrl+H available as the help
shortcut.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
>> Can cygwin terminals be
>> configured so that emacs can tell the difference between the Backspace key
>> and "pressing h while holding down the control key"?
>
> "pressing h while holding down the control key" produces ^H (0x08).
> By default, t
this doesn't happen automatically
I think that would be a good and pragmatic solution to this.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
>> Actually, this holy war can be bypassed, without sacrificing Emacs
>> correctly working on a console. What the console should send for that
>> is the function key.
>
> Makes sense to me. Andy, is there any reason all cygwin terminals shouldn't
> do this (
>>> Actually, this holy war can be bypassed, without sacrificing Emacs
>>> correctly working on a console. What the console should send for that
>>> is the function key.
>>
>> Makes sense to me. Andy, is there any reason all cygwin terminals shouldn
E[A,
+ kbs=^?, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
And then there are rxvt and xterm and their termcap and terminfo
entries as well ...
One more thing: with your change, Alt can be used to override ^? and
get ^H instead. Usually though, Ctrl is used as the modifier for this,
whereas
") : CDEL;
else if (wch == 0
/* arrow/function keys */
|| (input_rec.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY))
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
said, I've seen the ^_ in the text console on Suse only. Cygwin's
xterm at least does distinguish between Backspace and Ctrl+Backspace
though: if Backspace is set to send ^H, Ctrl+Backspacce sends ^?, and
vice versa.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubsc
27;cp /bin/g++-4.exe /bin/g++.exe'. You'd have to
remember to do that after every gcc update though.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
:
Ctrl+A -> 0x41 & 0x1F -> 0x01 (^A)
Ctrl+Space -> 0x20 & 0x1F -> 0x00 (^@)
Ctrl+Backspace -> 0x7F & 0x1F -> 0x1F (^_)
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: ht
e, which clobbers 'kill
word' in emacs, so that still needs to either move to Ctrl+Backspace
or be removed altogether.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
e man pages for much of the C
standard library. Very useful.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
>> We unfortunately don't have a package of man pages for our C library
>> functions.
>
> Actually the cygwin-doc package does have man pages for much of the C
> standard library.
D'oh, that's what Dave said in the next sentence.
Sorry,
Andy
--
Unsubsc
ine option only, because
it's not really something that users should normally have to worry
about.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
. Turns out it's got a
rather interesting hack that ignores LeftCtrl key messages if they're
followed by a RightAlt message with the same timestamp. That doesn't
seem to be entirely reliable though, according to this post earlier
today:
http://www.cygwin.com/ml/cygwin-xfree/2009-06/msg
ly at that point I might just remove the
setting altogether and instead implement the DECBKM control sequence
for changing the backspace code, which MinTTY doesn't currently
support.)
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.
the problem that it gives the
impression that the actual CJK ideographs are affected by this,
whereas this really concerns things like line drawing characters and
non-latin non-CJK letters. That confused me to start with anyway.
Puzzled that this hasn't been solved in glibc years ago ...
re or less mad schemes to
communicate the ambiguous width between terminal and application and
so it took a while for us to realise that a locale-based scheme really
is the best approach.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/pr
> 2) if the length of the actual pathname to the DLL is more than 2k wide
> characters (e.g. 4k bytes) then issue #1 is made increasingly likely,
Surely anyone with paths like that deserves all the pain that comes
their way. 2k characters means 85 levels of "Documents and Settings
MinTTY is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
MinTTY is based on code from PuTT
2009/6/8 David Arnstein:
> can anyone suggest how to get mousewheel working with
> 1. X11 xterm windows, while at shell prompt.
Not sure that's possible/practical. What would you expect it to do?
> 2. X11 xterm windows, while in vim.
Put this line in ~/.vimrc:
:set mouse=a
Andy
rected 0.4.0-2 asap, but meanwhile
you could run the attached script manually to create the shortcut.
(You'll probably need administrator rights to do this.)
sh postinstall.sh
Andy
postinstall.sh
Description: Bourne shell script
--
Unsubscribe info: http://cygwin.com/ml/#unsubsc
e? Try this to check: echo %SHELL%
MinTTY 0.4 looks in that variable for a command to execute, like rxvt
and xterm do.
To override it, change your shortcut to this:
Target : C:\cygwin-1.7\bin\mintty.exe /bin/bash -l
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
ell:
+++ terminfo.src2009-05-30 07:50:44.893933600 +0100
@@ -5221,7 +5221,7 @@
- kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ kbs=^?, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
And then there are rxvt and xterm and their termcap and terminfo
entries as well ...
rtermios default setting will need to change accordingly,
> either by changing the definition of CERASE in include/sys/termios.h:
>
> -#define CERASE CTRL('H')
> +#define CERASE CDEL
Sorry, just noticed that cgf did in fact make that change.
Might be that stty needs reb
copy & pasting from a previous post.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
opens and closes
> immediately
The likely cause for this is that the PATH isn't set at the time rxvt
invokes bash, because that's only done by the startup scripts that
bash invokes. Add the full path to bash to your shortcut:
Target: C:\cygwin\bin\rxvt.exe -e /bin/bash --login
Andy
--
h other terminals, but
there will also be things that don't fit.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
gt;
> rxvt - \E0w, \E0y, \E0q, \E0s
> Eterm - \E[7~, \E[5~, \E[8~, \E[6~
>
> Does this difference in key definitions matter in
> Cygwin's terminal-mode Emacs running in rxvt?
>
> No.
It may not matter for emacs, but it probably would e.g. for ncurses
programs which rely on term
ake up to half a minute, presumably due to waiting for some sort of
timeout.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
== 0)
dev += 3;
strncpy(ut.ut_id, dev ?: "?", sizeof ut.ut_id);
}
strncpy(ut.ut_user, (pw ? pw->pw_name : 0) ?: "?", sizeof ut.ut_user);
login(&ut);
Unfortunately my Windows 7 machine went belly-up, so I can't look into
ust the popular Lucida Typewriter.
> (Although it occurs to me that in the case of Lucida Typewriter this
> might be a bug since the wideness of ambiguous characters is just
> simulated in this configuration rather than using wide font characters -
> Andy, can you please check this?)
On Wed 17 Jun 2009, Eric Blake wrote:
> A new release of git, 1.6.3.2-1, has been uploaded to the cygwin 1.7
> release area. This replaces 1.6.3.1-1 as current.
>
> NEWS:
> =
> This is a new upstream major release. It also changes the location of
> library executables from /usr/sbin/git-core
MinTTY is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
MinTTY is based on code from PuTT
're not supported.
I think I'll resolve this by doing away with the font dialog and
instead add drop down boxes for font, style, and size directly on the
text pane of the options.
Andy
--
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
does nothing.
Andy
--
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
block
> "disappeared."
Could you attach your .minttyrc? Have you got any commands in your
bash startup files that might be relevant here? And what's you PS1
setting?
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/
th CYGWIN=tty should work as well.
I had actually downloaded the latest setup-1.7.exe, but I must have
invoked the wrong one when I tried it. D'oh.
The -P option is working nicely, especially when combined with -q for
unattended install. Throw 'cygcheck -p' into the mix, and this sho
les (x86)", "Windows
on Windows 64", "Wow6432Node", 64-bit DLLs in "System32", and 32-bit
DLLs in "SysWOW64". This is all so ugly and confusing that you have to
wonder whether they're not deliberately trying to obfuscate stuff.
Andy
--
Problem rep
7;ll implement
the following: compare the cursor colour to the foreground and
background colours and set the cursor text colour to the one that's
further away. So in this case the foreground colour would be used as
the cursor text colour.
Andy
--
Problem reports: http://cygwin.com/problems
problem.
The reason for that seems to be that orpie doesn't activate
application keypad mode with that TERM setting, hence it gets the
normal keycodes, which it can deal with fine.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Docum
ry DA command
reports terminal type 77 (ASCII 'M') and version 400. The TERM
variable remains set to "xterm" though, to avoid termcap/terminfo trouble
Andy
--
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
r of times.
Ah, you're right; I hadn't tried it with NumLock on. Turns out I'd
messed up reading the NumLock state. Fixed in r396 on the 0.4 SVN
branch, to be released as 0.4.2 soon.
Thanks,
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: htt
ing, but - isn't this a place where using
> /bin/env would make more sense than dealing with all the extra
> processing required to launch a shell? For instance,
>
> mintty env TERM=xterm-256color emacs
Ah, I wasn't aware of that command. Very handy. I'll chan
ht be the only one.
I wasn't aware of it, but it does look rather good, with a pleasingly
high geek factor. And it's written in OCaml, what more could one want?
:)
Andy
--
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
sr/share/doc/Cygwin/mintty-0.4.1.README. I assume
> that you will add this information to the documentation when
> you want users to be able to make use of it.
Yep. When I said "it hasn't made it into the terminal yet", I meant to
say "manual" rather than "ter
n particular CSI and OSC. It's the same if you try it in
xterm.
You can get most of the printable characters in the C1 range by
switching to Windows codepage 1252. (Well, you could anyway if it
wasn't for a rather bad bug in mintty-0.4.0 and 0.4.1 that means that
ISO-8859-1 is used no matter your codepage setting. That's fixed on
the 0.4 SVN branch.)
Andy
--
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
w(), SW_HIDE);
Still looks bad though, with "subliminal" popups, as demonstrated by
mintty on Windows 7.
Andy
--
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
ces of this could at least be reduced by
trying AttachConsole to get a hold on the parent process' console, if
any. When I attempted that in MinTTY, though, I couldn't make it work.
Did you previously mention that MS fixed bug in this area?
Andy
--
Problem reports: http
m console startup anymore. This bug has been
reported upstream and is marked as being resolved, which hopefully
means it will be fixed in the final W7 release."
Andy
--
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
ws is fixed in the latest builds.
Thanks, I better give that a go. Using AttachConsole would at least
get rid of the popups when invoking from an existing Cygwin session.
Andy
--
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
onsole
allocates one, and any subsequent processes attach to that.
Only problem is that the console is automatically freed once all
processes using it have finished, so a new one would have to be
allocated again when another process comes along that needs one.
Still, the number of subliminal c
th returned by the wcwidth
function is usually 1. This is often a problem in East Asian
languages, which historically use character sets in which these
characters have a width of 2. Kind of explains why they are called
"ambiguous"... . (See http://unicode.org/reports/tr11/ for a full
expl
MinTTY is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
MinTTY is based on code from PuTT
case it
doesn't source .bashrc. Instead, it sources .bash_profile or .profile,
so unless you explicitly source .bashrc from there, it won't be
processed.
See here for the full story:
http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files
Andy
--
Problem reports: htt
guess the scripts could find out where the start menu is and
apply the necessary rights themselves, but it would make sense and be
much more convenient if mkshortcut did that.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation:
gwin's exec is also pretty slow. I'm not really sure that posix_spawn
> would cause any kind of performance improvement.
Ah, right. So is it Windows' CreateProcess() itself that's slow? Or is
it some of the additional stuff that exec() needs to deal with?
Signals? The hidden
de to Cygwin and cause corresponding slowness
> for everything.
Will text mount points be chucked out completely eventually? Those are
pure evil.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/d
2009/7/2 Jonathan :
> I still see 100% CPU usage per core with the latest snapshot (2009-07-01)
>
> I've tried removing tortoisesvn and virtualbox and still have performance
> issues, is my next step trying a clean windows install?
Only if you're gonna install XP. ;)
An
7;d be tempted to say, and point people that do insist on
running native console at /bin/run. But then I haven't been at the
sharp end of a barrage of compatibility complaints.
Actually, couldn't spawn_guts() tell whether it's about to execute a
console program, and only allocate a hidden
2009/7/2 Eray Ozkura:
> I prefer not to subscribe to any high-volume lists, so if you have an
> answer please CC to me.
Ever heard of mail filters?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs
ications themselves are usually marked as
console applications, shouldn't you therefore get a console popping up
(unless of course the invoking process already has a console)?
Or does Windows delay console allocation until the app actually tries to use it?
Andy
--
Problem reports:
27;s in the cygwin distro; it's called "chere" and you
>> can intall it through setup.exe.
>
> Ahhh nice.
> Should I see an item on the right click context menu of windows
> explorer? Or is there something else to be done first?
Yep, you need to run 'chere'
great, btw)?
A very minor issue in fhandler_console.cc: one of the comments says
"workstation" when it means "window station".
> I keep saying that I want to fix this and I recently found some public
> domain code which purports to allow using consoles as "pipes&
n the toolbar. But, as the comments say,
> the later SetParent call should ensure that. Only windows which are
> owned by the desktop window show up on the toolbar.
That I understand. What I'm surprised about (in a good way) is that
the helper doesn't show up in task _manager_
des for those in .screenrc:
bindkey "^[[1;5I" next
bindkey "^[[1;6I" prev
Andy
--
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
issue: http://article.gmane.org/gmane.os.cygwin.xfree/19682
Andy
--
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
reshold of size when everything is installed at once by
> clicking the top "Default->Install" line of the installer window. I'll try
> the incremental install workaround and see if it avoids the problem.
Please make some use of the return key; this is really difficult to
> 2009/7/10 Dave Korn <...>:
Sorry for including your email address.
(Does anyone know a way to switch that off in the gmail web interface?)
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://c
l
Cygwin application."
Shouldn't let press officers write statements to the press ... :)
Andy
--
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
2009/7/12 chengxianle:
> Yes, .bash_profile was loaded when run bash as `bash --login'.
> But still, won't load when run as `sh' or `sh --login'.
Read Dave Korn's reply again.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ:
ot;Up to Date".
Finally, I can't see much value in having the "Not Installed" view. If
you pick and choose your packages, it's much the same as "Full", and
if you install everything, it's empty. Getting rid of it would keep
the number of r
MinTTY is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
MinTTY is based on code from PuTT
o open in /home/helvio by default, but I don't know how to do
> this!
I'd guess that emacs has set a system-wide HOME environment variable.
That would take precedence over the setting in Cygwin's /etc/passwd.
Check under System Properties->Advanced->Environment Vari
MinTTY is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
MinTTY is based on code from PuTT
\e[B": next-history
"\e[A": previous-history
"\e[": skip-csi-seq
It's working correctly here, including when adding bindings for longer
keycodes: no more funny characters when accidentally hitting the wrong
key. Please consider the patch for inclusion into the readline
lay with this, and consider adding it to the cygwin build of
> readline. But this seems like something that you should push upstream to
> the bug-bash list (the bash maintainer also manages the upstream readline
> library), as it seems like this will have platform-independent be
A couple of small mistakes in
http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-charsetlist:
ISO-8859-13 and -15 have codepage numbers 28603 and 28605, not 28563
and 28565.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com
hides its console unless there's output
on it already, like rxvt does. That, however, has the unfortunate side
effect of the console popping up briefly, so I'm really not keen on
that.
Perhaps the DLL could allocate a console if one isn't available before
printing diagnost
letters do not work:
>
> $ echo -e "\xC0\xC1\xC2\xC3\xC3\xC4\xC5\xC6\xC7"
> AAA?C
Looks like the font you're using doesn't have the necessary glyphs, so
Windows substitutes the closest it can think of.
Here 's what I'm getting both with the default
ll is in the registry, at
HKLM/Software/Cywin/setup/rootdir (with added Wow6432Node on 64-bit
Windows). Obviously, hacking around with that is completely
unsupported.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http:
ng bash in cygwin.bat.
3. Use MinTTY and set the codepage you want on the "Text" page of its
options dialog.
4. Install Cygwin 1.7 and use the locale mechanism documented at
http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html
Good luck,
Andy
--
Problem reports: http://cygwin.co
2009/7/27 Corinna Vinschen:
> that rootdir is only used by setup.exe, not by Cygwin.
I see, sorry. So I guess / simply is the parent of the directory
cygwin1.dll is in? Makes plenty of sense.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.
2009/7/27 Georg Troska:
> I want to compile some code with -mno-cygwin.
> Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also
> the corresponding libraries
>
> How can I get them?
You can't, because MingW doesn't implement select().
Andy
--
Pr
7;t implement select().
ps: Windows itself has a select() in , but that only works
on sockets and not on any file as required by POSIX and implemented by
Cygwin.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http:/
and third calls to mbrtowc report encoding errors. It does work
correctly if the three bytes are passed to mbrtowc() in one go:
printf("%i\n", mbrtowc(&wc, "\xe2\x94\x84", 3, 0));
Andy
--
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
pages):
> "If the n bytes starting at s do not contain a complete multibyte
> character, mbrtowc() returns (size_t) -2."
Correct. And the first call to mbrtowc() does just that. The problem
is that the second call returns -1, which signals an encoding error,
even though E2 94 is
ll be initialized at program
start-up to the initial conversion state."
The test also fails when passing &s instead. (I'd accidentally left in
the local mb_state.)
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Docume
2009/7/28 Corinna Vinschen:
> On Jul 27 22:56, Andy Koppe wrote:
>> I've encountered what looks like a bug in mbrtowc's handling of UTF-8.
>> Here's an example:
>>
>> #include
>> #include
>> #include
>> #include
>>
>> i
501 - 600 of 1242 matches
Mail list logo