Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 05/06/05


Date: Fri, 06 May 2005 21:20:22 GMT

Keith Thompson <kst-u@mib.org> wrote:
> I've seen some odd behavior in Cygwin. I run a shell in a command
> window, then start an X server from there and do my actual work in
> xterm windows. If I hit control-C in the command window, it affects
> both the current process in the command window *and* the current
> process in the active xterm window behind it.

> I have no idea why it does this or whether it's related to your
> problem, but if you're running in a command window you might try
> running under X instead. (Cygwin includes an X server, or if you
> prefer you can use a third-party X server like Exceed.)

To avoid the overhead of running an X server all the time, and to get an
actual decent terminal, I use rxvt locally.

Make sure you've got it if you don't have a full cygwin install, then I
just make a bat file and link to it. Here's the bat file.

$ cat /rxvt.bat
@echo off
C:
chdir C:\cygwin\bin
rxvt -fn 9x15 -tn xterm -sl 2000 -e bash --login -i

Much better than a command window, but still local and light.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >


Relevant Pages

  • Re: Defrag very very slow?
    ... One thing to make sure of when doing a defrag is that the command window we ... window or perform any other action on the server, ... 244525 How to run Eseutil on a computer without Exchange Server ...
    (microsoft.public.exchange2000.information.store)
  • Error messages after logging out of window
    ... I get error messages most of time after logging out of window. ... -bash: Unable: command not found ... $ waiting for X server to shut down ...
    (RedHat)
  • Re: access win32 from unix?
    ... I want to issue a command on the ... :> unix server that sends a request to the windows box asking ... boxes you want to monitor; run the server from the "master" box. ... If you install cygwin on them, and ssh, you can use SSH on your server ...
    (comp.lang.perl.misc)
  • Re: net use script issue with terminal server and DFS
    ... a failed net use command won't generate an event in the ... MCSE, CCEA, Microsoft MVP - Terminal Server ... the script, with DFS path, runs; ... this case i have blue screen and usrlogon.cmd window). ...
    (microsoft.public.windows.terminal_services)
  • Re: Emacs/Calc/GNUPlot/gnuplot-mode problem on Windows XP
    ... this command ... These two just brought up the gnuplot text window which then had to be manually exited. ... I fired up cygwin, though, and ran your example just fine. ... I suppose another possibility would be to try to get NT Emacs talking to Cygwin, but that will undoubtedly get painful (and seems like a cop out, anyway ...
    (comp.emacs)