Giter Site home page Giter Site logo

edd12321 / zrc Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 241 KB

The Zrc UNIX shell and scripting language.

License: BSD 2-Clause "Simplified" License

Makefile 0.73% C 12.57% C++ 81.39% Lex 2.00% Yacc 3.32%
bash c cpp es interpreter rc scripting-language sh shell tcl

zrc's People

Contributors

edd12321 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zrc's Issues

make corebuf fails

  1. The latest commit still has no instructions on how to build.
  2. In another bug tracker issue, the maintainer instructs: "Run make && make corebuf then sudo make install"
    2b. make is intuitive, make corebuf is not. What is the purpose of it?
  3. In any case, it doesn't work for me.
$ make corebuf
cd corebuf; \
	./build.zrc
/usr/bin/env: ‘zrc’: No such file or directory
Makefile:24: recipe for target 'corebuf' failed
make: *** [corebuf] Error 127

Thank you for your attention again.

Problems with GNU screen

When I test zrc on the interactive command line, I often have these problems:

  • Backspace takes the cursor back past the prompt, overwriting it.
  • Pasting text is messy in multiple ways.
  • Pressing the UP arrow key causes the past command lines to be printed close to the prompt, with no space separating it as in the normal prompt.

The problem seems to be related to GNU screen. I use the Fish shell in GNU screen and my terminal application is stjerm, which is almost extinct nowadays. But I don't think stjerm is to blame. The same problem is not reproducible on sakura (another terminal application), until I start a GNU screen session in sakura. Then the problems begin again.

I never had any problem with GNU screen and Fish or Bash, so I am guessing Zrc and screen don't get along too well. It's hard to find anyone who still uses stjerm, but GNU screen is very popular so it's probably a good idea to check that. Maybe tmux too, but I never used it so I don't know if it has issues with Zrc (or any other shell for that matter).

Feature request: keyboard shortcuts

I don't see keyboard shortcuts in your TODO list so I thought I might as well ask for it. I really miss:

  • Ctrl+l: clear
  • Home/Ctrl+a: jump to beginning of line
  • End/Ctrl+e: jump to end of line
  • Alt+up: cd ..
  • Alt+left: cd -

Among others.

By the way, I use Linux but I really like the CHM format for studying so I made myself one out of your man pages. It is attached. Feel free to distribute it if you like.

Here: zrc.chm.zip

Please don't count on me to update it often. It involves a lot of editing and Microsoft makes the building procedure considerably more difficult than it had to be.

Also I won't be around here for long. Github will soon enforce two-factor authentication and I will not comply because it requires a phone number or a phone application (which of course collects personal data) and I find that invasive and abusive. So I may not be able to log in and comment anymore.

Thank you for your attention.

Feature request: unknown function

I would love to have an "unknown" function like the one in Tcl. No more, no less. Just a "port" to Zrc with the same design and behavior.

Not extremely important or urgent, I just thought I should ask while I still can log in to Github. :-\

Thank you.

Strange pipe behavior

Here is what happens when we try to run the following command:
ls > file | wc
Expected result:
0 0 0
Actual result:
<non-zero> <non-zero> <non-zero>

@ {ls > file} | wc
yields the correct result we should expect...

I know why this happens, but it's kinda hard to fix. I hope I can do it this week.

How to build?

How is this supposed to build? There are no instructions anywhere.

Installation/access to man pages

Is there a simple way of installing the documentation?

I copied the zrc.1 file from the doc directory to /usr/share/man/man1/ (make install didn't do that, neither did it copy the binary to /usr/local/bin or any other place in my PATH) and it works, I can read the manual with 'man zrc' like any other command.

What about all the other pages? I foresee conflicts. For example, in man zrc:

string [OPTION]
              Work with text strings. See `man string` for more info.

But there is a string command already and it has its own man page.

Actually, I get two very different man pages when I call 'man string' from my usual shell and from a zrc shell session. I have no idea why. Neither is the zrc string command because I didn't install it. I just copied zrc.1 over.

How do you suggest we deal with it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.