Comments (3)
> Any way to get that or something equivalent to work
What about
$ less yourlogfile
That said, I tried Ctrl-S here, and it paused the listing for me (Ctrl-Q
resumes).
Please check that your CYGWIN environment variable has "tty" (note that this
has to be set before Cygwin DLL is loaded, so you should probably initialize it
in your user or system environment variables)
$ echo $CYGWIN
nodosfilewarning tty
Now the bad news: unfortunately, this does not seem to work in all cases, and I
don't know why:
Example 1 - OK:
$ for ((x=0;x<100000;x=x+1)); do echo $x; done
==> Ctrl-S / Ctrl-Q work as expected
Example 2 - BAD:
$ wc -l verylonglogfile
310030 verylonglogfile
$ cat verylonglogfile
==> Ctrl-S stops the listing, but I was unable to resume the output
Note that if instead of using puttycyg I execute cat verylonglogfile in a
"normal" Cygwin (i.e. Windows CMD), everything is working fine although the
pause is slightly delayed, maybe due to buffered output.
Original comment by [email protected]
on 15 Jun 2011 at 2:20
from puttycyg.
It's also worth mentioning that the hung job show up as "waiting to output":
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
O 3184 1 3184 3184 0 191995 15:58:54 /c/Program
Files/PuTTY/cthelper
5784 3184 5784 5568 1 191995 15:58:54 /usr/bin/bash
O 5572 5784 5572 4868 1 191995 16:00:04 /usr/bin/cat
3268 1 3268 3268 4 191995 16:20:52 /c/Program Files/PuTTY/cthelper
2844 3268 2844 5484 7 191995 16:20:52 /usr/bin/bash
5072 2844 5072 2444 7 191995 16:20:54 /usr/bin/ps
Cygwin version CYGWIN_NT-5.1 1.7.9(0.237/5/3)
PuttyCyg 20101029
Original comment by [email protected]
on 15 Jun 2011 at 2:27
from puttycyg.
(Cheers to Google's clunky Google Apps migration which kept me from seeing
responses here...)
I don't want to use a pager that I'll have to step through the output a page at
a time. I want the log output displayed on its own, all the time, and be able
to pause the output from time to time to read or copy text.
CYGWIN wasn't set to anything, but setting it to "tty" didn't have any visible
effect.
^S does work when I run a Cygwin binary, eg. find, but not in general (in my
immediate case, adb logcat).
Original comment by [email protected]
on 1 Sep 2011 at 3:51
from puttycyg.
Related Issues (20)
- add utmp support HOT 1
- After CTRL-C to terminate executing process command text is no longer visible on input HOT 1
- Can't run a command from the commandline HOT 3
- Overflow error still not resolved
- Word-wrap at bash prompt doesn't work properly HOT 6
- Incomplete output from cygcheck in PuTTYcyg session
- PuTTY 0.61 Released HOT 8
- PuTTY 0.61 released, will a new PuTTYCyg be coming? HOT 3
- Instead of opening ssh, config window is opened. HOT 1
- Can't open terminal, getting 'permission denied' error HOT 2
- Failed to checkout source code from svn HOT 1
- keyboard problem - Home and End keys dont work HOT 1
- Status of project HOT 9
- Cygwin filesystem root gets wrong
- Serial option not supported on command line - reports unknown option "-serial" HOT 1
- Suggestion: Automatic hyperlinking
- Would be nice if the puttycyg application could be signed, would save user the work of needing to Unblock it
- Please make a PuttyCyg based on latest Putty, current PuttyCyg propagates a serious remote port forwarding bug as manifested with a latest OpenSSH_6.1 OpenSSL 1.0.1c 10 May 2012 OpenBSD remote host. HOT 1
- puttycyg with 64bit cygwin? HOT 5
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 puttycyg.