Recent content by TimButterfield

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

    "less" program that works in TC 18

    I'm not seeing this on mine. When I less in a TCC tab, the file stays until I q to exit. Whether I less file or pipe output to less, both seem to work for me without crashing.
  2. T

    "less" program that works in TC 18

    It's not clear to me which you mean. I normally run my TCC as a TCMD session tab. Are you referring to something different with it not working in TCMD?
  3. T

    "less" program that works in TC 18

    I have a version of GnuWin32 less.exe that is working in my TCC v22 x64. It is version 394.2189.19546, copyright 2005, modified 1/3/2006.
  4. T

    UnLIBRARY command

    It's the pedant in me triggered by my programming background where functions have returned values and procedures or subroutines do not. In C/C++/C#, that would be the difference between void and non-void return values. In VB, that would be the difference between SUB and FUNCTION. I'm also...
  5. T

    UnLIBRARY command

    I kind of view them that way already, as an easier way of doing multi-line aliases. I don't view them as functions as all of my functions return a value. Library functions are more like aliases in that they are commands that do not return a value. The description wording is a bit confusing...
  6. T

    UnLIBRARY command

    Wildcards with /D are fine if you can guarantee locals do not conflict with globals. But, I would find requiring a prefix for everything to be quite the nuisance. For me, I would not likely need an UnLibrary if setlocal/endlocal covered that set as I could then do setlocal library /u /r %0...
  7. T

    BTMs can add/remove their own library functions!

    A Library equivalent for UnAlias /R file would work just fine for my needs whether that is a new command or extending the existing one to allow combining /D and /R. There is disconnect, though. Alias does not have a /D, thus requiring UnAlias. Library does have a /D, which would make an...
  8. T

    BTMs can add/remove their own library functions!

    I was thinking of 'LIBRARY /D file' to delete just the functions defined in that file without having to know the specific names of them or for them to have a common (safe) prefix to delete them. In your prior example, you did a /R on the BTM, but you then had to specifically list those when...
  9. T

    BTMs can add/remove their own library functions!

    It would be nice to have the delete equivalent of LIBRARY /R file. Maybe LIBRARY /D file could delete any functions defined in the file without having to specify the names of each.
  10. T

    interesting TCStarts.btm

    My actual TCStart.btm is only a couple of lines: @echo off call %@path[%comspec]..\DAT\JPStart.BTM My actual TCExit.btm is similarly abbreviated. I have been using TCMD since the 4DOS days. The install directories keep changing with major version included in the folder name and I often have...
  11. T

    How Do I Get Rid of 'Everything'

    Keith, It may be great if you want that functionality. There are many great programs I don't have a need for. My folders are structured in such a way that I usually can find things without having to search for them. At most, I would use a whole drive search maybe once or twice a year. In...
  12. T

    How Do I Get Rid of 'Everything'

    I am another one that prefers for Everything to not be installed with TCMD as I never do fuzzy searches across my whole drive. I really, really, really wish that install selection could persist as some of the others do. When I find it has been accidentally installed, I do the following: run...
  13. T

    GOSUB

    There is also the @unquote function.
  14. T

    (Nearest) Weekday function

    It's not exactly what you are looking for, but I just added some week, month, quarter aliases here. You might be able to get some ideas from them.
  15. T

    How to? Week, Month, Quarter

    These are aliases for determining the current quarter, or the start/end of the week, month, or quarter. They are loaded from my aliases file. They are also wrapped with @execstr and loaded from my functions file. :get the Mon-Sun start date of the current week or specified date WeekStart=` &...