Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by JRohde

  1. J

    History file load hangs if file has complete garbage in it...

    OK. Here's a file that repro's 8 months later. :) Looking at it now... I expect it's UTF shenanigans. TCC 28.02.18 x64 Windows 11 [Version 10.0.22000.675]
  2. J

    Here is a (subjectively) better cd / cdd extended search

    TLDR: Exact matches at the top, prefix matches next, substring matches last, each ordered by last access time. Requires 'everything' installed and 'es' on the path. ---- Years ago my muscle memory got used 4nt with extended cdd match and '..' dynamic 'go back' functionality. I took them to...
  3. J

    Done Pipe only stderr....

    Note from original: Too many console apps want to use curses or other random ass code that can't handle stdout being redirected - yet provide data on stderr. emacs or dialog for example will fall over and die even redirecting stdout to con: :(
  4. J

    Done Pipe only stderr....

    (No, not stdout AND stderr)... This is a pipe dream... even the *nix shells don't seem to have it. Too many console apps want to use curses or other random ass code that can't handle stdout being redirected - yet provide data on stderr. I wish I could pipe ONLY stderr. Or (even better for my...
  5. J

    A safe %@FILETEMP[prefix?] with CREATE_ALWAYS, ATTR_TEMP, and DELETE_ON_CLOSE

    I really wish I had this for safe temp files. prefix just for an Optional prefix for the actual filename for debugging. In a perfect world there is also a: %@TEMPFILENAME[number?, [c]reate?]. Given an Optional number, return the filename if it was created with FILETEMP. Without a number...
  6. J

    goto compat issue makes all node/npm wrapper scripts fail to run...

    Thanks Rex - great news that you are doing a work-around. And then... Wow... That gen'd code for node is even more craptastic than I thought. :/
  7. J

    goto compat issue makes all node/npm wrapper scripts fail to run...

    goto does not seem to set error code status. goto Really 2>NUL || echo ... Yeah... Really Under TCC (28.01.14 x64 - but happening for a long time) this batch file will only print 'Really'. Run with cmd and the RHS of the || executes. For reference here is the scenario. Any command line tool...
  8. J

    Custom prompt - pretty easy to modify.

    It might be too noisy for some, but here's some custom prompt code that helps show OS/Host/Git Context/Error level/Subshell Depth. Preview with commands to display the status bits In tcstart.btm library /r %ROOT\library prompt %%@execstr[BuildPrompt %%?] Library Code: BuildPrompt {...
  9. J

    History file load hangs if file has complete garbage in it...

    Sorry -I didn't keep the file laying around, but somehow my history.txt file that is configured to load (via tcc options) at startup had a lot of garbage in it. It was actually a history file with the history data, but I clearly 'fat finger' pasted binary data during the session and it got...
  10. J

    How to? tty support in V25?

    Huh. I never ran the '-v' with cmd exe and ssh because it asked for (and accepted) password auth. But yes - cmd exe does show the same tty fail message. Odd. (And yeah, this was the built-in 7.7p1). OK. No real request here I guess. :)
  11. J

    How to? tty support in V25?

    So it looks like I haven't upgrade since V23... I noticed today if I use windows built in OpenSSH client and it wants to go interactive for auth - it does not work in V23. ssh -v somerealhost-needing-interactive-auth.domain debug1: Next authentication method: keyboard-interactive debug1...
  12. J

    How to? Debug Keyboard Shortcuts (Ctrl-A not remapping?)

    Quick followup as well. This will happen when the shell is hosted by Take Command as well. Just run tcc, or detach a tab so you can get to the property menu. Disable ctrl-keys as noted, and that change will persist into take commands hosted shells as well. If the console properties window is...
  13. J

    How to use the hash command?

    Concur broken in 21.0.21 - also doesn't show up in help as a topic.
  14. J

    Done RegEx dialog upgrades...

    Just upgraded to 21. Having been away in osx/bash for awhile, I thought it was neat to see the RegEx tool. It could use some love though... It would be nice to have a syntax selector - the one great thing about this over *nix is the syntax selection, but it would be great to do...
  15. J

    How to? Debug Keyboard Shortcuts (Ctrl-A not remapping?)

    Version: 17.00.77 x64 I have bindings similar to emacs that have all been working. I'm not sure what happened but now Ctrl-A is not going to the beginning of the line. It is causing the tab to change from 'TCC Prompt' to 'Select TCC Prompt'. It's not behaving like 'select all' though. Any...
Back
Top