









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] Random questions #26
- Subject: [NMLUG] Random questions #26
- From: _sarang_ at sarangworld.com (Sarang)
- Date: Thu Nov 11 18:55:39 2004
Short random questions (w/ footnotes) if anyone can help:
% Can I pipe one program's stdout to 2 programs at the same time? [1]
% Why does strace suspend the sleep process? [2]
% Can I make sshd less strict re permissions for ~/.ssh/authorized_keys +
parent dirs? [3]
% Should I worry that "setenv TERM v100; setenv TERM vt100" returns "...
free(8090aa0) below bottom of memory. (memtop = 80df000 membot =
809be60)"? [4]
% (MINOR) What does "Socket read failed for 180,000 tries." mean? [5]
[1] If two programs need the output of progxxx, the normal way to do it is:
progxxx > file1; : send stdout of progxxx to file1
progyyy < file1; : send progyyy the contents of file1 as stdin
progzzz < file1; : send progzzz the contents of file1 as stdin
but I want something like:
progxxx | progyyy,progzzz; : send stdout of progxxx to progyyy and progzzz both
[2] If I do "sleep 500" in one window and "strace" the sleep process
from another, I get "Suspended (signal)" in the first window. Why?
[3] My home directory needs to be group-writeable, so sshd complains
"Authentication refused: bad ownership or modes for directory
/home/sites/home/users/sarang". Can I tell sshd I'm willing to accept the
risk for the convenience of password-free logins?
[4] Note the "typo" in the first command, "v100" not "vt100". The full error:
tcsh: No entry for terminal type "v100"
tcsh: using dumb terminal settings.
free(8090aa0) below bottom of memory. (memtop = 80df000 membot = 809be60)
I understand the first two lines-- is the 3rd anything to worry about?
[5] lynx -source
'http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=87101'
recently told me:
== BEGIN PASTE ==
Looking up printer.wunderground.com
printer.wunderground.com
Making HTTP connection to printer.wunderground.com
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 200 OK
Alert!: Socket read failed for 180,000 tries.
Data transfer interrupted.
== END PASTE ==
What does "Socket read failed for 180,000 tries" mean? Is 180,000 tries
impressive or is it like 180,000 CPU cycles (ie, a number that sounds
impressively large, but is small in computer terms?)
--
Sincerely, Sarang (sarang@sarangworld.com)
AOL Instant Messenger ID: JavaMath
Backup Email: saranghome@softhome.net
<html><img src='http://noproxy.sarangworld.com/EXP/rr.php?20041111.184742'></html>
|
|