Clear Screen

2010-12-01 Thread Ajay Jain
Hi,

I use bash on Xterm.
While working you press Ctrl-L, so that the screen gets cleared and
you see the currently line only. But you may want to see the last
outputs/prints. However, if you do a Ctrl-L/clear command, these
prints go away. In that case, what can you use so that you clear the
screen of the prints/outputs from last command. But in case you want
to see the last output, you can just go scroll up/pageup.

I looked at the bash  Xterm manpage but this info is not available.

Thanks in Advance,
Ajay

--
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/



Xterm Title

2010-10-31 Thread Ajay Jain
Hi,

I want my Xterm to display a constant title say mercury. So I use:
Xterm -T mercury. Further, I have placed the following line in my
.Xresources: xterm*allowTitleOps: 0. From my .vnc/xstartup, I also do:
xrdb -merge ~/.Xresources. Even then my Xterm title changes to
logn...@hostname:pwd. I want to avoid it and replace this with a fixed
title. Could you suggest something? After all, what is it that is
going wrong? I am also trying to set PROMT_COMMAND, without any
success.

Regards,
Ajay.

--
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: Xserver and VNC

2010-10-29 Thread Ajay Jain
Hi Jim,

 What *has* seemed to improve things is to install the experimental X
 server (1.9) as well as latest XWin.exe from:
   ftp://cygwin.com/pub/cygwinx/XWin.20100923-git-2172af4d1ea713f1.exe.bz2
 and the latest cygwin1.dll from:
   http://www.cygwin.com/snapshots/

I am using the following cygwin: 1.7.7(0.230/5/3) 2010-08-31, which is
quite the latest. Similarly, the Xserver is Release: 1.8.2.0
(10802000) Build Date: 2010-08-06. I am a little hesitant to try out
the experimental version or to risk my cygwin installation.

1) Are these versions not suitable?
2) Is there an alternative?

Thanks,
Ajay.

--
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/



Xserver and VNC

2010-10-12 Thread Ajay Jain
Hi,

I use a Cygwin Xserver on Windows for Xterms. Now I have to access a
remote desktop using VNC. I find that if I open both, they conflict.
For example, if you do a copy/paste operation, both of them hang. Is
there any information on this? I need to use both of them at the same
time.

Regards,
Ajay

--
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/



Issues with Copy Paste

2010-05-31 Thread Ajay Jain
Hi,

The copy and paste from Xterm (using Cygwin) to my local machine is
playing a hide and seek. Sometimes it works, and sometimes it does
not. Can somebody please give me checklist on what to enable in
default so that copy paste works between xterms and any local windows
application.

Many thanks in advance,
Ajay.

--
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/



Issues with Copy and Paste on Xterm

2010-05-17 Thread Ajay Jain
Hi,

I have gone thru enough docs available on the Internet and I would
like to confirm the right methodology to copy paste from an Xterm to a
Windows application, say a notepad. As of now I have to select the
text by selecting the first word, then span multiple screens and then
doing a right click on the last one. Doing a Control Insert to copy
and a Shift Insert to paste solves the issue. However, in this process
I have to ensure that the following are clicked in the Xterm Menu bar
under VT options:

1) Select to Clipboard
2) Keep selection

A) Is there a way to automate this, as by default these choices are not enabled?
B) Is there a better way to do a copy paste, especially when the data
spans multiple screens?

Thanks,
Ajay.

--
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/



Good Xterm Fonts for C Programming

2010-05-12 Thread Ajay Jain
Hi,

I know I am asking a subjective question here, but still I think I may
get a response that fits very well into my style :-)

I am using cygwin + xterm to login to a linux box. I am currently
working on C codes. I have experimented a lot with Xfontsel and found
-*-courier-medium-r-*-*-14-*-*-*-*-*-iso8859-* to be the kind of font
that I can possibly use. But even this is not upto the mark.

1) Can somebody suggest me some good fonts on the basis of experience,
something that is good to read/write C codes?
2) I believe Courier OR Fixed fonts should be good, any inputs?

Thanks in Advance,
Ajay.

--
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/



Migrating to Cygwin-X

2010-05-09 Thread Ajay Jain
Hello,

I used to work with Hummingbird Exceed earlier and then shifted to
putty due to lack of an X-server. However, now I would like to move
back to an X environment and therefore experimenting with Cygwin-X. My
setup is that I have a Windows machine and I remotely connect to a
linux box via ssh.

Considering this I have installed Cygwin and then I run startxwin.sh.
This opens an Xterm. Then I follow the following procedure:

1) Do an xterm -T mercury to open up xterms with titles.
2) Do an ssh on mercury to login to linux box.

I face the following issues -

1) The name of the new window is not mercury, it has now changed.
Since I need to open many such windows, I need to name them. Can you
tell me how to accomplish the same?
2) I also need to change the default font. Currently it is too small.
I prefer a fixed widht font with UTF-8 character set as default. Can
anybody suggest something?

Many Thanks in Advance,
Ajay.

--
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/