[644] in Public-Access_Computer_Systems_Forum

home help back first fref pref prev next nref lref last post

Dialog on Internet

daemon@ATHENA.MIT.EDU (Public-Access Computer Systems For)
Wed Jul 1 12:11:56 1992

Date:         Wed, 1 Jul 1992 11:07:07 CDT
Reply-To: Public-Access Computer Systems Forum <PACS-L%UHUPVM1.BITNET@mitvma.mit.edu>
From: Public-Access Computer Systems Forum <LIBPACS%UHUPVM1.BITNET@mitvma.mit.edu>
To: Multiple recipients of list PACS-L <PACS-L%UHUPVM1.BITNET@mitvma.mit.edu>

2 Messages, 70 Lines
*-----
From: dmahone@hal.unm.edu (Dan Mahoney)
Subject: dialog internet backspaces
Dialog on the Internet and backspaces.

I called Dialog the other day and asked about backspaces.
They mentioned that I have to be in line mode in telnet.

This is done, after one connects and then one does a
control right bracket to see the telnet prompt.

Then one issues the command
telnet> mode line
and all is well.

BUT,, if you have your output being redirected to a file via
the tee command,,this will NOT work.
ie.   telnet dialog.com | tee output.file

tee doesn't let you give the control right bracket.

WHAT YOU COULD DO IS THIS.....
begin your session with script (output is called typescript)
for example
YOUR_PROMPT% script
      % telnet dialog.com
      after connecting do the control right bracket
      see the telnet prompt
      type mode line
      do the search
      logoff
      % HIT CONTROL D TO TERMINATE SCRIPT program
YOUR_PROMPT%
  output file is called typescript, if you want to get rid of the
  control M's at the end of each line try this.

  YOUR_PROMPT% tr -d '\015' < typescript > typescript.clean

  or

  vi typescript
  then do an escape colon %!tr -d '\015'


dan
*-----
From: dmahone@hal.unm.edu (Dan Mahoney)
Subject: dialog backspaces internet
Dialog, Internet, Backspaces....

I was mentioning earlier that if one does the following command

telnet dialog.com | tee output.file

and then tries to do a telnet escape (^]) to set the mode to mode line
after arriving at Dialog that problems would arise because the
tee program would not let one see the telnet prompt.

Well, I was DEAD  WRONG, the telnet prompt is there, you just don't
see it.(till later)

So if you are using tee to redirect the output to a file,
for your travels to Dialog, type the following after connecting to Dialog
^](control right bracket)mode line (followed by a return)

Even though you will not see the telnet prompt
telnet will go into line mode, and things will be hunky-dori
dan

home help back first fref pref prev next nref lref last post