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

HistWrap directive

Discussion in 'Support' started by Charles Dye, Jun 14, 2008.

  1. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,351
    Likes Received:
    39
    Does the HistWrap directive actually do anything anymore?

    Should it?
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,056
    Likes Received:
    30
    On Sat, 14 Jun 2008 15:40:55 -0500, you wrote:


    Mine's "No" and my history doesn't wrap. I haven't tried changing it in years.
     
  3. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    Charles Dye wrote:


    As far as I can tell, it still does exactly what it's always done. When on,
    pressing the up- or down-arrow keys when at the top/bottom of the history
    causes a wrap to the bottom/top. When off, nothing happens when you attempt
    to arrow past the top or bottom. Tested with TCC 9.02.151.

    -- Howard
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,351
    Likes Received:
    39
    Odd; that's the same version I'm using, and mine doesn't wrap with HistWrap on. I wonder what's different between yours and mine.
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,994
    Likes Received:
    84
    Charles Dye wrote:

    It works here -- enabling it causes the up/down keys to wrap around when
    they reach the beginning or end of the history list. Disabling it
    results in a beep & no change when you reach the beginning or end.
     
  6. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,351
    Likes Received:
    39
    Weird; I can't make it work here, on either of two computers. Even with no TCSTART and a TCMD.INI consisting solely of

    Code:
    [4NT]
    HistWrap=Yes
    
    it doesn't do anything (wrap or beep) when I try to move past the top/bottom of the history (directory history, filename completion) popup.

    Well, it's not something that I actually want to use.
     
  7. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    Charles Dye wrote:


    HISTWRAP has nothing to do with popups. It only affects the direct recall
    of commands -- using the arrow keys with the cursor on the command line.

    -- Howard
     
  8. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,351
    Likes Received:
    39
    Ah -- that's the fundamental point that I wasn't getting. Thanks.
     

Share This Page