This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Follow-up: Problems with term control solved


Problem solved, though not understood...  under Properties for the
shortcut to my cygwin.bat file, under Layout (whatever I was thinking),
I'd set the "Screen Buffer Size" width to 240.  Setting it back to 120,
like the "Window Size", corrected the term control problems.  And,
it works with TERM=cygwin, no special entries needed.

Doug Wyatt

> 
> A few days ago I decided to try out v1.1.3; I'd been using the CD v1.0
> version for some time.  The installation with setup went flawlessly and
> I started adding some of the other packages I wanted.
> 
> The main problem I've been having has been the terminal control is not
> working well, at all.  When I vi a file, the contents are interspersed with
> whatever text was on the screen.  In bash, the /bin/clear comand or the
> equivalent escape sequence moves the cursor to the top of the window
> and generally does not clear any lines, though sometimes as many as
> the first 8 lines are cleared. I use a console window setup for 120 width
> by 50 lines with 100 screens of buffering., just as I had been with v1.0.
> 
> I've tried CYGWIN=tty and CYGWIN=notty, I've tried TERM=cygwin,
> or ansi or linux, as well as various others.  I downloaded and built the
> ncurses-5.1 package (no problems) and installed it.  /usr/local/bin/clear
> works a little better than /bin/clear.  It moves the cursor to the top of the
> window and clears the first 25 lines.  Since I configured and built the
> ncurses package with --enable-termcap, I created a modified 'cygwin'
> entry in /etc/termcap - cygwin120x50, with co#120:li#50 .  But, that
> didn't help.  (By the way, what is the "op=\#[39;49m" entry?  As far as
> I can tell 'op=' isn't a valid code.)
> 
> I ran captoinfo and then tic to create a new terminfo entry for my
> cygwin120x50 definition, but that didn't help.  Frankly, I'm stumped
> at this point.  Can anyone suggest some other things for me to look
> at?
> 
> Regards,
> Doug Wyatt
> 
> =====================================================
> Cygcheck info
> =====================================================
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Sun Jul 30 01:49:04 2000
> 
> WinNT Ver 4.0 build 1381 Service Pack 5
> 
> Path:	/usr/local/bin
> 	/usr/bin
> 	/c/WINNT/system32
> 	/c/WINNT
> 	/c/perl5/bin
> 	/c/etc/NTReskit
> 
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
> 
> CYGWIN = `tty title ntsec'
> HOME = `/c/user/daw'
> MAKE_MODE = `UNIX'
> PWD = `/c/user/daw'
> USER = `4wyatt1'
> 
> !EXITCODE = `00000000'
> !D: = `D:\cygwin-v11x\bin'
> BLASTER = `A220 I5 D3 T4'
> CLASSPATH = `D:\Program Files\Adobe\PhotoDeluxe BE 1.0\AdobeConnectables;'
> COMPUTERNAME = `AMANDA'
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> EiCROOT = `:pserver:anonymous@cvs.kd-dev.com:/home/eic/cvsroot'
> HOMEDRIVE = `c:'
> HOMEPATH = `\user\daw'
> HOSTNAME = `AMANDA'
> HOSTTYPE = `i586'
> INFOPATH = `/usr/local/info:/usr/info:/contrib/info:/contrib/lib/xemacs-21.0-b67/info'
> LOGNAME = `4wyatt1'
> LOGONSERVER = `\\AMANDA'
> MACHTYPE = `i586-pc-cygwin'
> MANPATH = `/contrib/man:/usr/man:/usr/local/man:/usr/local/linux-man-1.27'
> MSINPUT = `C:\Program Files\MS Hardware'
> NTRESKIT = `D:\etc\ntreskit'
> NUMBER_OF_PROCESSORS = `1'
> OLDPWD = `/cygdrive/c/user/daw'
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> OS = `Windows_NT'
> OSTYPE = `cygwin'
> PATHEXT = `.COM;.EXE;.BAT;.CMD'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 1, GenuineIntel'
> PROCESSOR_LEVEL = `6'
> PROCESSOR_REVISION = `0501'
> PROMPT = `$P$G'
> QTJAVA = `D:\etc\jdk1.2.1\jre\lib\ext\QTJava.zip'
> RSyncROOT = `:pserver:cvs@cvs.samba.org:/cvsroot'
> SHELL = `/bin/sh'
> SHLVL = `1'
> SYSTEMDRIVE = `C:'
> SYSTEMROOT = `C:\WINNT'
> TEMP = `/c/TEMP'
> TERM = `cygwin'
> TZ = `CST6CDT'
> USERDOMAIN = `AMANDA'
> USERNAME = `4wyatt1'
> USERPROFILE = `C:\WINNT\Profiles\4wyatt1'
> WINDIR = `C:\WINNT'
> _ = `/bin/cygcheck'
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
>   (default) = `/cygdrive'
>   cygdrive flags = 0x00000020
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\1.00.000
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
>   (default) = `D:\cygwin-v11x'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
>   (default) = `c:\'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
>   (default) = `d:\'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/e
>   (default) = `e:\'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/f
>   (default) = `f:\'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/j
>   (default) = `j:\'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/k
>   (default) = `k:\'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
>   (default) = `D:/cygwin-v11x/bin'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
>   (default) = `D:/cygwin-v11x/lib'
>   flags = 0x0000000a
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
> 
> a:  fd           N/A    N/A                    
> c:  hd  FAT     2047Mb  92% CP    UN           IDE-0101
> d:  hd  NTFS    4094Mb  87% CP CS UN PA FC     IDE-0102
> e:  hd  FAT     2047Mb  75% CP    UN           SCSI-0101
> f:  hd  FAT     2039Mb  91% CP    UN           SCSI-0102
> g:  fd           N/A    N/A                    
> h:  cd           N/A    N/A                    
> i:  cd  CDUDFRW   533Mb  45% CP    UN           dcd_000708
> j:  hd  FAT     2039Mb  94% CP    UN           SCSI-0103
> k:  hd  NTFS    2549Mb  77% CP CS UN PA FC     SCSI-0104
> 
> D:\cygwin-v11x\bin  /usr/bin  system  binmode
> D:\cygwin-v11x\lib  /usr/lib  system  binmode
> D:\cygwin-v11x  /        system  binmode
> c:    /c       system  textmode
> d:    /d       system  textmode
> e:    /e       system  textmode
> f:    /f       system  textmode
> j:    /j       system  binmode
> k:    /k       system  textmode
> 
> Found: D:\cygwin-v11x\bin\bash.exe
> Found: D:\cygwin-v11x\bin\cat.exe
> Found: D:\cygwin-v11x\bin\cpp.exe
> Found: D:\cygwin-v11x\bin\find.exe
> Found: D:\cygwin-v11x\bin\gcc.exe
> Found: D:\cygwin-v11x\bin\gdb.exe
> Found: D:\cygwin-v11x\bin\ld.exe
> Found: D:\cygwin-v11x\bin\ls.exe
> Found: D:\cygwin-v11x\bin\make.exe
> Found: D:\cygwin-v11x\bin\sh.exe
> 
>    83k 2000/06/11 D:\cygwin-v11x\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitcl30.dll" v0.0 ts=2000/6/10 22:34
>    35k 2000/06/11 D:\cygwin-v11x\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitk30.dll" v0.0 ts=2000/6/10 22:34
>   402k 2000/06/11 D:\cygwin-v11x\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=2000/6/10 22:30
>     5k 2000/06/11 D:\cygwin-v11x\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
>    10k 2000/06/11 D:\cygwin-v11x\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=2000/6/10 22:30
>   639k 2000/06/11 D:\cygwin-v11x\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=2000/6/10 22:34
>   568k 2000/07/26 D:\cygwin-v11x\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2000/7/26 15:35
>     Cygwin DLL version info:
>         dll major: 1001
>         dll minor: 3
>         dll epoch: 19
>         dll bad signal mask: 19005
>         dll old termios: 5
>         api major: 0
>         api minor: 24
>         shared data: 3
>         dll identifier: cygwin1
>         mount registry: 2
>         cygnus registry name: Cygnus Solutions
>         cygwin registry name: Cygwin
>         program options name: Program Options
>         cygwin mount registry name: mounts v2
>         build date: Wed Jul 26 16:35:15 EDT 2000
>         shared id: cygwin1S3
> 
> Use -h to see help about each section
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]