Giter VIP home page Giter VIP logo

gild's People

Contributors

xvxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lartu

gild's Issues

Navigation: a suggestion

It would be sweet if gild could use “raw mode” while reading navigation characters:

  1. For starters, display possible selection numbers right-padded with spaces, so that the user doesn't think they have to enter the initial zero, yet still are aligned neatly under each other.
  2. In raw mode, all single-char ‘commands’ (even 0) can be immediately fulfilled without having to use ENTER. If the first char is a digit that is not 0, read another char and see if it is also a digit, then wait for ENTER.
  3. Having read a complete ‘command’, be it a command or a numerical, you probably want to reset the terminal to ‘cooked mode’ and its original attributes, before acting on the input.

Compiling gild v0.2.0 with LDPL v4.4 fails

ArchLinux has just updated LDPL from v3.0.5 to v4.4 and now I cannot build gild anymore:

ldpl -i=gild.cpp -o=gild -f="-march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" gild.ldpl
* Loading gild.ldpl
* Compiling gild.ldpl
LDPL Error: Malformed statement (gild.ldpl:85)
make: *** [Makefile:5: gild] Error 1

where

$ cat -n ./src/gild-0.2.0/gild.ldpl | grep '    8[0-9]'
    80	            if lines is greater than window.rows then
    81	                store index in gopher.overflow
    82	                break
    83	            end if
    84	            if char is equal to "\n" then
    85	                add 1 and lines in lines
    86	            end if
    87	            in out join out char
    88	            add 1 and index in index
    89	            get character at index from gopher.response in char

I don't know anything about LDPL, so I'm completely at a loss here.

Please accept gopher:// URLs

Funny error:

$ gild 'gopher://tilde.town/1/~lucidiot/contact'
bad hostname: Success

I expected gild to accept a valid gopher URL. I can see now that it doesn't.

I know I can

$ gild tilde.town 70 '/~lucidiot/contact'

but it's a bit cumbersome if you're given an URL in an email or a chat – it would be nice to be able to just copy and paste.

And I'm an bit curious: Which “Success” is gild talking about? 😜

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.