1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TEXTUTILS: Change request for UTYPE

Discussion in 'Plugins' started by Howard Goldstein, Apr 14, 2013.

  1. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    I know that the correct way to cancel a UTYPE command is to press the Escape key but sometimes, by force of habit, I hit CTRL-C instead. Doing this stops the output and returns me to a prompt but it doesn't close the input file handle. Can UTYPE be modified so that CTRL-C/CTRL/Break works the same as Escape?

    --
    Howard
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,277
    Likes Received:
    38
    I'm putting up a test build you can try. (It really is a hideous kludge though; I reserve the right to amputate this feature if it causes problems!)
     
  3. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    Well, I was hoping for something a little more elegant, but I'll admit that it does solve my problem. I haven't seen it do anything really nasty yet, and all in all I think it's better than the way it worked before.

    Out of curiosity, can you think of a way that I could have closed the files the UTYPE was leaving open from withinin TCC? Every time I made that mistake I was closing and reopening the TCC window. Is there a way to get the handle of an open file and then use @fileclose on it?

    --
    Howard
     
  4. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
  5. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,277
    Likes Received:
    38
    I can't think of anything more elegant than exiting that instance of TCC.
     

Share This Page