<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Where is the mbrtowc() function? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972058#M101911</link>
    <description>Some more details.  I want to compile rxvt unicode from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.schmorp.de/pkg/rxvt-unicode.html" target="_blank"&gt;http://software.schmorp.de/pkg/rxvt-unicode.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have perl 5.8 but it is compiled with GCC not aCC so I must use GCC.&lt;BR /&gt;&lt;BR /&gt;GCC has some weirdness with mbrtowc() but I found this works:&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/local/bin:/opt/gnudev/bin:$PATH CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_INCLUDE__STDC_A1_SOURCE -D_GLIBCXX_HAVE_MBSTATE_T" ./configure&lt;BR /&gt;&lt;BR /&gt;where /usr/local/bin/perl is the 5.8 one built with GCC and gcc, gcc++, etc are in /opt/gnudev/bin&lt;BR /&gt;&lt;BR /&gt;Now the problem is that ioctl(... TIOCSCTTY ...) doesn't exist on HP-UX but I think I can find an equivalent.&lt;BR /&gt;</description>
    <pubDate>Wed, 05 Apr 2006 14:13:51 GMT</pubDate>
    <dc:creator>Ken Stailey</dc:creator>
    <dc:date>2006-04-05T14:13:51Z</dc:date>
    <item>
      <title>Where is the mbrtowc() function?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972057#M101910</link>
      <description>/usr/include/wchar.h has the prototype for mbrtowc() but wraps it in confusing #ifdefs.&lt;BR /&gt;&lt;BR /&gt;What defines must be set in order to enable it?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 13:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972057#M101910</guid>
      <dc:creator>Ken Stailey</dc:creator>
      <dc:date>2006-04-05T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the mbrtowc() function?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972058#M101911</link>
      <description>Some more details.  I want to compile rxvt unicode from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.schmorp.de/pkg/rxvt-unicode.html" target="_blank"&gt;http://software.schmorp.de/pkg/rxvt-unicode.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have perl 5.8 but it is compiled with GCC not aCC so I must use GCC.&lt;BR /&gt;&lt;BR /&gt;GCC has some weirdness with mbrtowc() but I found this works:&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/local/bin:/opt/gnudev/bin:$PATH CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_INCLUDE__STDC_A1_SOURCE -D_GLIBCXX_HAVE_MBSTATE_T" ./configure&lt;BR /&gt;&lt;BR /&gt;where /usr/local/bin/perl is the 5.8 one built with GCC and gcc, gcc++, etc are in /opt/gnudev/bin&lt;BR /&gt;&lt;BR /&gt;Now the problem is that ioctl(... TIOCSCTTY ...) doesn't exist on HP-UX but I think I can find an equivalent.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 14:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972058#M101911</guid>
      <dc:creator>Ken Stailey</dc:creator>
      <dc:date>2006-04-05T14:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the mbrtowc() function?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972059#M101912</link>
      <description>I gave up on building a Unicode rxvt since even after it linked the binary would not start.&lt;BR /&gt;&lt;BR /&gt;I lost interest when I found that existing terminal emulators could do Japanese Unicode.&lt;BR /&gt;&lt;BR /&gt;This web page &lt;A href="http://docs.hp.com/en/B1171-90079/ch27s02.html" target="_blank"&gt;http://docs.hp.com/en/B1171-90079/ch27s02.html&lt;/A&gt; suggests using&lt;BR /&gt;&lt;BR /&gt;LANG=ja_JP.SJIS hpterm -fn "*-18-:*"&lt;BR /&gt;&lt;BR /&gt;but hpterm doesn't work over an SSH tunnel.  However I found that&lt;BR /&gt;&lt;BR /&gt;LANG=ja_JP.SJIS dtterm&lt;BR /&gt;&lt;BR /&gt;does work over an ssh tunnel and does Japanese Unicode.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 16:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/where-is-the-mbrtowc-function/m-p/4972059#M101912</guid>
      <dc:creator>Ken Stailey</dc:creator>
      <dc:date>2006-04-05T16:16:03Z</dc:date>
    </item>
  </channel>
</rss>

