staircase effect on login

staircase effect on login

Post by v.. » Fri, 08 Mar 1996 04:00:00




Subject: Re: staircase effect on login
Date: Thu, 7 Mar 1996 22:38:39 GMT



>I'm not an expert in Linux, so I suppose I did any silly error.
>We have Linux installed on two computer linked by serial line (null
>modem or tele line)
>When PC 'A' log in the shell of PC 'B', everithing echoed in PC 'A'
>with a line feed and no CR (carriage return).
>In PC'B's virtual console logges as usual.

>The problem must be in PC 'B' since the same happens
>when we change PC 'A' .

The 'staircase' effect is the result of a cultural differences between
computer opeating systems.  Unix based systems terminate each line with
a
single <new-line> character.  MSDOS and some other systems use a
combination <carriage-return, new-line> pair of characters to terminate
a
line.  Stated another way, in MSDOS, the <carriage-return> simple
returns
the cursor to the beginning of the current line while <new-line>
advances
the cursor one line with character position the same distance from the
beginning of the line.  In Unix systems, the <new-line> infers a
carriage
return.

How your system responds is defined in the 'struct termios' associated
with
the current terminal be it a video console, a printer or a serial port.

The specific flags you want to change are 'OPOST | ONLCR'.  I lost the
thought stream in your question but I suspect that you need to add these
flags to the '/etc/gettydefs' of PC A.  The counter part is 'IGNCR'.

Refer to manual pages 'stty(1)' and 'termios(7)'.  I have prepared a
blurb
concering the 'struct termios'.  If you would like a copy, I can e-mail
a
copy.

vern

--
Vernon C. Hoxie                                          
scicom!zebra!vern
3975 W. 29th Ave.                                  

Denver, Colo., 80212        uucp: 303-455-2670          voice:
303-477-1780

 
 
 

staircase effect on login

Post by Klaus Steding-Jess » Mon, 11 Mar 1996 04:00:00



Quote:MacDowellnews.rdc.puc-rio.br) writes:
> I'm not an expert in Linux, so I suppose I did any silly error.
> We have Linux installed on two computer linked by serial line (null
> modem or tele line)
> When PC 'A' log in the shell of PC 'B', everithing echoed in PC 'A'
> with a line feed and no CR (carriage return).
> In PC'B's virtual console logges as usual.

Hi Samuel,

        after the login  in the  'B' machine,  from your serial  line,
try 'stty -nl' and see what happens...

Good Luck,
Klaus.

--
+-------------------------------------+------------------------------------+
|  UNIVERSIDADE ESTADUAL DE CAMPINAS  |  Klaus Steding-Jessen              |

|  Campinas / Brazil                  |  PGP key available via finger      |
+-------------------------------------+------------------------------------+

 
 
 

1. login,passwd+motd lines with staircase effect

Hi!

It looks like <cr> is not passed to the terminal:

Linux login: myname
                   Password :
                             The lines
                                      of /etc/motd
                                                  look like this.
Ugly!

Everything is fine when the shell is running. This is some kind of
Slackware 2.1 with kernel 1.1.59. Any hints?
Thanks in advance, best wishes
Mathias
--
Mathias Bartsch, Gerhard-Mercator-Universitaet -GH- Duisburg,       FB10
Laboratorium fuer Festkoerperphysik     47048 Duisburg,     Lotharstr. 1  

2. mgetty+sendfax 0.12 uploaded

3. Staircase Effect-free me from printing in windows.

4. Applications?

5. Staircase effect on a remote printer

6. 2 100Base T cards connected together w/o hub?

7. help w/staircase effect

8. init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0:

9. Staircase Effect on Printing!

10. How to fix staircase effect on printer

11. Staircase Effect

12. SCO OSR 5.0.2 - "Staircase" effect problem in remote laser printing

13. Staircase effect on CanonBJ10e printer