control: tags 833116 +moreinfo

Thank you for your fast response.

> 
> > When running virtual ttys with fgetty, I cannot type any spanish
> > accented vowel nor the "eñe" into the console shell.
> 
> What do you call 'console shell'? /bin/bash?

The problem only happens after logging into virtual ttys called from fgetty (or 
ngetty configured to use login1).

I use /usr/bin/rc as default shell; but, in order to discard any shell 
configuration, I have chsh /bin/bash and reboot. Indeed, I have created a new 
user with adduser to discard any .profile issue. The problem remains in both 
cases.

> Do I understand correctly, that /bin/bash, which is execed directly by
> fgetty behaves bad, but any it's child is okay?

That is correct. If /bin/bash -or other command interpreters available in 
Debian- are accessed through fgetty, they behave bad (interpretting [á-ú] or 
"ñ" key presses as escape sequences). Besides, when trying to type [Á-Ú,Ñ], the 
system just beeps, that is: no "(arg: 1) " appear.

But, if I execute any of these command interpreters again as a child process, 
or if I run any editor (e.g. ed), or even if I run script(1) or ttyrec, key 
strokes will echo the correct letters.

> More information here, please. More detailed instruction how to reproduce
> problem. script(1) would help.

As I said, if I execute script(1), the keys will work OK. Anyway, I try to 
detail some extra information below. I hope it helps to debbug.

# In /etc/inittab :
 
1:23:respawn:/sbin/fgetty tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/mingetty tty3
4:23:respawn:/sbin/rungetty tty4
5:23:respawn:/sbin/ngetty tty5
6:23:respawn:/sbin/ngetty tty6

# In /etc/ngetty/Conf :

# tty6=echo-off # (same result with this line enabled)
tty6=login-prog=/lib/fgetty/login1

# 'dpkg -L fgetty' output is:

/.
/lib
/lib/fgetty
/lib/fgetty/login1
/lib/fgetty/login2
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/fgetty
/usr/share/doc
/usr/share/doc/fgetty
/usr/share/doc/fgetty/changelog.Debian.gz
/usr/share/doc/fgetty/changelog.gz
/usr/share/doc/fgetty/copyright
/usr/share/doc/fgetty/README
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/fgetty.8.gz
/usr/share/man/man8/checkpassword.login.8.gz
/sbin
/sbin/fgetty
/bin
/bin/checkpassword.login


# reboot and login into tty[1-6]
# in tty5 type:
; ps -a
  PID TTY          TIME CMD
 2155 tty1     00:00:00 login1 <defunct>
 2157 tty2     00:00:00 rc
 2159 tty3     00:00:00 rc
 2161 tty4     00:00:00 rc
 2153 tty5     00:00:00 rc
 2162 tty5     00:00:00 ps
 2149 tty6     00:00:00 login1 <defunct>

# By pressing "ñ" key in:

tty1: the console shows: "(arg: 1)"
tty2: the console shows: "; ñ"
tty3: the console shows: "; ñ"
tty4: the console shows: "; ñ"
tty5: the console shows: "; ñ"
tty6: the console shows: "(arg: 1)"

# I run /usr/bin/rc in tty1 and type "ñ". The screen displays:
; /usr/bin/rc
; ñ

# By exiting this child program with ^d:

; exit

# Press "ñ" key again, and:
(arg: 1)

; /bin/bash :
$ ñ

# ps -a | grep tty1:
 2817 tty1     00:00:00 bash

; ^d
# Now, on other tty:
; ps -a | grep tty1
;
# Nothing there, as kindly expected from login1 :)

# If I exit again with ^d and type "ñ":

login: ñ


###
Please, let me know any other information that might help.


> 
> -- 
> Accept: text/plain, text/x-diff
> Accept-Language: eo,en,ru
> X-Web-Site: sinsekvu.github.io
> 

Reply via email to