Shell prompt disappears

From: Gary Mills (mills_at_cc.umanitoba.ca)
Date: 02/26/04


Date: 26 Feb 2004 00:13:38 GMT

I have a log viewer script that consists of a nawk script with
its output piped into $PAGER. In my case, I use `pg' as my pager.
When viewing the log, I generally press my interrupt key to
terminate the script. This works correctly, except that occasionally
my shell prompt disappears. I have to type `stty echo icanon eof ^d'
to restore my terminal settings.

This sounds like a race condition. Is the bug in the pager, nawk,
or the shell?

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-


Relevant Pages

  • =?Utf-8?Q?RE:_RE:_RE:_Custom_GridView_Cont?= =?Utf-8?Q?rol_=E2=80=93_Postback_Problems?=
    ... does work even when using Template Pager. ... > | composite control), and that works for the most part. ... > |> the clientside postback script and the submit form fields, ... > |> Microsoft Online Support ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Need help with on-call automation file
    ... 02/05/2007 Tina Turner Tina.Turner@xxxxxxxxxx ... I need help with a script to read this file and only pull the email address ... and pager number and write them or export to another file based on the date. ... but we have a need to try and automate this. ...
    (microsoft.public.scripting.wsh)
  • Re: Ksh quoting
    ... > I have a script that should use an appropriate pager for ... However I can't get the quoting right ... ... > $pager foo.txt ... > (and some mind-numbing attempts at quoting the quoting of the quotes). ...
    (comp.unix.shell)
  • Re: I need pagination
    ... Thanks but I looking for working code. ... a pager that works it's impossible in Perl and seems like the same deal ... > That's all I think, but I didn't check for any errors in the script, ...
    (comp.lang.php)