Re: AW: Good editor for under the 3270 console interface

2009-01-30 Thread Marc Schoechlin
Hi,

On Thu, Jan 29, 2009 at 08:41:23AM -0600, Dave Jones wrote:
 I believe IBM is working on a piece of Linux software that will allow ASCII 
 (SSH) logons to z/VM Linux guests that do not have networking available, 
 using the IUCV device driver. to drive the Linux console interface from 
 another Linux guest that does have networking up. I haven't heard anything 
 about when such a capability will be available, though.

thats true - this support is already in the mainline kernel.

See: 
http://kerneltrap.org/index.php?q=mailarchive/git-commits-head/2008/12/28/4516104

But I think there is currently no user-space console application available 
on developerworks.
Maybe writing a simple iucv socket client would provide a temporary
solution...

Best regards
Marc Schöchlin
-- 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: AW: Good editor for under the 3270 console interface

2009-01-29 Thread Dave Jones

Hi, Horst.

Yes, that's a good approach and it does work well. The main problem is that many sites 
will not allow access to the HMC by mere mortal system programmers. :-)


I believe IBM is working on a piece of Linux software that will allow ASCII (SSH) logons 
to z/VM Linux guests that do not have networking available, using the IUCV device driver. 
to drive the Linux console interface from another Linux guest that does have networking 
up. I haven't heard anything about when such a capability will be available, though.




Rempel, Horst wrote:

Hello Tom, since I have z/VM 5.4.0 running on our z9 I prefer to use the 
SYSASCII
console. SYSASCII is a JAVA emulation for a ASCII console. You can use VI 
editor to
change files, YAST to customize your linux and Ctrl+C. I really like this 
possibility.


I do 'attach sysa to lx100', then start the SYSASCII on the HMC, and press 
enter. After
that I see the lx100 login screen. And this works without any active 
networkadapter in
the linux.

kind regards, mit freundlichen Grüßen, Horst Rempel BG-Chemie Germany

-Ursprüngliche Nachricht- Von: Linux on 390 Port
[mailto:linux-...@vm.marist.edu] Im Auftrag von Tom Duerbusch Gesendet: 
Mittwoch, 28.
Januar 2009 19:58 An: LINUX-390@VM.MARIST.EDU Betreff: Good editor for under 
the 3270
console interface

I know this topic has been discussed, but looking thru the archives, I keep 
finding
similar topics, but not exactly the same

Using the 3270 console interface...that is...

logon Linux68 when linux is finished coming up, if you hit enter, sometimes you 
get:

login:

Now, you are a line mode device (3215?) being emulated on a 3270 session. What 
is a
good line mode editor?

I thought VI or VIM would be, but you need an ESC key, plus when you vi a 
member, it
streams the member out to the console.  And, of course, the cursor commands H, 
J, K and
L don't really work in this world.

I'm looking for options when I bring up the rescue system (sles 10.2).

Thanks

Tom Duerbusch THD Consulting

-- For 
LINUX-390
subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu
with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

-- For 
LINUX-390
subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu
with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Scott Rohling
When you say 'line editor' - that's exactly what you are forced to use..
for example sed.

You won't be able to use a 'fullscreen' editor unless you use an ascii
console..  vi/vim/nano are all fullscreen editors.

On Wed, Jan 28, 2009 at 11:57 AM, Tom Duerbusch
duerbus...@stlouiscity.comwrote:

 I know this topic has been discussed, but looking thru the archives, I keep
 finding similar topics, but not exactly the same

 Using the 3270 console interface...that is...

 logon Linux68
 when linux is finished coming up, if you hit enter, sometimes you get:

 login:

 Now, you are a line mode device (3215?) being emulated on a 3270 session.
 What is a good line mode editor?

 I thought VI or VIM would be, but you need an ESC key, plus when you vi a
 member, it streams the member out to the console.  And, of course, the
 cursor commands H, J, K and L don't really work in this world.

 I'm looking for options when I bring up the rescue system (sles 10.2).

 Thanks

 Tom Duerbusch
 THD Consulting

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Jack Woehr

Tom Duerbusch wrote:

What is a good line mode editor?


ex is the traditional Unix line mode editor, written for just such
environments.
It's the dark side of vi :)

man ex

--
Jack J. Woehr# I run for public office from time to time. It's like
http://www.well.com/~jax # working out at the gym, you sweat a lot, don't get
http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Edmund R. MacKenty
On Wednesday 28 January 2009 14:01, Scott Rohling wrote:
When you say 'line editor' - that's exactly what you are forced to use..
for example sed.

You won't be able to use a 'fullscreen' editor unless you use an ascii
console..  vi/vim/nano are all fullscreen editors.

Actually, sed is a script editor.  The classic line editor is ed.
And vi is the visual editor.  Why it wasn't called ved, I don't know. :-)
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software
275 Grove Street · Newton, MA 02466-2272 · USA
Tel: +1.617.614.4321
Email: m...@rs.com
Web: www.rocketsoftware.com  

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Ayer, Paul W
I use sed and also use echo a lot too from the console.
 
Don't forget to use the  to add to file :) else you then need to echo
in every line again.

I'm going to try the ex now that would be great.

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Edmund R. MacKenty
Sent: Wednesday, January 28, 2009 2:09 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Good editor for under the 3270 console interface

On Wednesday 28 January 2009 14:01, Scott Rohling wrote:
When you say 'line editor' - that's exactly what you are forced to
use..
for example sed.

You won't be able to use a 'fullscreen' editor unless you use an ascii
console..  vi/vim/nano are all fullscreen editors.

Actually, sed is a script editor.  The classic line editor is ed.
And vi is the visual editor.  Why it wasn't called ved, I don't
know. :-)
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.4321
Email: m...@rs.com
Web: www.rocketsoftware.com  

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Tom Duerbusch
man ex
gives me the man page for vi.
ex being an short way to start up vi and put it in ex mode.

And when I try ex, yep, that's vi G.

Tom Duerbusch
THD Consulting

 Jack Woehr j...@well.com 1/28/2009 12:58 PM 
Tom Duerbusch wrote:
 What is a good line mode editor?

ex is the traditional Unix line mode editor, written for just such
environments.
It's the dark side of vi :)

man ex

--
Jack J. Woehr# I run for public office from time to time. It's like
http://www.well.com/~jax # working out at the gym, you sweat a lot, don't get
http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Dave Jones

Tom, for most 'simple' file editing that needs to be done from the 3270 console 
(i.e.,
before the network is available), I've found that the 'ed' editor works well. 
It's command
set is small and easy for me to remember.

Jack Woehr wrote:

Tom Duerbusch wrote:

What is a good line mode editor?


ex is the traditional Unix line mode editor, written for just such
environments.
It's the dark side of vi :)

man ex

--
Jack J. Woehr# I run for public office from time to time.
It's like
http://www.well.com/~jax # working out at the gym, you sweat a lot,
don't get
http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Tom Duerbusch
However, it is not on the rescue system.

Tom Duerbusch
THD Consulting

 Dave Jones d...@vsoft-software.com 1/28/2009 1:39 PM 
Tom, for most 'simple' file editing that needs to be done from the 3270 console 
(i.e.,
before the network is available), I've found that the 'ed' editor works well. 
It's command
set is small and easy for me to remember.

Jack Woehr wrote:
 Tom Duerbusch wrote:
 What is a good line mode editor?

 ex is the traditional Unix line mode editor, written for just such
 environments.
 It's the dark side of vi :)

 man ex

 --
 Jack J. Woehr# I run for public office from time to time.
 It's like
 http://www.well.com/~jax # working out at the gym, you sweat a lot,
 don't get
 http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
DJ

V/Soft
   z/VM and mainframe Linux expertise, training,
   consulting, and software development
www.vsoft-software.com 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Adam Thornton

On Jan 28, 2009, at 2:03 PM, Tom Duerbusch wrote:


However, it is not on the rescue system.



Well, then, submit that to the vendor as a requirement.

After all, ed is the standard text editor.

http://www.gnu.org/fun/jokes/ed.msg.html

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Tom Duerbusch
Ok got around the problem of ed not being on the rescue system.

Use ed from the installed system (duh).

/mnt/bin/ed filename

So far, my testing using the rescue system, ed is the right tool.

Thanks

Tom Duerbusch
THD Consulting

 Dave Jones d...@vsoft-software.com 1/28/2009 1:39 PM 
Tom, for most 'simple' file editing that needs to be done from the 3270 console 
(i.e.,
before the network is available), I've found that the 'ed' editor works well. 
It's command
set is small and easy for me to remember.

Jack Woehr wrote:
 Tom Duerbusch wrote:
 What is a good line mode editor?

 ex is the traditional Unix line mode editor, written for just such
 environments.
 It's the dark side of vi :)

 man ex

 --
 Jack J. Woehr# I run for public office from time to time.
 It's like
 http://www.well.com/~jax # working out at the gym, you sweat a lot,
 don't get
 http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
DJ

V/Soft
   z/VM and mainframe Linux expertise, training,
   consulting, and software development
www.vsoft-software.com 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Rick Troth
'vi' will come up clean on a (dialed) 3270 (or the console if you did a
#CP TERM CONMODE 3270  before bringing up Linux).  You will still have
pain w/r/t the Esc key.  The 3270 driver honors the cursor positioning
and text highlighting protocol used by a DEC VT220 (roughly ANSI X3.64).


With a (dialed) 3270, the PF keys will also work,
so one could easily write a full-screen text-mode ASCII application
that works equally well on either an ASCII terminal or on the 3270.
No one seems to get this.  UTS had (has!) the same capability.
This is nothing new!


-- R;   

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Scott Rohling
Wow - thanks Rick - I hadn't played with conmode 3270 or dialing..  thanks
for reminding us --

Scott

On Wed, Jan 28, 2009 at 3:26 PM, Rick Troth r...@casita.net wrote:

 'vi' will come up clean on a (dialed) 3270 (or the console if you did a
 #CP TERM CONMODE 3270  before bringing up Linux).  You will still have
 pain w/r/t the Esc key.  The 3270 driver honors the cursor positioning
 and text highlighting protocol used by a DEC VT220 (roughly ANSI X3.64).


 With a (dialed) 3270, the PF keys will also work,
 so one could easily write a full-screen text-mode ASCII application
 that works equally well on either an ASCII terminal or on the 3270.
 No one seems to get this.  UTS had (has!) the same capability.
 This is nothing new!


 -- R;   

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Good editor for under the 3270 console interface

2009-01-28 Thread Rick Troth
On Wed, 28 Jan 2009, Tom Duerbusch wrote:
 ...
 Use ed from the installed system (duh).

 /mnt/bin/ed filename


nice   ...:-)


-- R;   

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


AW: Good editor for under the 3270 console interface

2009-01-28 Thread Rempel, Horst
Hello Tom,
since I have z/VM 5.4.0 running on our z9 I prefer to use the SYSASCII console.
SYSASCII is a JAVA emulation for a ASCII console. You can use VI editor to 
change files, YAST to customize your linux
and Ctrl+C. I really like this possibility. 

I do 'attach sysa to lx100', then start the SYSASCII on the HMC, and press 
enter.
After that I see the lx100 login screen. And this works without any active 
networkadapter in the linux.

kind regards, mit freundlichen Grüßen,
Horst Rempel
BG-Chemie
Germany

-Ursprüngliche Nachricht-
Von: Linux on 390 Port [mailto:linux-...@vm.marist.edu] Im Auftrag von Tom 
Duerbusch
Gesendet: Mittwoch, 28. Januar 2009 19:58
An: LINUX-390@VM.MARIST.EDU
Betreff: Good editor for under the 3270 console interface

I know this topic has been discussed, but looking thru the archives, I keep 
finding similar topics, but not exactly the same

Using the 3270 console interface...that is...

logon Linux68
when linux is finished coming up, if you hit enter, sometimes you get:

login:

Now, you are a line mode device (3215?) being emulated on a 3270 session.
What is a good line mode editor?

I thought VI or VIM would be, but you need an ESC key, plus when you vi a 
member, it streams the member out to the console.  And, of course, the cursor 
commands H, J, K and L don't really work in this world.

I'm looking for options when I bring up the rescue system (sles 10.2).

Thanks

Tom Duerbusch
THD Consulting

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390