On Mon, Jun 16, 2014 at 2:24 PM, Stephan Beal <sgb...@googlemail.com> wrote:
> Hi, all, > > This is for Unix-shell users only (including workalikes on Windows)... > > Here's a time-saving tip which i use very often myself, but most CLI users > i know don't seem to know about: > > It often happens that i'm typing a commit message when i decide i need to > stop and go check if what i'm typing in really reflects reality (or needs > to be tested). So: > > fossil commit -m ".........<INTERRUPT POINT> > > You can stick that line in your command history without executing it by > doing the following: > > 1) Move your cursor to the beginning of the line. In Bash-like shells > that's normally Ctrl-A, but many terminals support the Home key as well. > > 2) Type the '#' character (shift-3 on a US keyboard). That's the shell's > comment-to-end-of-line marker. > > 3) Tap ENTER > > Or, in the Bash shell, simply: > > 1) Tap Escape, then type the # character. That does all 3 of the above at > once. > On Windows when using cmd.exe, you can do something very similar. Hit home and type "rem<space>" to remark (comment) out the line. The "<space>" part is a literal space character (ascii 32), not the characters '<', 's', etc. Then hit enter. Now you can scroll back up to it later. "rem" is a legacy of command.com. :) SDR
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users