Comments (12)
Here is a new release v2.0.0 where all MacOS problems are fixed (at least for me - tested it on MacOS run in VirtualBox).
Thank you for reporting this!
from page.
Ok. Compiled neovim from source and that seems to fix it.
from page.
Nope. I was wrong. Compiling neovim from source did NOT fix this issue.
from page.
Sorry, for delayed response.
I don't have access to any OS X machine, so I cannot debug it by myself.
Could you redirect to page
with RUST_LOG=trace RUST_BACKTRACE=1
and provide output?
from page.
[INFO][page] options: Options {
address: None,
arguments: None,
config: None,
command: None,
command_post: None,
instance: None,
instance_append: None,
instance_close: None,
name: None,
filetype: "pager",
sink_open: false,
sink_print: false,
back: false,
back_restore: false,
follow: false,
follow_all: false,
query_lines: 0,
page_no_protect: false,
command_auto: false,
split_right: 0,
split_left: 0,
split_above: 0,
split_below: 0,
split_right_cols: None,
split_left_cols: None,
split_above_rows: None,
split_below_rows: None,
files: []
}
[TRACE][new nvim process] args: --cmd 'set shortmess+=I' --listen /var/folders/h9/m5lk4kcn5s11qg9yw6gllb2r0000gn/T/neovim-page/socket-SZQBTeszf634YTp2lmORjIzynhwyxf1Z
from page.
Does it work with TMPDIR=/tmp
set when redirecting to page
?
from page.
nope. Same error
from page.
I've got the same error, also on macOS. Not sure what's happening though, but wanted to corroborate what @s1341 is saying.
from page.
There are two problems with macOS:
-
Seems like a bug in FSEvents (page uses it to await until neovim's socket becomes available).
Create events for sockets and pipes are swallowed, only Remove are delivered
-
Don't allows to find actual path to PTY device associated with :term buffer.
On Linux it's possible to obtain /dev/pty/* by following /dev/stdout symlink but on macOS it only produces fd/1 which of course isn't useful for page.
So, both of them will require some hacks to allow page to work properly on macOS.
Edit:
Actually there's a way to resolve /dev/pty/* path. Neovim :term buffer provides channel
property, and there's nvim_get_chan_info()
function which allows to get info about channel. This info contains "pty" property
from page.
Confirmed working. Thanks for the prompt fix!
from page.
Works for me as well. Awesome, and thank you 👍
from page.
The latest release gives me the same bug again, Error: timeout
. v2.3.5 still works for me though. (I haven't tested versions in between.)
from page.
Related Issues (20)
- First run mess HOT 2
- Allow negative values for `-O open_lines` HOT 6
- Remapping <C-\> cause problem in page HOT 2
- Paging output of running commands; I/O Error HOT 2
- next_release: stream did not contain valid UTF-8 HOT 2
- Color for manpages? HOT 1
- `-O` flag doesn't consider terminal width
- panic after configuring MANPAGER on macOS HOT 3
- AUR - error: failed to build 'page-git-v3.1.2-1' HOT 5
- Feature Request: cat mode HOT 6
- Cannot parse $RUST_LOG value: ParseLevelError(()) HOT 3
- MANPAGER doesn't completely quit HOT 3
- Any Possible Way to have Page ignore/bypass greeter plugins like alpha HOT 1
- bat syntax support does not match vim HOT 2
- `zt`, `zz`, `zb` seem not work. HOT 1
- -w doesn't work for 'jk' keys HOT 1
- Allow changing nvim executable location
- Error when opening in Floating Window HOT 1
- Hide the cursor HOT 1
- option to prevent splitting of long lines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from page.