From: gshan <gshan@alcatel-lucent.com>
To: linux-kernel@vger.kernel.org
Subject: strange response from shell after issuing command "resize"
Date: Thu, 14 Aug 2008 17:01:55 +0800 [thread overview]
Message-ID: <48A3F483.1070109@alcatel-lucent.com> (raw)
After I issued command "resize" to shell which is running on one of
serial port, it
doesn't output shell prompt any more, but echo what I inputed. It seems
that shell
don't know how to end one input line when this issue happened. Anybody
has ideas?
aaa@(none):~$ resize
COLUMNS=125;
LINES=39;
export COLUMNS LINES;
<entery key input>
<enter char output>
<entery key input>
<enter char output>
<entery key input>
<enter char output>
<entery key input>
<enter char output>
:
:
===tty setings before I issued "resize"====
root@(none):~# stty -a < /dev/ttySC1 | tr ' ' '\n'
speed
9600
baud;
rows
0;
columns
0;
line
=
0;
intr
=
^C;
quit
=
^\;
erase
=
^?;
kill
=
^U;
eof
=
^D;
eol
=
<undef>;
eol2
=
<undef>;
swtch
=
<undef>;
start
=
^Q;
stop
=
^S;
susp
=
^Z;
rprnt
=
^R;
werase
=
^W;
lnext
=
<undef>;
flush
=
^U;
min
=
1;
time
=
0;
-parenb
-parodd
cs8
hupcl
-cstopb
cread
clocal
-crtscts
-ignbrk
-brkint
-ignpar
-parmrk
-inpck
-istrip
-inlcr
-igncr
-icrnl
ixon
ixoff
-iuclc
-ixany
-imaxbel
-iutf8
opost
-olcuc
-ocrnl
onlcr
-onocr
-onlret
-ofill
-ofdel
nl0
cr0
tab0
bs0
vt0
ff0
isig
-icanon
-iexten
-echo
echoe
echok
-echonl
-noflsh
-xcase
-tostop
-echoprt
-echoctl
echoke
===tty setttings after I issued "resize"===
root@(none):~# stty -a < /dev/ttySC1 | tr ' ' '\n'
speed
9600
baud;
rows
39;
columns
125;
line
=
0;
intr
=
^C;
quit
=
^\;
erase
=
^?;
kill
=
^U;
eof
=
^D;
eol
=
<undef>;
eol2
=
<undef>;
swtch
=
<undef>;
start
=
^Q;
stop
=
^S;
susp
=
^Z;
rprnt
=
^R;
werase
=
^W;
lnext
=
^V;
flush
=
^U;
min
=
1;
time
=
0;
-parenb
-parodd
cs8
hupcl
-cstopb
cread
clocal
-crtscts
-ignbrk
-brkint
-ignpar
-parmrk
-inpck
-istrip
-inlcr
-igncr
icrnl
ixon
ixoff
-iuclc
-ixany
-imaxbel
-iutf8
opost
-olcuc
-ocrnl
onlcr
-onocr
-onlret
-ofill
-ofdel
nl0
cr0
tab0
bs0
vt0
ff0
isig
icanon
-iexten
echo
echoe
echok
-echonl
-noflsh
-xcase
-tostop
-echoprt
-echoctl
echoke
Thanks,
Gavin
reply other threads:[~2008-08-14 9:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48A3F483.1070109@alcatel-lucent.com \
--to=gshan@alcatel-lucent.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.