El mensaje enviado a Comerciales espera la aprobacion del moderador

2012-05-17 Thread comerciales-bounces
Your mail to 'Comerciales' with the subject

Returned mail: see transcript for details

Is being held until the list moderator can review it for approval.

The reason it is being held:

Mensaje dirigido a una lista privada procedente de una dirección
que no pertenece a la lista

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://correo.charanga.es/servidor/mailman/confirm/comerciales/2ee71ec8235fd8ed6c4434699b86977d67dfbab3


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



cygwin octave x11

2012-05-17 Thread Chillosaurus

I try to run octave in cygwin, which works fine, but if I want to draw a plot
it doesn't open a new window.
I'm a beginner with cygwin and unix-environments and was not able to find an
understandable solution.
Starting octave i get the following error:
warning: X11 DISPLAY environment variable not set
Typing startx I get the following:
xauth: (stdin):1:  bad add command line
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from
list 
The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
winBlockHandler - pthread_mutex_unlock()
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid
MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key..

I had this error message starting matlab, can that be fixed, is this the
same problem or a different one?
Warning: No display specified.  You will not be able to display graphics on
the screen.

thanks a lot
-- 
View this message in context: 
http://old.nabble.com/cygwin-octave-x11-tp33864360p33864360.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: cygwin octave x11

2012-05-17 Thread marco atzeri

On 5/17/2012 3:59 PM, Chillosaurus wrote:


I try to run octave in cygwin, which works fine, but if I want to draw a plot
it doesn't open a new window.
I'm a beginner with cygwin and unix-environments and was not able to find an
understandable solution.
Starting octave i get the following error:
warning: X11 DISPLAY environment variable not set
Typing startx I get the following:
xauth: (stdin):1:  bad add command line
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from
list
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning:  Type ONE_LEVEL has 1 levels, butRALT  has 2 symbols
   Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
winBlockHandler - pthread_mutex_unlock()
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid
MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key..

I had this error message starting matlab, can that be fixed, is this the
same problem or a different one?
Warning: No display specified.  You will not be able to display graphics on
the screen.

thanks a lot


Hi,
octave graphics need X running so please follows

http://cygwin.com/problems.html

so we can understand you X server issue.

Instead of startx you can also try startxwin
directly or though the X Win Server icon on the start menu.
Or the new experimental xlaunch (in package xlaunch)

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: cygwin octave x11

2012-05-17 Thread Chillosaurus

I did cygcheck, it seems to be all of status OK. When executing I got a few
warnings. Guess they can be ignored ?
$ cygcheck -s -v -r  cygcheck.out
/usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
http://old.nabble.com/file/p33864961/cygcheck.out cygcheck.out 
Here is the XWin.0.log
http://old.nabble.com/file/p33864961/XWin.0.log XWin.0.log 

starting x works, but when I open octave and try to make a plot, I get this:
octave:1 plot([1 4],[2 3],'--')
  2 [main] octave-3.6.1 2932 child_info_fork::abort:
C:\cygwin2\bin\cygfftw3-3.dll: Loaded to different address: parent(0x2C)
!= child(0x41)
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.6.1/m/plot/private/__gnuplot_open_stream__.m at
line 30, column 44
error:   /usr/share/octave/3.6.1/m/plot/__gnuplot_drawnow__.m at line 72,
column 19
octave:2 

hope that's helpfull
Thank you.

-- 
View this message in context: 
http://old.nabble.com/cygwin-octave-x11-tp33864360p33864961.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: cygwin octave x11

2012-05-17 Thread marco atzeri

On 5/17/2012 5:17 PM, Chillosaurus wrote:


I did cygcheck, it seems to be all of status OK. When executing I got a few
warnings. Guess they can be ignored ?
$ cygcheck -s -v -r  cygcheck.out


you forgot to attach cygcheck.out to the mail


/usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
http://old.nabble.com/file/p33864961/cygcheck.out cygcheck.out
Here is the XWin.0.log
http://old.nabble.com/file/p33864961/XWin.0.log XWin.0.log

starting x works, but when I open octave and try to make a plot, I get this:
octave:1  plot([1 4],[2 3],'--')
   2 [main] octave-3.6.1 2932 child_info_fork::abort:
C:\cygwin2\bin\cygfftw3-3.dll: Loaded to different address: parent(0x2C)
!= child(0x41)


this is a fork issue see:
http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures


error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.6.1/m/plot/private/__gnuplot_open_stream__.m at
line 30, column 44
error:   /usr/share/octave/3.6.1/m/plot/__gnuplot_drawnow__.m at line 72,
column 19
octave:2

hope that's helpfull
Thank you.



Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



no display specified

2012-05-17 Thread Chillosaurus

Thanks for the thougths. That's the solution.
Is there a chance I can use cygwin to run matlab (including plotting
functions etc.), which is located on another machine? 

I'm getting this warning
Warning: No display specified.  You will not be able to display graphics on
the screen.

-- 
View this message in context: 
http://old.nabble.com/cygwin-octave-x11-tp33864360p33865342.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: no display specified

2012-05-17 Thread marco atzeri

On 5/17/2012 6:10 PM, Chillosaurus wrote:


Thanks for the thougths. That's the solution.
Is there a chance I can use cygwin to run matlab (including plotting
functions etc.), which is located on another machine?

I'm getting this warning
Warning: No display specified.  You will not be able to display graphics on
the screen.



some more data ?
Is the remote machine a Unix one ? If so the you can look at
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding

If it is a windows machine I doubt matlab provides a X
interface usable by cygwin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: no display specified

2012-05-17 Thread Chillosaurus


 some more data ?
 Is the remote machine a Unix one ? If so the you can look at
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
Yes it is a Unix cluster. A2 worked, but Matlab is approx. 60 times slower
than normal - or even worse.
Can this be solved?

-- 
View this message in context: 
http://old.nabble.com/cygwin-octave-x11-tp33864360p33866806.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: no display specified

2012-05-17 Thread richardvo...@gmail.com
On Thu, May 17, 2012 at 3:14 PM, Chillosaurus ottobo...@gmx.de wrote:


  some more data ?
 Is the remote machine a Unix one ? If so the you can look at
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
 Yes it is a Unix cluster. A2 worked, but Matlab is approx. 60 times slower
 than normal - or even worse.
 Can this be solved?

Do you get the same slowdown when logging in with ssh -Y from a
Linux workstation?



 --
 View this message in context: 
 http://old.nabble.com/cygwin-octave-x11-tp33864360p33866806.html
 Sent from the cygwin-xfree mailing list archive at Nabble.com.


 --
 Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:       http://cygwin.com/problems.html
 Documentation:         http://x.cygwin.com/docs/
 FAQ:                   http://x.cygwin.com/docs/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Gareth Howell
Hi
I asked this a day or so ago but got no responses. I'm posting again just in 
case it just got missed.

I have cygwin (latest) running on an XP machine. It needs to access two 
workstations running Win95 and one running Win98.

At the windows level, there are drive maps to the 'C' drives on the three 
workstations as X:, Y: and Z: and the filesystems can be seen.
Cygwin's fstab has lines to mount the same network shares (using UNC paths) 
under the /mnt directory.

The two Win95 shares and the single Win98 share show up just fine as type vfat 
when I do a 'mount' when running cygwin terminal on the XP machine.
If I log in remotely using ssh (as Administrator), the two Win95 shares show up 
as before, but the Win98 share shows up as type unknown and I can't access the 
filesystem. The same occurs if a job is run using the Administrator's crontab.

I can see it's probably a permissions issue, but I can't get to the bottom of 
it or understand why the behaviour is different between Win95 and Win98.

Any guidance would be welcome.

Gareth

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Nick Lowe
Have you taken a Wireshark capture in both scenarios and looked for differences?

Nick

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Gareth Howell
On 17 May 2012, at 10:10, Nick Lowe wrote:

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?
 
 Nick
 
Good idea, Nick, but no, I haven't. Unfortunately, I'm doing all this remotely 
from another site.

If I don't get anywhere, I'll try and get over there sometime and do that.

Gareth

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Andrey Repin
Greetings, Nick Lowe!

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

Wireshark capture of an encrypted stream is next to useless...


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 17.05.2012, 15:38

Sorry for my terrible english...


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Nick Lowe
 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

 Wireshark capture of an encrypted stream is next to useless...

Is SMB encrypted in this case?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Andrey Repin
Greetings, Nick Lowe!

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

 Wireshark capture of an encrypted stream is next to useless...

 Is SMB encrypted in this case?

You need to make some serious configuration tweaking to make it NOT encrypted.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 17.05.2012, 18:34

Sorry for my terrible english...


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Swallowed words in most section 3 man pages' SEE ALSO section

2012-05-17 Thread Jens Schweikhardt
I've tracked it a bit further:

On Thu, May 03, 2012 at 11:07:31PM +0200, Jens Schweikhardt wrote:
# hello, world\n
# 
# it appears that quite a number of functions in section 3 of the manual
# have the following SEE ALSO section (# added where a word is missing).
# 
# $ man 3 strstr
# [...]
# SEE ALSO
# 
#strstr is part of the # library.  The full documentation for # is
#maintained as a Texinfo manual.  If info and # are properly installed
#at your site, the command info will give you access to the complete manual.
# 
# 
# This is due to missing arguments in /usr/share/man/man3/*.3.gz for
# the bold face macro .B:
# 
# SH SEE ALSO
# .B strstr
# is part of the
# .B
# library.
# The full documentation for
# .B
# is maintained as a Texinfo manual.  If
# .B info
# and
# .B
# are properly installed at your site, the command
# .IP
# .B info
# .PP
# will give you access to the complete manual.
# 
# 
# For a list of man pages where this is the case (more than 400), just zgrep
# for '^\.B $':
# /usr/share/man/man3$ zgrep '^\.B $' *.gz|sort -u|wc
#  410 4136752

This is a bug in the cygwin-doc package, in the newlibinfo2man.pl
perl script.

157 sub print_footer
158 {
159 $out_handle = $_[0];
160 print { $out_handle } .SH \SEE ALSO\\n;
161 if ((!grep /\Q$node/, @summary_nodes)  ($node ne Library Index))
162 {
163 print { $out_handle } .B $node\n;
164 print { $out_handle } is part of the\n;
165 print { $out_handle } .B $title\n;
166 print { $out_handle } library.\n;
167 }
168 print { $out_handle } The full documentation for\n;
169 print { $out_handle } .B $title\n;
170 print { $out_handle } is maintained as a Texinfo manual.  If \n;
171 print { $out_handle } .B info\n;
172 print { $out_handle } and\n;
173 print { $out_handle } .B $title\n;
174 print { $out_handle } are properly installed at your site, ;
175 print { $out_handle } the command\n;
176 print { $out_handle } .IP\n;
177 print { $out_handle } .B info $title\n;
178 print { $out_handle } .PP\n;
179 print { $out_handle } will give you access to the complete manual.\n;
180 print finished $node of $title\n if ($debug);
181 close ($out_handle);
182 }

$title is undefined because it is declared my in the loop iterating
over @ARGV calling print_footer. Can someone with more cygwin|src|build-fu
fix this? Thanks!

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: SIGINT not passed to java process

2012-05-17 Thread Olivier Lefevre

On 5/11/2012 7:29 PM, Franz Kettwig wrote:

After updating to the latest cygwin, my Java processes no longer receive SIGINT 
signals.  [...]


I can attest that Franz is not the only one with this problem. I just upgraded 
to Cygwin 1.7.15-1
but in vain. Is a fix in the works?

Regards,

-- O.L.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: SIGINT not passed to java process

2012-05-17 Thread Christopher Faylor
On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote:
On 5/11/2012 7:29 PM, Franz Kettwig wrote:
After updating to the latest cygwin, my Java processes no longer
receive SIGINT signals.  [...]

I can attest that Franz is not the only one with this problem.  I just
upgraded to Cygwin 1.7.15-1 but in vain.  Is a fix in the works?

Not from me.  I don't do Java.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [PATCH] fix broken mouse in Cygwin 1.7.14 and 1.7.15

2012-05-17 Thread Thomas Wolff

Am 17.05.2012 04:19, schrieb Christopher Faylor:

On Thu, May 17, 2012 at 01:20:06AM +0200, Mikulas Patocka wrote:

On Thu, 17 May 2012, Mikulas Patocka wrote:


Corinna Vinschen:


2012-04-03  Thomas Wolff

* fhandler.h (class dev_console): Two flags for extended mouse modes.
* fhandler_console.cc (fhandler_console::read): Implemented
extended mouse modes 1015 (urxvt, mintty, xterm) and 1006 (xterm).
Not implemented extended mouse mode 1005 (xterm, mintty).
Supporting mouse coordinates greater than 222 (each axis).
Also: two { wrap formatting consistency fixes.
(fhandler_console::char_command) Initialization of enhanced
mouse reporting modes.


Patch applied with changes.  Please use __small_sprintf rather than
sprintf.  I also changed the CHangeLog entry slightly.  Keep it short
and in present tense.

Hi

The change (sprintf -  __small_sprintf) that Corinna applied actually
broke mouse reporting. It is broken in Cygwin 1.7.14 and 1.7.15.

When the user clicks with the first button, the mouse down event is
reported incorrectly, the mouse down event always looks like this:
  1b 5b([) 4d(M) 30(0) 78(x) 32(2)
Note that there is 0x30 (instead of 0x20) as the button. And there are
always fixed coordinates (0x78, 0x32), regardless of where the user
clicks.

This bug breaks the Links textmode browser (if you click on the top line,
you should see the menu, but you don't with Cygwin 1.7.14 and 1.7.15). It
also break Midnight Commander (if you start it with TERM=xterm mc) and
all other programs that use xterm-style mouse reporting.

The reason is that __small_sprintf and sprintf aren't equivalent.
__small_sprintf processes '%c' format string differently from sprintf. A
piece of code from smallprint.cc:

case 'c':
   {
 int c = va_arg (ap, int);
 if (c  ' '  c= 127)
   *dst++ = c;
 else
   {
 *dst++ = '0';
 *dst++ = 'x';
 dst = __rn (dst, 16, 0, c, len, pad, LMASK);
   }
   }
   break;

We see that if the character is outside the range 0x21..0x7f,
__small_sprintf prints 0x and the hex value. On the other hand, sprintf
copies the byte unchanged.

__small_sprintf(%c, 32) doesn't print space, it prints 0x20 --- and this
breaks mouse click reporting. It also breaks the extended coordinate
reporting implemented by Thomas because it need to print characters=
0x80.

The attached patch fixes the mouse bug by changing __small_sprintf back to
sprintf. Alternatively, you can fix __small_sprintf to process %c
consistently with sprintf, but I don't know how much other code is
dependent on the current peculiar %c processing. So it's safer to change
mouse reporting calls to use sprintf.

I don't know where that odd code came from.  It's apparently been in
smallprint.{c,cc} forever.  I'm nuking it.  I see one potential problem
in fhandler_socket::bind.  It won't be hard to work around if that
function was really relying on it.

Thanks for tracking this down.  The change will be in the next snapshot.
And thanks for analyzing this show-stopper for my mouse reporting patch; 
I should have noticed myself...

Thomas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ssh error

2012-05-17 Thread Warren Young

On 5/16/2012 4:52 AM, Lars Bjørndal wrote:

After updating to latest cygwin today on a Win7 64-bit system, I got an
error when starting ssh: bash: Bad address. Where does that error come
from?


It could be this same libreadline problem: http://goo.gl/EPFB1

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Cygwin Commands

2012-05-17 Thread max

Aloha,

Here's what is going on...

When I enter:

admin@mypc ~
$cd

admin@mypc ~
$

or

admin@mypc ~
$dir

admin@mypc ~
$


Could it be some system environment or special permission setting I  
may have overlooked?




Mahalo for your help,
-Max


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin Commands

2012-05-17 Thread Otto Meta
 Here's what is going on...

Here’s your solution:
http://lmgtfy.com/?q=unix+for+beginners

 When I enter:
 
 admin@mypc ~
 $cd
 
 admin@mypc ~
 $

The first guide on the search mentioned above already has the answer for you.

 or
 
 admin@mypc ~
 $dir
 
 admin@mypc ~
 $

Pretty much any Unix beginners guide can help you. If not, we can't either.

 Could it be some system environment or special permission setting I may
 have overlooked?

Seems to be a PEBKAC setting.

Otto

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



RE: Cygwin Commands

2012-05-17 Thread Buchbinder, Barry (NIH/NIAID) [E]
Max wrote on May 17, 2012 5:37 PM

I fully agree with Otto.  You need to learn more (and to learn
it elsewhere) before you will be ready to pose questions in
this forum.

But to explain.

 admin@mypc ~
 $cd
 
 admin@mypc ~
 $

The ~ represents your home directory.

You started in your home directory.

cd with no argument goes to your home directory.

You stayed where you were.

The command behaved as expected.

 admin@mypc ~
 $dir
 
 admin@mypc ~
 $

dir (essentially identical to ls) run in a directory lists the files
in that directory, omitting files starting with a period unless one
types in dir -a.

It looks like you do not have any files in your home directory that
do not start with a period.

Note:  That you used DIR and not ls suggest that you are coming with
a DOS/Windows background.  Working in a cygwin environment is
different.  Be prepared.  Try not to make assumptions.

So nothing is wrong.  But you didn't know enough to know that.  That
means that you've an awful lot to learn.  Depending on why you want
to use cygwin, you may or may not find the rewards to be worth the
effort.

Good luck,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [feature] alias more to less

2012-05-17 Thread Andrew DeFaria

On 5/15/2012 4:57 PM, Andrew DeFaria wrote:

On 5/15/2012 12:53 PM, Christopher Faylor wrote:
Ok, fair enough. We're also not going to add an alias for more to 
every single shipping shell. As was mentioned in the first response 
to the original post there is actually a more in util-linux package. 
That should be reason enough not to add a simple alias/symlink.

I guess that's also fair enough...
Went to update my Cygwin archive and decided to include more in my local 
package dir. So I search for it and I find nothing but xmore. I tried 
looking in Utils and couldn't find anything about util-linux or even 
linux. Went cygwin.com and Search Packages. Looked for more. I don't 
find any package that has it. I do see things about less.


OK so where's more hiding?
--
Andrew DeFaria http://defaria.com
Your child may be an honor student but you're still an idiot.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [feature] alias more to less

2012-05-17 Thread Christopher Faylor
On Thu, May 17, 2012 at 04:13:32PM -0700, Andrew DeFaria wrote:
On 5/15/2012 4:57 PM, Andrew DeFaria wrote:
 On 5/15/2012 12:53 PM, Christopher Faylor wrote:
 Ok, fair enough. We're also not going to add an alias for more to 
 every single shipping shell. As was mentioned in the first response 
 to the original post there is actually a more in util-linux package. 
 That should be reason enough not to add a simple alias/symlink.
 I guess that's also fair enough...
Went to update my Cygwin archive and decided to include more in my local 
package dir. So I search for it and I find nothing but xmore. I tried 
looking in Utils and couldn't find anything about util-linux or even 
linux. Went cygwin.com and Search Packages. Looked for more. I don't 
find any package that has it. I do see things about less.

OK so where's more hiding?

Wow.  We're still talking about this?  It really isn't that hard.

Just type util-linux in the search box for setup.exe.

If you're looking for the package which holds more.exe then search for
more.exe in the package search.  You'll then find util-linux.

There are enough packages in the distro which include the word more
that you won't find util-linux in the first thirty matches.  It is on
the main search page though if you scroll down.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [feature] alias more to less

2012-05-17 Thread Andrew DeFaria

On 5/17/2012 4:23 PM, Christopher Faylor wrote:

Wow.  We're still talking about this?  It really isn't that hard.

No, we stopped for a while, then we resumed.

Just type util-linux in the search box for setup.exe.
I typed more (and more.exe) into the search box in setup. Normally I 
don't search for packages or even executables, I just install Cygwin as 
it comes and add on some things I tend to use.

If you're looking for the package which holds more.exe then search for more.exe 
in the package search.  You'll then find util-linux.
Yes, but I wasn't looking for util-linux - I was looking for more. I see 
it now and I should have connected the dots. Sorry.

--
Andrew DeFaria http://defaria.com
Why do croutons come in airtight packages? It's just stale bread to 
begin with.



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple