sayeo87 | 2 May 08:06 2011
Picon

Any way to prevent programs like Vim from clearing scrollback buffers?


When running Cygwin in the default cmd.exe window or similar terminal
emulators such as  https://sourceforge.net/projects/console/ Console  I've
noticed that after quitting programs that replace the entire screen (such as
Vim and man), only the bash history on the current window height is shown.
That is, once you scroll up past the current screen nothing is displayed.
This also happens irrespective of whatever the screen buffer size is set to.

I'm sure this has been brought up before but I couldn't find much
(conclusive) discussion on it, and right now I just want to know whether its
possible to preserve more history, _without_ switching to an emulator other
than Console.
--

-- 
View this message in context: http://old.nabble.com/Any-way-to-prevent-programs-like-Vim-from-clearing-scrollback-buffers--tp31521027p31521027.html
Sent from the Cygwin list mailing list archive at Nabble.com.

Tee | 2 May 08:19 2011
Picon

Re: an updated howto on a portable/usb cygwin installguide?

I noticed with your setup I'm stuck with 

[loggedinuser] <at> [hostmachinename] ~

as my prompt

is there a way  to change the $user variable without editing /etc/profile  ??

mainly to intercept that pesky USER="$(id -un)" to change it to something of my
choosing in the bat file?
ie Tee <at> [hostmachine]
more specifically to convince the shell that "$(id -un)" or $USER is "TEE"?

Ulrich.Herbst | 2 May 13:23 2011

cronjobs for non-administrator-User don't work

Hi,

we have:

Cygwin Configuration Diagnostics
Current System Time: Mon May 02 12:26:11 2011

Windows 2008 R2 Server Enterprise Ver 6.1 Build 7600 

Running under WOW64 on AMD64

Path:   D:\cygwin\usr\local\bin
        D:\cygwin\bin
        D:\cygwin\bin

SysDir: C:\Windows\system32
WinDir: C:\Windows

There, crond is running as service with user .\cyg_serv.

We have two users:
user1 with administrator privilege,
user2 without administrator privilege, but part of the users-group in Windows.

cronjobs for user1 are working.

cronjobs for user2 aren't working.

cron.log shows:
X-Cron-Env: <LOGNAME=edicsuser>
(Continue reading)

Corinna Vinschen | 2 May 13:42 2011

Re: cronjobs for non-administrator-User don't work

On May  2 13:23, Ulrich.Herbst <at> t-systems.com wrote:
> Hi,
> 
> we have:
> 
> Cygwin Configuration Diagnostics
> Current System Time: Mon May 02 12:26:11 2011
> 
> Windows 2008 R2 Server Enterprise Ver 6.1 Build 7600 
> 
> Running under WOW64 on AMD64
> 
> Path:   D:\cygwin\usr\local\bin
>         D:\cygwin\bin
>         D:\cygwin\bin
> 
> SysDir: C:\Windows\system32
> WinDir: C:\Windows
> 
> There, crond is running as service with user .\cyg_serv.
> 
> We have two users:
> user1 with administrator privilege,
> user2 without administrator privilege, but part of the users-group in Windows.
> 
> cronjobs for user1 are working.
> 
> cronjobs for user2 aren't working.
> 
> cron.log shows:
(Continue reading)

Sayth Renshaw | 2 May 14:38 2011
Picon

Make on Cygwin Changing Ruby to Jruby executable

I am trying to use compile with emacs on windows7. Cygwin is being
called as its my make environment.

Cygwin seems to be calling ruby.exe judging by the output pasted
below, what I want to know is how do i update it to be jruby?

My path for jruby is set as.
C:\jruby-1.6.1\bin

This the output.

-*- mode: compilation; default-directory: "c:/MyRuby/" -*-
Compilation started at Mon May 02 22:30:48

C:/cygwin/bin\ruby.exe -w c:/MyRuby/anothertest.rb
cygwin warning:
 MS-DOS style path detected: c:/MyRuby/anothertest.rb
 Preferred POSIX equivalent is: /cygdrive/c/MyRuby/anothertest.rb
 CYGWIN environment variable option "nodosfilewarning" turns off this warning.
 Consult the user's guide for more details about POSIX paths:
   http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Andrew Schulman | 2 May 15:21 2011
Picon

Re: Request: LFTP Update to 4.2.2

> On 29 April 2011 14:10, Chris Sutcliffe wrote:
> > I'm still getting the error and I've attached my cygcheck.out.  I've
> > tried uninstalling my anti-virus software and that didn't help either.
> >  I'm at a loss as to what else to check.  Everything else Cygwin
> > related seems to be working OK.
> 
> Issue solved, I was using rebaseall with:
> 
> dash -c "rebaseall -b 0x77000000"
> 
> and apparently my system doesn't like using that base address.  Doing a:
> 
> dash -c "rebaseall"
> 
> Has fixed the issue.

OK.  For the record, I upgraded lftp to 4.2.2 on my home Win7-64 box, and
it runs fine there.  I haven't tried to use rebaseall.  Andrew.

Thrall, Bryan | 2 May 17:30 2011

Symlink to drive and space in directory name leads to DOS warning

When I try to do a tab-completion on a directory with a space in it for the first time after starting Cygwin, I
get a DOS warning even though I'm not using a DOS path. This only seems to happen when I access the directory
through a symlink I have to my E: drive, like so:

thrall <at> pc1163-8413-xp ~
$ pushd ~/myuserdrv/My\ Downcygwin warning:
  MS-DOS style path detected: ~/myuserdrv/My\ Downloads
  Preferred POSIX equivalent is: ~/myuserdrv/My/ Downloads
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
loads
~/myuserdrv/My Downloads ~
thrall <at> pc1163-8413-xp ~/myuserdrv/My Downloads
$ ls -l ~/myuserdrv
lrwxrwxrwx 1 thrall Users 11 Jul 16  2008 /home/thrall/myuserdrv -> /cygdrive/e

Note also that /home/thrall is mounted from E:/home/thrall; if I copy the myuserdrv symlink to /tmp (which
is not on E:), then I don't get the DOS warning when I do tab-completion on /tmp/myuserdrv/My\ Downloads.

A single warning every time I reboot isn't a big deal, but I thought I'd mention it in case anyone was
interested in investigating.

cygcheck.out attached.
--
Bryan Thrall
FlightSafety International
bryan.thrall <at> flightsafety.com
  

(Continue reading)

Eric Blake | 2 May 17:35 2011
Picon

Re: Symlink to drive and space in directory name leads to DOS warning

On 05/02/2011 09:30 AM, Thrall, Bryan wrote:
> When I try to do a tab-completion on a directory with a space in it for the first time after starting Cygwin, I
get a DOS warning even though I'm not using a DOS path. This only seems to happen when I access the directory
through a symlink I have to my E: drive, like so:
> 
> thrall <at> pc1163-8413-xp ~
> $ pushd ~/myuserdrv/My\ Downcygwin warning:
>   MS-DOS style path detected: ~/myuserdrv/My\ Downloads
>   Preferred POSIX equivalent is: ~/myuserdrv/My/ Downloads
>   CYGWIN environment variable option "nodosfilewarning" turns off this warning.
>   Consult the user's guide for more details about POSIX paths:
>     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Are you using bash-completion?  If so, it's likely a bug in
bash-completion for passing an underquoted file name through the shell
such that it results in a failed globbing attempt on a literal \.

I haven't yet managed to reproduce this in my setup (perhaps I need to
double-check that my $CYGWIN hasn't already suppressed the warning?).
Maybe showing:

$ set -vx
$ pushd ~/myuserdrv/My\ Down[TAB]

might give me some insight where to look at plugging the leak?

--

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

(Continue reading)

Thrall, Bryan | 2 May 18:04 2011

RE: Symlink to drive and space in directory name leads to DOS warning

Eric Blake wrote on 2011-05-02: 
> On 05/02/2011 09:30 AM, Thrall, Bryan wrote:
>> When I try to do a tab-completion on a directory with a space in it
> for the first time after starting Cygwin, I get a DOS warning even
> though I'm not using a DOS path. This only seems to happen when I
> access the directory through a symlink I have to my E: drive, like so:
>> 
>> thrall <at> pc1163-8413-xp ~
>> $ pushd ~/myuserdrv/My\ Downcygwin warning:
>>   MS-DOS style path detected: ~/myuserdrv/My\ Downloads Preferred POSIX
>>   equivalent is: ~/myuserdrv/My/ Downloads CYGWIN environment variable
>>   option "nodosfilewarning" turns off this warning. Consult the user's
>>   guide for more details about POSIX paths:
>>     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> 
> Are you using bash-completion?  If so, it's likely a bug in
> bash-completion for passing an underquoted file name through the shell
> such that it results in a failed globbing attempt on a literal \.

AFAIK, I am not using bash-completion; the package is installed, but I don't source /etc/bash_completion
in my ~/.bashrc.

> I haven't yet managed to reproduce this in my setup (perhaps I need to
> double-check that my $CYGWIN hasn't already suppressed the warning?).
> Maybe showing:
> 
> $ set -vx
> $ pushd ~/myuserdrv/My\ Down[TAB]
> 
> might give me some insight where to look at plugging the leak?
(Continue reading)

Eric Blake | 2 May 18:11 2011
Picon

Re: Symlink to drive and space in directory name leads to DOS warning

On 05/02/2011 10:04 AM, Thrall, Bryan wrote:
> AFAIK, I am not using bash-completion; the package is installed, but I don't source
/etc/bash_completion in my ~/.bashrc.

You don't have to manually source it in ~/.bashrc - these days, merely
installing bash-completion adds /etc/profile.d/bash_completion, which is
automatically sourced for all interactive bash shells.

>> $ set -vx
>> $ pushd ~/myuserdrv/My\ Down[TAB]
>>
>> might give me some insight where to look at plugging the leak?
> 
> I don't think there's much help there, unfortunately:
> 
> thrall <at> pc1163-8413-xp ~
> $ set -vx
> settitle
> ++ settitle
> ++ echo -ne '\033]0;bash\007'
> thrall <at> pc1163-8413-xp ~
> $ pushd ~/myuserdrv/My\ Downcygwin warning:

Well, it _does_ help.  'complete -p pushd' shows 'complete -d pushd',
which is the setting installed by bash-completion.  But the pushd
default completions mean that the problem is in bash itself, not in
bash-completion.  So it gives me somewhere further to look.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
(Continue reading)


Gmane