delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/02/22:11:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,TW_MR,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Server-Uuid: D3C04415-6FA8-4F2C-93C1-920E106A2031
From: "Val Shkolnikov" <vals AT broadcom DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 2 Mar 2012 19:11:11 -0800
Subject: cygwin agetty problem
Message-ID: <400C43189542CE41BC0A5B252FC90136BC88A34F7F@SJEXCHCCR02.corp.ad.broadcom.com>
x-cr-hashedpuzzle: AEFD Ax/D BlVE Chji CrBh DN0t DP+H Davb EIr+ EWbE EnYY FVs5 Fr1s Fvg4 KW63 LRAa;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{425D778B-2CA8-4E54-9FCA-1345ADC791ED};dgBhAGwAcwBAAGIAcgBvAGEAZABjAG8AbQAuAGMAbwBtAA==;Sat, 03 Mar 2012 03:11:11 GMT;YwB5AGcAdwBpAG4AIABhAGcAZQB0AHQAeQAgAHAAcgBvAGIAbABlAG0A
x-cr-puzzleid: {425D778B-2CA8-4E54-9FCA-1345ADC791ED}
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q233Bgva001373

When I invoke getty at Win7x64, login works but no stty options are set up except baud rate (stty report -icanon, etc), so there is no echo; columns, rows are 0.  If I try to use stty, eg. stty sane, I get "stty: standard input: unable to perform all requested operations".  I tried both standard /bin/login and direct to bash: same result.  Here are the commands I tried:

/usr/sbin/agetty -L  9600 com1 xterm
/usr/sbin/agetty -L  -l /bin/bash -n 9600 com1 xterm

This is what I get on stty -a

$ speed 9600 baud; rows 0; columns 0; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>;
flush = <undef>; min = 0; time = 0;
-parenb -parodd cs8 -hupcl -cstopb -cread clocal -crtscts
-ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon -ixoff
-iuclc -ixany -imaxbel
-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -tostop -echoctl
-echoke

Any ideas?-echoke


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019