Giter Club home page Giter Club logo

pacom's People

Contributors

kriansa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

f4uzan

pacom's Issues

Editor crashes when viewing PKGBUILD

While adding a package from AUR, I encountered errors that seem to stem from faulty stdin. This error crops up during the 'Downloading PKGBUILD' section, where the editor is expected to view(?) the file. The error varies from editor to editor, but I was able to capture the one from vim and nano (respectively), which are:

Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.

and:

Too many errors from stdin

These errors can be reproduced in both editors, even when tested under two different shells: bash and oksh. There is no difference in behaviour for either shell or editor.


I tried to dig the cause to the issue and have found that when this invocation of $EDITOR is changed from -R to -, both vim and nano behave as expected (PKGBUILD is viewed and no crash is seen). Was there a particular reason to use -R here in place of the usual -?

Other than the assumption above, I have also tried to reinstall pacom from AUR as well as compiling my own from this repository with no change; reinstalling fails to resolve this issue.


My machine uses the following:

  • Arch, latest update as of time of writing
  • oksh 7.0 and bash 5.1.8
  • urvxt for terminal
  • vim 8.2 and nano 5.9
  • pacom 1.0.5

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.