<?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: Password reading through C/C++ in OpenVMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701291#M33229</link>
    <description>Hem,&lt;BR /&gt;&lt;BR /&gt;Thanks for those last few points which have elevated me to a Green Hat--after 24 years using VMS and using the ITRC forum almost since its inception :-}&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 05 Jan 2006 06:08:46 GMT</pubDate>
    <dc:creator>Galen Tackett</dc:creator>
    <dc:date>2006-01-05T06:08:46Z</dc:date>
    <item>
      <title>Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701280#M33218</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Can anybody help me out how to read a password without echoing on the screen through C/C++ in OpenVMS?&lt;BR /&gt;&lt;BR /&gt;Is there a substitute for temios.h or getpass()?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;hem</description>
      <pubDate>Tue, 03 Jan 2006 05:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701280#M33218</guid>
      <dc:creator>hem c reddy</dc:creator>
      <dc:date>2006-01-03T05:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701281#M33219</link>
      <description>Hi,&lt;BR /&gt;take a look at OpenVMS runtime library function: smg$read_string with option TRM$M_TM_NOECHO.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Sergejus</description>
      <pubDate>Tue, 03 Jan 2006 06:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701281#M33219</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2006-01-03T06:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701282#M33220</link>
      <description>Hem,&lt;BR /&gt;&lt;BR /&gt;If all you want to do is to read without echoing, see my response to your other topic "Password reading in OpenVMS."&lt;BR /&gt;&lt;BR /&gt;It's a lot simpler than using SMG$ (the screen management runtime library), though if you want to do fancier things like move the cursor around the screen, erase individual lines on the screen, etc., you'd want to check out SMG$ as Sergejus suggests.&lt;BR /&gt;&lt;BR /&gt;Galen</description>
      <pubDate>Tue, 03 Jan 2006 07:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701282#M33220</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-01-03T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701283#M33221</link>
      <description>Hi Galen,&lt;BR /&gt;&lt;BR /&gt;Thanks very much, it simply solved my problem.&lt;BR /&gt;&lt;BR /&gt;Could you clarify this?&lt;BR /&gt;&lt;BR /&gt;In that documentation I see "RNE" for read and no echo instead of "me". Can I use "PTA" too to clear the buffer along with "me"? If "me" is for "RNE" is there something similar for "PTA" too?&lt;BR /&gt;&lt;BR /&gt;Is the following usuage correct? freopen("TT:","r",stdin,"rop=me,pta")&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Reddy</description>
      <pubDate>Tue, 03 Jan 2006 08:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701283#M33221</guid>
      <dc:creator>hem c reddy</dc:creator>
      <dc:date>2006-01-03T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701284#M33222</link>
      <description>Just a couple of corrections ...&lt;BR /&gt;&lt;BR /&gt;Mistakenly I read "rne" as "me". I regret for that and the usuage should read as &lt;BR /&gt;freopen("sys$input:","r",stdin,"rop=rne,pta");&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Reddy</description>
      <pubDate>Tue, 03 Jan 2006 08:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701284#M33222</guid>
      <dc:creator>hem c reddy</dc:creator>
      <dc:date>2006-01-03T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701285#M33223</link>
      <description>Hem,&lt;BR /&gt;&lt;BR /&gt;I'm pleased to hear that my suggestion worked for you.&lt;BR /&gt;&lt;BR /&gt;Although I haven't tried it, "rop=rne,pta" looks like it should clear the typeahead buffer as well as turning off echo.&lt;BR /&gt;&lt;BR /&gt;Galen&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 09:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701285#M33223</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-01-03T09:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701286#M33224</link>
      <description>I have a getpass() implementation for VMS wrapped around a readpassphrase() implementation available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cvs.sourceforge.net/viewcvs.py/freetds/freetds/vms/getpass.c?rev=1.5&amp;amp;view=log" target="_blank"&gt;http://cvs.sourceforge.net/viewcvs.py/freetds/freetds/vms/getpass.c?rev=1.5&amp;amp;view=log&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cvs.sourceforge.net/viewcvs.py/freetds/freetds/include/replacements/readpassphrase.h?rev=1.1&amp;amp;view=log" target="_blank"&gt;http://cvs.sourceforge.net/viewcvs.py/freetds/freetds/include/replacements/readpassphrase.h?rev=1.1&amp;amp;view=log&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 15:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701286#M33224</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2006-01-03T15:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701287#M33225</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for your attention to the post.&lt;BR /&gt;&lt;BR /&gt;Galen,&lt;BR /&gt;&lt;BR /&gt;does your solution work for all type of terminals/consoles or it has any dependencies?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Reddy</description>
      <pubDate>Wed, 04 Jan 2006 02:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701287#M33225</guid>
      <dc:creator>hem c reddy</dc:creator>
      <dc:date>2006-01-04T02:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701288#M33226</link>
      <description>hem,&lt;BR /&gt;&lt;BR /&gt;from your Forum Profile:&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;I have assigned points to 0 of 19  responses to my questions.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe you can find some time to do some assigning?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.&lt;BR /&gt;Consider, that every poster took at least the trouble of posting for you!&lt;BR /&gt;&lt;BR /&gt;To easily find your streams with unassigned points, click your own name somewhere.&lt;BR /&gt;This will bring up your profile.&lt;BR /&gt;Near the bottom of that page, under the caption â  My Question(s)â   you will find â  questions or topics with unassigned points â   Clicking that will give all, and only, your questions that still have unassigned postings.&lt;BR /&gt;&lt;BR /&gt;Thanks on behalf of your Forum colleagues.&lt;BR /&gt;&lt;BR /&gt;PS.  â   nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before â   please do not take offence â   none is intended!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 04 Jan 2006 03:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701288#M33226</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-01-04T03:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701289#M33227</link>
      <description>Hem,&lt;BR /&gt;&lt;BR /&gt;It should work for any VMS terminal device I can think of, probably including pseudo terminals (PTxx: devices) and the SYS$INPUT of batch and detached processes.&lt;BR /&gt;&lt;BR /&gt;As I mentioned, though, it isn't portable to other operating systems. For portability, it would be better to hide it behind a jacket routine as Craig has done (see his previous response.)&lt;BR /&gt;&lt;BR /&gt;I'm not certain that using SYS$QIOW would be quite as flexible as I don't know whether the function modifiers would be accepted by non-TT: type devices (e.g. batch input stream).&lt;BR /&gt;&lt;BR /&gt;Happy New Year,&lt;BR /&gt;&lt;BR /&gt;Galen</description>
      <pubDate>Wed, 04 Jan 2006 09:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701289#M33227</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-01-04T09:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701290#M33228</link>
      <description>See also comments here&lt;BR /&gt;&lt;A href="http://www.openvms.org/phorum/read.php?f=6&amp;amp;i=1664&amp;amp;t=1664" target="_blank"&gt;http://www.openvms.org/phorum/read.php?f=6&amp;amp;i=1664&amp;amp;t=1664&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 12:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701290#M33228</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-01-04T12:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701291#M33229</link>
      <description>Hem,&lt;BR /&gt;&lt;BR /&gt;Thanks for those last few points which have elevated me to a Green Hat--after 24 years using VMS and using the ITRC forum almost since its inception :-}&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 06:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701291#M33229</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-01-05T06:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Password reading through C/C++ in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701292#M33230</link>
      <description>Happy New Year to Gallen and others.&lt;BR /&gt;&lt;BR /&gt;Thanks very much for your responses.&lt;BR /&gt;&lt;BR /&gt;Good day all...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;hem</description>
      <pubDate>Thu, 05 Jan 2006 08:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/password-reading-through-c-c-in-openvms/m-p/3701292#M33230</guid>
      <dc:creator>hem c reddy</dc:creator>
      <dc:date>2006-01-05T08:18:51Z</dc:date>
    </item>
  </channel>
</rss>

