Mplayer Makes Terminal Cursor Idle

Hi,
A weird problem just came up recently.  I would start mplayer from the a terminal (eg. xterm), and after I close mplayer the cursor in the terminal stays idle when I type anything.  I could still issue commands and new lines still work, but whatever I type won't appear.  It's kind of like typing password in command line.  This happens with many terminal emulators (xterm, mrxvt, gnome-terminal, etc.)  Any idea what's wrong?
Thanks!
Will

I've noticed that too, but I don't know what's wrong. My workaround is to stop it from the terminal (Ctrl+C) instead of closing the mplayer window.

Similar Messages

  • How to make the cursor global if it has parameters that would be passed through calling environment

    What I am trying to do is:
    1. Pass two dates "p_start_date" and "p_end_date" to a procedure "calc_percnt". Based on these two dates the procedure creates a collection that has ticket info between the date range provided.
    2. Iterate through this collection to find out the number of tickets that took less than 4 hrs (p_count_4), less than 8 hours (p_count_8), less than 12 hours(p_count_12) and less than 24 hours (24).
    3. I want to move the logic of the  above point 2 (also mentioned between dotted lines in the below mentioned code) to a function and call that function.
    4. For the above point 3 I will have to create a function which will accept a collection variable something like this:
    create or replace cal_perc (collection_var total_tckt_colcn) .... 
    I cannot do this because total_tckt_colcn needs to be declared
    5. I cannot make the cursor and collection type as global by putting them in package specification because of the condition in cursor:
    WHERE created_date >= p_start_date AND created_date < (p_end_date + interval '1' DAY)
    it gives the error as "p_start_date"  and "p_end_date" needs to be declared.
    What is the best way to do this????
    create or replace
    PROCEDURE calc_percnt(
      p_start_date IN N01.cc_ticket_info.LAST_CHANGED%type ,
      p_end_date   IN N01.cc_ticket_info.LAST_CHANGED%type ,
    AS
      v_start_date N01.cc_ticket_notes.LAST_UPDATED_STAMP%type;
      v_end_date N01.cc_ticket_notes.LAST_UPDATED_STAMP%type;
      CURSOR cur_total_tckt
      IS
      SELECT  * from
      WHERE created_date >= p_start_date AND created_date < (p_end_date + interval '1' DAY)
    type total_tckt_colcn
    IS
      TABLE OF cur_total_tckt%rowtype;
      total_tckt_col total_tckt_colcn;
      total_coach_col total_tckt_colcn;
    BEGIN
      total_tckt_col  := total_tckt_colcn ();
      OPEN cur_total_tckt;
      LOOP
      FETCH cur_total_tckt bulk collect INTO total_tckt_col limit 100;
    END LOOP;
      EXIT
      WHEN (cur_total_tckt%NOTFOUND);
      END LOOP ;
      CLOSE cur_total_tckt;
    -- ---I want to move the following code in a function which finds the time required to close the ticket and increment the counter ------
    FOR i IN total_tckt_col .first..total_tckt_col .last
      LOOP
      no_of_seconds       := calc_time_diff(total_coach_col(i).created_date, total_coach_col(i).closed_date);
      IF (no_of_seconds    < 14400) THEN
      p_count_4          := p_count_4  + 1;
      p_count_8          := p_count_8  + 1;
      p_count_12         := p_count_12 + 1;
      p_count_24         := p_count_24 + 1;
      ELSIF (no_of_seconds < 28800) THEN
      p_count_8          := p_count_8  + 1;
      p_count_12         := p_count_12 + 1;
      p_count_24         := p_count_24 + 1;
      ELSIF (no_of_seconds < 43200) THEN
      p_count_12         := p_count_12 + 1;
      p_count_24         := p_count_24 + 1;
      ELSIF (no_of_seconds < 86400) THEN
      p_count_24         := p_count_24 + 1;
      END IF;
      END LOOP;
    END calc_percnt;

    I cannot add cursor definition to package because  of the following condition:
    WHERE created_date >= p_start_date AND created_date < (p_end_date + interval '1' DAY)
    it gives me an error: "p_start_date"  and "p_end_date" needs to be declared.
    p_start_date and p_end_date are parameters that would be passed by the user.
    Parameterized cursor to the rescue:
    I have changed my cursor definition to:
    create or replace
    PACKAGE ES_REPORTS AS
    CURSOR cur_total_tckt (p_start_date n01.cc_ticket_status_history.created_date%type, p_end_date n01.cc_ticket_status_history.created_date%type)
      IS
      SELECT  t.ticket_id ticket_id , t.created_date created_date, t.created_by created_by, t.ticket_status ticket_status, t.last_changed last_changed, h.closed_date
      FROM n01.cc_ticket_info t
      inner join
      (SELECT  ticket_id , MAX(created_date) closed_date
      FROM n01.cc_ticket_status_history
      WHERE ticket_status = 'CLOSED' AND created_date >= p_start_date AND created_date < (p_end_date + interval '1' DAY)
      GROUP BY ticket_id
      ) h
      on (t.ticket_id         = h.ticket_id)
      WHERE (t. ticket_status = 'NOTIFIED' OR t.ticket_status = 'CLOSED') AND t.last_changed >= p_start_date AND t.last_changed < (p_end_date + interval '1' DAY);
    END ES_REPORTS;
    Not sure if it is good programing practice though?

  • Loading mulitple Adobe Flash web pages makes mouse cursor disappear

    I have a 2011 Mac Mini with OSX 10.7 Lion Server
    Regardless of the Browser used  - if I load mulitple Adobe Flash based Flickr photo slide show web pages, after 15 seconds my Mouse Cursor completely disappears and makes navigating the mac rather impossible.
    Its really buggy and forces me to click or "right click" (Option Click) randomly on the Desktop with the hope that I might briefly see the cursor return so I can close the browsers.
    Does not matter if i use Safari, Firefox or Chrome.
    These are the pages in question which give me grief -
    http://www.flickr.com/groups/warbirds/pool/with/8032123616/lightbox/
    http://www.flickr.com/photos/fluxstreamcommunication/show/
    http://www.flickr.com/photos/x-ray_delta_one/show/
    must click the "play " to start the slide show, have all three running at the same time.
    And withing 10 seconds on my mac mini - NO Curser.
    Even if I try to move the mouse outside the Browser display area  - to where i clairvoyantly might consider the cursor should be over the Desktop.
    Typically results in the invisible cursor accidently creating numerous new folders on the desktop, as I frantically attempt to make the cursor re-appear.
    Totally maddening - and I have the Identical problem on Two separate 2011 Macs. (iMac 27 and Mac Mini)
    My local  Apple Genius Bar support person suggested I back up my data and perform  "OSX Recovery"
    http://support.apple.com/kb/HT4718
    Stating its possble that my Adobe Flash was installed wrong.
    I have the latest updates
    OSX 10.7.4
    Flash Version 11.4.402.265

    Update.
    This solved the problem
    My local  Apple Genius Bar support person suggested this sequence and it fixed my disappearing cursor!
    1) Back Up personal Data
    2) Perform "OSX Recovery"
    http://support.apple.com/kb/HT4718
    3) Perform the Apple Software update
    4) Then install latest Adobe Flash
    This fixed my problem!
    Now I'll do the same fix for my 2011 iMac 27" with the identical issue.

  • Is there any way to make the cursor appear larger in Mac OS X?

    Wow, love my 27" screen, but have trouble finding the cursor! Is there any way to make the cursor appear larger? Perhaps adjustable for fine print capture?
    Thanks!

    System Preferences -> Universal Access -> Mouse -> Cursor size
    However, I prefer using Mouse Locator (free download)
    <http://www.versiontracker.com/dyn/moreinfo/macosx/26157>
    I like this Mouse Locator Graphic
    <http://homepage.mac.com/douglasn/locatorexchange/AD/1/MouseLocator.png>
    I also enjoy my 27" iMac. It is just so nice withing on it.
    Message was edited by: BobHarris

  • How to make the cursor disappear?

    In a graphic screen the cursor should not be visible. What can I do in order to make the cursor disappear? Can anyone help me? Thank you in advance.

    for a GUI
    Image image = Toolkit.getDefaultToolkit().createImage(new java.awt.image.MemoryImageSource(16, 16, pixels, 0, 16));
    Cursor transparentCursor = Toolkit.getDefaultToolkit().createCustomCursor(image, new Point(0, 0), "invisiblecursor");
    frame.setCursor(transparentCursor);

  • Can I make my cursor stay with a newly opened folder selection?

    When I open a folder in my documents, the cursor jumps to the top of the page instead of staying with that selection. I have lots of folders with lots of entries in each. I then spend a lot of time scrolling down to find where I left off. How can I make the cursor stay with newly opened folder in stead of automatically jumping back to the very top of the documents?

    Hi Barney. My finder view is list.                         ...up to here. I know have to scroll back down to Folder B to
        Sample:                                                           to click on sub a. When I do, It jumps back up here. I scroll  Folder A                                                             down to Folder B, sub a, and then find my pdf. I have many
      Sub folder a                                                       more more Folders to search, and each time, the curser
       doc                                                                   jumps up here instead of letting the screen show the               xls                                                                   selected folder's contents. 
       doc                                                                 
       jpg     
    Subfolder b
       xls
       pfd
    >Folder B             I open B, and the curser jumps...
      Sub folder a
      pdf
       doc
      etc

  • How can I make the cursor more visible?

    I have seen in some training videos a ring around the cursor to make it more visible. How can I get this ring around my cursor in Photoshop CS 3?
    Anyone knows? /Tommy

    This should do it:
    1. Go to systems preference  and click it.  (it'll be under the top L hand side, click the apple logo and "System Preferences" will appear in a drop menu)
    2. Go to Show All
    3. Click Universal (round blue shape with a person logo)
    4. Click Mouse
    5. Go to Cursor size (at the bottom of the page)  and adjust the size from normal to large.  Watch your actual cursor on screen so you can see how big or small you're making it.
    voila:   a change of arrow or cursor size.

  • Strange space bar behaviour on T410s keyboard (makes space + cursor right)

    I have just got in a T410s to my office which has a very quirky behaviour when hitting the space bar. It makes the space AND a cursor right. It happens in every application. The laptop is running Win 7 64-bit Enterprise.
    But, here comes the quirky thing; It doesn't happen if I plug in an external keyboard. AND I have also tried replacing the keyboard unit itself with a brand new CRU, so it can't be a problem with the keyboard itself (except maybe the controller if it's down on the motherboard).
    So, it feels likely it has to be a utility or a setting which the user has enabled by mistake, or possibly a driver error for the internal keyboard.
    Any clues on what could be the cause?
    -- Martin

    The board needs to be replaced due to warranty, if there is no damage by liquids.
    My home-forum: http://www.thinkpad-forum.de
    Wiki: Deutsches ThinkPad-Wiki English ThinkWiki
    My ThinkPad-Collection

  • No Terminal Cursor

    Hello,
    Firstly, I would like to thank you for your time.
    So, my problem is that I don't have a cursor in terminal. By that I mean the terminal that first visible before any desktop environments are loaded. (xfce4, gnome, kde, etc.) This can be annoying when I type out commands and I need to go back through the command to change one or two letters. I have however found something interesting. If I use nano, the cursor magically appears afterward. If anyone can help me solve this, it would be greatly appreciated.
    Thank You,
    MaxterTheTurtle

    Is it a framebuffer console? If so, there might be some options to the "fbset" command that can change whether or not the cursor appears.

  • How can I make Terminal run Java 7 downloaded from the Oracle Website?

    I've downloaded Java 7 from the Oracle website, and I want the Terminal application to run that Java 7 download. I try to run Java programs that require Java 7, but it runs with the Apple Internal Java 6 release. How can I make it so my MacBook Pro runs the download of Java that I downloaded? I know this sounds stupid, but am I routing my machine to run the internal Java 6 version? I have seen many videos in which people with the same software version as me run Java like this with no problem. Could you please let me know why this is happening and how I can fix it? I really want to be able to use the Java 7, particularly because I'm always getting this "Unsupported Major Minor Version 51.0" from many applications that are Terminal based.
    Thanks!

    I think I've answered your question. The Oracle JRE is a web plugin. The JDK is a development kit for applications with embedded Java. Neither one replaces the Apple-distributed Java frameworks for running standalone applications without embedded Java. Any other questions you have should be answered by the Oracle documentation.

  • How to make terminal repeat sentences

    In the terminal application, I use the "echo" command line a lot to get Terminal to repeat sentences that I input. I was wondering if it is possible to make the "Echo" command automatially repeat pre-set sentences. For example, I want Terminal to say "Good Morning" in the morning and "Good Night" at night. Is this possible? Thnaks in advance.

    You question is vague so giving a specific solution is difficult.
    What times exactly do you want the commands to run? Why do you need to do this in the Terminal?
    The absolute easiest way to do this is to use Automator and create a calendar event. Have the workflow run a shell or Applescript that speaks the sentence you want.
    For example
    then schedule this to run when you want it to. Same for Good Night.
    Thee are many other ways to schedule a job to run under OS X but launchd (see man page) is the prefered way but likely overkill for what you are asking.

  • How can I make my Cursor appear smaller?

    I have my Cursor at the smallest size that you can make it with OS X, and would like to know if there were any Apps or something that would make it smaller. I have already looked into Cursor Zoom, and it seems to not work a lot of the time. Thank you. Also, would there be any way to change the actual appearance of the cursor?

    Just what do you mean?
    Can'ty you just resize the window with the mouse cursor like other windows?

  • When opening a new tab, how can you make the cursor automatically go to the address bar?

    In my previous version of firefox, the cursor would go directly to the address bar when I opened a new tab. Thus, I could start typing the web address I wanted to go to immediately. However I upgraded to Firefox 4 today and I now have to manually click in the address bar. Is there any way to change this in settings or by installing a specific add-on?
    Thanks!

    You only get the cursor in the search bar if you open the built-in about:home page.<br />
    For other websites you need an extension.
    *Custom New Tab: https://addons.mozilla.org/firefox/addon/custom-new-tab/

  • I have a regular usb mouse and it isn't working. It sometimes clicks, but it can't make the cursor move. The red light will not turn on.

    I have been using a mouse with my MacBook Pro for a very very long time now:
    Optical USB Mouse:
      Product ID:    0xc016
      Vendor ID:    0x046d  (Logitech Inc.)
      Version:     3.40
      Speed:    Up to 1.5 Mb/sec
      Manufacturer:    Logitech
      Location ID:    0x06200000 / 3
      Current Available (mA):    500
      Current Required (mA):    100
    I'm running OS 10.6.8 on a MacBookPro that is fairly old.
    The mouse is detected on the USB port, either one, but the red light won't light anymore so I can't use it to move the cursor. I've tried rebooting, I've tried the cammand-option.P.R thing. Still no red light.
    Help?

    Mouse Gas?
    I took both of them to work and both worked fine in a different Mac laptop. I brought home two other mice and they both work here in my home computer. That works, but I wish I knew why the first two don't work at home because the logitec mouse I bought for home has very light action and the center wheel needs only a very light touch. I really really liked it and can't find one like it to replace it with.

  • Download folder doesn't open and instead makes Terminal open up

    MacOSX 10.9.5 on MacBook Air of 2014. Open downloadfolder in Finder does not work. Trying so opens the terminal window saying only the name of the folder and -bash- . In Finder list view moreover the download folder lost its little triangle at the beginning of the name.
    This behaviour started when I tried an old mediathek to open in iPhoto 9.5.1.  It said I must download an actualization file, install it and then ... I did so, but when now opening iPhoto with any photo(s) it says it needs actualization and when I click on "Actualizar" (all Spanish), iPhoto crashes each time. The downloadfolder problem started the same moment.
    On my second MacBookAir, same MacOSX, same purchase date, it did the following, when trying to open that same mediathek with the same version of  iPhoto: Image folder (instead of download folder ...) does not open and starts Terminal as described above. MOREOVER all icons on the screen are "fixed" (not sorted!) and can't be moved to a different place on screen with the trackpad or mouse (can be moved though to other folders and trash bin). They follow, but when releasing they jump back to their original position. And iPhoto on this second one behaves equally, asking for "actualizar" and then crashes, when I confirm it.
    Weird, isn't it? Thanks for any good advice ...

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

Maybe you are looking for

  • My phone won't connect to iTunes or let me download free apps..can someone help please??

    Please help

  • Flex pitch (Time) needs midi track import function

    Flex pitch (Time) needs midi track import function

  • Trigger Process Chains

    Hi Gurus, I have to schedule 4 metachains through Autosys, a 3rd party scheduler tool. These metachains has to run monthly say 5th working day of every month. All metachains have been marked periodic and monthly in start variants. What should be the

  • No more pdf files

    I moved up from PS CS to CS3 recently and I am dismayed at what has happened with PDF files in the interim. It's not a life-threatening problem, more of an annoyance: in order to save or open a pdf file now, I have to go through one or two more steps

  • Podcast Shuts Down iPod

    Since upgrading my 60gb iPod and to iTunes 7, nearly all my podcasts shut down my iPod and cause it to reboot. Weird, huh? It happens with all but one of the 15 or so podcasts I subscribe to (most from KCRW). I tried deleting them and resubscribing,