Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Terminal xterm clips wide output #7018

Open
westurner opened this issue Aug 15, 2019 · 1 comment
Open

BUG: Terminal xterm clips wide output #7018

westurner opened this issue Aug 15, 2019 · 1 comment
Milestone

Comments

@westurner
Copy link

westurner commented Aug 15, 2019

Description

When I run ps w (ps with the wide option so that all output should be written to the terminal), it clips the output at the terminal width; regardless of whether I pipe it to less and right arrow.

ps uw -p $(pgrep jupyter) | less

Reproduce

  1. Open a terminal
  2. Increase the [browser] font size to ensure that the ps output is wider than the terminal
  3. Run ps uw -p $(pgrep jupyter) | less
  4. Try and view the output that's wider than the terminal width

Questions:

  • Is this an xterm issue?
  • Is this a shell environment variable issue? (The same command works fine in a gnome-terminal; which now has fancy wrapping, though)

Expected behavior

I should see the full width terminal output; with or without piping to less (or cat, which doesn't seem to work either)

Context

  • Operating System and version: Fedora fc30
  • Browser and version: Firefox 68
  • JupyterLab version: 1.0.5
    • (conda install jupyterlab)
@jasongrout
Copy link
Contributor

jasongrout commented Aug 16, 2019

This seems to work well for me on jlab 1.0.5, macOS, ff 68. First I use cat, then less and the left and right arrow keys.

termwidth

Perhaps the difference here is the underlying OS. Can someone try to replicate this on linux or even better, on fedora?

@jasongrout jasongrout added this to the Reference milestone Aug 16, 2019
@westurner westurner changed the title Terminal xterm clips wide output BUG: Terminal xterm clips wide output Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants