<?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: tar /dev/tty request when run with at in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978324#M921789</link>
    <description>This is probably due to the ulimit setting for an at(1) job.&lt;BR /&gt;&lt;BR /&gt;Do&lt;BR /&gt;echo ulimit | at now + 1 minute&lt;BR /&gt;to see the setting.&lt;BR /&gt;&lt;BR /&gt;You can hopefully change the setting in your script. If not, you will have to change /var/adm/cron/.proto accordingly. See the at(1) and proto(4) manual pages for details.&lt;BR /&gt;&lt;BR /&gt;Note that ulimit details depend on the type of shell. See the "#! ..." line, if any, at the beginning of your script.&lt;BR /&gt;&lt;BR /&gt;Depending on your OS version and patch-level, you may also run into an old at(1)/.proto bug.</description>
    <pubDate>Wed, 21 May 2003 10:50:36 GMT</pubDate>
    <dc:creator>Frank Slootweg</dc:creator>
    <dc:date>2003-05-21T10:50:36Z</dc:date>
    <item>
      <title>tar /dev/tty request when run with at</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978321#M921786</link>
      <description>&lt;BR /&gt;  Using tar interactively I can create archives &amp;gt;2Gb, but when I put it in a script run with at the archive stops at 2Gb with a message to tar's standard output: "Can't open /dev/tty to prompt for more media.".&lt;BR /&gt;  Is there a way to prevent tar from (pseudo)requesting media from terminal? (when run interactively it doesn't really prompt it simply runs on).&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 10:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978321#M921786</guid>
      <dc:creator>Vladimir Tihu</dc:creator>
      <dc:date>2003-05-21T10:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: tar /dev/tty request when run with at</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978322#M921787</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;This is a know issue when interaction is needed.&lt;BR /&gt;&lt;BR /&gt;Please do the following :&lt;BR /&gt;&lt;BR /&gt;tar cvf .. ... &lt;BR /&gt;&lt;BR /&gt;Best Regs David</description>
      <pubDate>Wed, 21 May 2003 10:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978322#M921787</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-05-21T10:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar /dev/tty request when run with at</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978323#M921788</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No, you can't do it because I suppose that your script is run from crontab or something similar which is not attached to any tty&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 21 May 2003 10:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978323#M921788</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-05-21T10:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: tar /dev/tty request when run with at</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978324#M921789</link>
      <description>This is probably due to the ulimit setting for an at(1) job.&lt;BR /&gt;&lt;BR /&gt;Do&lt;BR /&gt;echo ulimit | at now + 1 minute&lt;BR /&gt;to see the setting.&lt;BR /&gt;&lt;BR /&gt;You can hopefully change the setting in your script. If not, you will have to change /var/adm/cron/.proto accordingly. See the at(1) and proto(4) manual pages for details.&lt;BR /&gt;&lt;BR /&gt;Note that ulimit details depend on the type of shell. See the "#! ..." line, if any, at the beginning of your script.&lt;BR /&gt;&lt;BR /&gt;Depending on your OS version and patch-level, you may also run into an old at(1)/.proto bug.</description>
      <pubDate>Wed, 21 May 2003 10:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978324#M921789</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-05-21T10:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: tar /dev/tty request when run with at</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978325#M921790</link>
      <description>&lt;BR /&gt;  Yes, the ulimit was the problem; in the interactive environment it was set to unlimited but at has a different default setting.&lt;BR /&gt;  (redirecting standard input to anything doesn't work, tar wants the terminal, anyway).&lt;BR /&gt;&lt;BR /&gt;  Problem solved.&lt;BR /&gt;&lt;BR /&gt;  Thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 11:11:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-dev-tty-request-when-run-with-at/m-p/2978325#M921790</guid>
      <dc:creator>Vladimir Tihu</dc:creator>
      <dc:date>2003-05-21T11:11:58Z</dc:date>
    </item>
  </channel>
</rss>

