Centos 4.3 Kernel 2.6.9-11 3270 support

2006-08-29 Thread Richard Pinion
Public thanks to Richard Hitt of Utsglobal for getting ned to work again.  Ned 
works from the 3270 console and the native standalone 3270 session.

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


Re: Slack/390 3270 support

2004-11-19 Thread Adam Thornton
On Nov 19, 2004, at 1:45 PM, Richard Pinion wrote:
Do you have to use this command from the 3270 console to make it work?
ned -T /dev/3270/tub0xxx  /etc/inittab
If I try
ned /etc/inittab
I get a nastygram saying "ned is supported only on 3270 terminals".
Yeah.
Here's a script I wrote, called cned, that tries to figure out what the
console is and do the right thing.  It requires cpint to be installed.
I don't think you can do the job without cpint.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


cned
Description: Binary data

If the mailing list strips the attachment I'll try again just pasting
the text in.  It's short.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-19 Thread Richard Pinion
Do you have to use this command from the 3270 console to make it work?

ned -T /dev/3270/tub0xxx  /etc/inittab

If I try

ned /etc/inittab

I get a nastygram saying "ned is supported only on 3270 terminals".

>>> [EMAIL PROTECTED] 11/19/04 02:33PM >>>
On Nov 19, 2004, at 1:21 PM, Richard Pinion wrote:

> I guess there's nobody out there or nobody that cares about ned.
> Anyway ned works on Slack/390 9.1 3270 console.
>
I care about it!

It's working nicely on Debian now.

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-19 Thread Adam Thornton
On Nov 19, 2004, at 1:21 PM, Richard Pinion wrote:
I guess there's nobody out there or nobody that cares about ned.
Anyway ned works on Slack/390 9.1 3270 console.
I care about it!
It's working nicely on Debian now.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-19 Thread Richard Pinion
I guess there's nobody out there or nobody that cares about ned.  Anyway ned 
works on Slack/390 9.1 3270 console.

>>> [EMAIL PROTECTED] 11/17/04 04:05PM >>>
Thanks, Dick, very much!

> Some users have started NED, and then seen the message
>   "ned is supported only on 3270 terminals".
> It has to do with /dev/tty sometimes being "wrong".  There's a way to
> get NED to work, though; just start it with the -T option.
> If, for example, your console's at address 0009:
>ned -T /dev/3270/tub0009.

Does this NED do the nifty old UTS hack
of on-demand protocol conversion?   I mean,  if I run NED
on an SSH connection,  will it make things work,  or does it require
(what appears to Linux as)  a real 3270?

> We hope you all like this new NED.

Frankly,  it has always been  "second behind XEDIT",
not counting THE with appropriate configgerashun.
That is saying a lot.   Fabulous editor!

-- R;

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-19 Thread Richard Pinion
I just started ned under a 3270 console running TaoLinux/390.  This is great!  
This is what has always been needed in case one cannot get a network connection.

>>> [EMAIL PROTECTED] 11/17/04 02:51PM >>>
Over the last few days, I noticed a lot of email showing an interest
in using a 3270 console and NED on various Linux/390 systems.

WRT 3270: Dick Hitt of UTS Global LLC is the original author of the
3270 device driver already available in the SuSE, RedHat and Debian
distributions.  It works!

WRT NED:  We were very busy the last few months releasing our enhanced
web browser version of Backup and Restore, including the Virtual Tape
System.  Now that it's G/A, we've had time to listen and enhanced the
NED freeware:  We heard your suggestions to remove the licensing required
for each CPU.

Once you've registered with us, you're free to download and make as many
copies as you want within your organization.  If you've already registered,
login and get a new copy of NED.  If you have not, please register with us
and then download a copy.  We're on the honor system here.

Some users have started NED, and then seen the message
  "ned is supported only on 3270 terminals".
It has to do with /dev/tty sometimes being "wrong".  There's a way to
get NED to work, though; just start it with the -T option.
If, for example, your console's at address 0009:
   ned -T /dev/3270/tub0009.

We hope you all like this new NED.


Dick Holic
UTS Global Customer Care

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-19 Thread Richard Pinion
To start a session on a 3270 tty I use "lab1:12345 /sbin/mingetty /dev/tty0700"
 in /etc/inittab.
 

What do I use for the /dev/tub0700?

>>> [EMAIL PROTECTED] 11/12/04 04:21PM >>>
Hi, Richard

As to /dev/3270/tub* being block devices, that's new to me.  Could you
point me more exactly to where you saw this?

The 3270 driver uses two major numbers, 227 and 228, for line-mode and
fullscreen operations.  Both are character devices.  The script
/usr/src/linux{,-2.4}/Documentation/s390/config3270.sh generates
/tmp/mkdev3270, which generates character device special files
/dev/3270/ttyfoo and /dev/3270/tubfoo respectively, foo a 4-character
device address.  Minor number 0 is used only with major 228 and defines
the generic fullscreen device /dev/3270/tub; 0 is not used with major 227.

To find for yourself what devices the 3270 driver knows about, give
these two commands:
echo what=config > /proc/tty/driver/tty3270
cat /proc/tty/driver/tty3270
Use the address at the CONSOLE line for your console device.  The line
will read:
  CONSOLE  

If you use the above scripts to configure your 3270s, you should expect
to see /dev/3270/tub as major 228, minor .
If you don't want to, or don't have them available, do this:
mkdir /dev/3270
mknod /dev/3270/tub c 228 

Hope this helps.

Richard Hitt  [EMAIL PROTECTED] 



Richard Pinion wrote:

>Are you saying my device should be tub0700 rather than tty0700?
>
>I looked at the device list on kernel.org and saw that /dev/3270/tty* is a 
>character device and /dev/3270/tub* is a block device.
>
>
>
[EMAIL PROTECTED] 11/12/04 03:16PM >>>


>Richard Troth wrote:
>
>
>
>>[snip]
>>
>>Mark,  you might want to make a note of this and get back with
>>the rest of the Slack team.   Richard H.,  I haven't looked at
>>the 3270 console code,  but are you okay with 5,1?   It is the
>>current choice for /dev/console,  per the kernel doc.
>>
>>-- R;
>>
>>
>>
>>
>Hi, Richard et al
>
>Major/minor 5,1 for /dev/console seems okay, but I'd be surprised if you
>are able to use /dev/tty with that; I bet "echo foo > /dev/tty" fails.
>To run ned nevertheless on a 3270 console, use the undocumented -T
>option.  For instance, if your console's at 0009, use "ned -T
>/dev/3270/tub0009".  Ordinarily ned uses /dev/3270/tub, the full-screen
>analogue of /dev/tty.
>
>handy hint --> Note that, unlike vi, ned can be used at the end of a
>pipe:  "ps -ef | ned -T /dev/3270/tub0009".  <-- handy hint
>
>Richard Hitt   [EMAIL PROTECTED] 
>
>--
>For LINUX-390 subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-18 Thread Richard Pinion
FYI - 3270 console support is available in TaoLinux/390.  All I had to do was 
mknod tty c 227 1 in the /dev directory and add conmode=3270 to the zipl 
parm in /etc/yourzipl.conf and issue zipl -c /etc/yourzipl.conf.  The 
/dev/console device already had a major of 5 and minor of 1.

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


Re: Slack/390 3270 support

2004-11-17 Thread Adam Thornton
On Nov 17, 2004, at 3:37 PM, Richard Hitt wrote:
Hi, Richard
Thanks for your many kind words and thoughts about ned and 3270 on
Linux, by the way!
Ned in UTS when confronted with a non-3270 forked the UTS sim3270(1)
program and piped to and from it.
Hunh.  Now, I don't know anything about sim3270 but the name, but I
wonder how hard it would be to hack c3270 to listen to a domain socket
(or, heck, stdin!) and spawn that instead?  All it requires is a
cursor-addressible terminal, and it's open-source.
The capability remains in ned, but we
have not offered sim3270(1), so the point is sort of moot.  As I
recall,
I had it all working at one point a couple of years ago, but management
would need some, um, "encouragement" for it to see the light of day.
Hey, management!  I encourage this!
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Richard Hitt
Hi, Richard
Thanks for your many kind words and thoughts about ned and 3270 on
Linux, by the way!
Ned in UTS when confronted with a non-3270 forked the UTS sim3270(1)
program and piped to and from it.  The capability remains in ned, but we
have not offered sim3270(1), so the point is sort of moot.  As I recall,
I had it all working at one point a couple of years ago, but management
would need some, um, "encouragement" for it to see the light of day.
Richard Hitt  [EMAIL PROTECTED]
Richard Troth wrote:
Thanks, Dick, very much!

Some users have started NED, and then seen the message
 "ned is supported only on 3270 terminals".
It has to do with /dev/tty sometimes being "wrong".  There's a way to
get NED to work, though; just start it with the -T option.
If, for example, your console's at address 0009:
  ned -T /dev/3270/tub0009.

Does this NED do the nifty old UTS hack
of on-demand protocol conversion?   I mean,  if I run NED
on an SSH connection,  will it make things work,  or does it require
(what appears to Linux as)  a real 3270?

We hope you all like this new NED.

Frankly,  it has always been  "second behind XEDIT",
not counting THE with appropriate configgerashun.
That is saying a lot.   Fabulous editor!
-- R;
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Adam Thornton
FWIW, once you copy over liblms.so, run ldconfig, and create the
appropriate device entries, ned works quite nicely on Debian Sarge.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Adam Thornton
On Nov 17, 2004, at 3:05 PM, Richard Troth wrote:
Thanks, Dick, very much!
Some users have started NED, and then seen the message
  "ned is supported only on 3270 terminals".
It has to do with /dev/tty sometimes being "wrong".  There's a way to
get NED to work, though; just start it with the -T option.
If, for example, your console's at address 0009:
   ned -T /dev/3270/tub0009.
Does this NED do the nifty old UTS hack
of on-demand protocol conversion?   I mean,  if I run NED
on an SSH connection,  will it make things work,  or does it require
(what appears to Linux as)  a real 3270?
It requires a 3270.  And at least the .deb version requires a library
that wasn't packaged with it, but I've written to the UTS Global guys
and hopefully they'll fix it soon.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Richard Troth
Thanks, Dick, very much!

> Some users have started NED, and then seen the message
>   "ned is supported only on 3270 terminals".
> It has to do with /dev/tty sometimes being "wrong".  There's a way to
> get NED to work, though; just start it with the -T option.
> If, for example, your console's at address 0009:
>ned -T /dev/3270/tub0009.

Does this NED do the nifty old UTS hack
of on-demand protocol conversion?   I mean,  if I run NED
on an SSH connection,  will it make things work,  or does it require
(what appears to Linux as)  a real 3270?

> We hope you all like this new NED.

Frankly,  it has always been  "second behind XEDIT",
not counting THE with appropriate configgerashun.
That is saying a lot.   Fabulous editor!

-- R;

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


Re: Slack/390 3270 support

2004-11-17 Thread Post, Mark K
Dick,

Way cool.  Thanks for listening (and thanks to whomever it was that could
make the decision).


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Dick
Holic
Sent: Wednesday, November 17, 2004 2:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


Over the last few days, I noticed a lot of email showing an interest in
using a 3270 console and NED on various Linux/390 systems.

WRT 3270: Dick Hitt of UTS Global LLC is the original author of the 3270
device driver already available in the SuSE, RedHat and Debian
distributions.  It works!

WRT NED:  We were very busy the last few months releasing our enhanced web
browser version of Backup and Restore, including the Virtual Tape System.
Now that it's G/A, we've had time to listen and enhanced the NED freeware:
We heard your suggestions to remove the licensing required for each CPU.

Once you've registered with us, you're free to download and make as many
copies as you want within your organization.  If you've already registered,
login and get a new copy of NED.  If you have not, please register with us
and then download a copy.  We're on the honor system here.

Some users have started NED, and then seen the message
  "ned is supported only on 3270 terminals".
It has to do with /dev/tty sometimes being "wrong".  There's a way to get
NED to work, though; just start it with the -T option. If, for example, your
console's at address 0009:
   ned -T /dev/3270/tub0009.

We hope you all like this new NED.


Dick Holic
UTS Global Customer Care

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Adam Thornton
On Nov 17, 2004, at 1:51 PM, Dick Holic wrote:
Now that it's G/A, we've had time to listen and enhanced the
NED freeware:  We heard your suggestions to remove the licensing
required
for each CPU.
Yay!  Thank you!
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-17 Thread Dick Holic
Over the last few days, I noticed a lot of email showing an interest
in using a 3270 console and NED on various Linux/390 systems.

WRT 3270: Dick Hitt of UTS Global LLC is the original author of the
3270 device driver already available in the SuSE, RedHat and Debian
distributions.  It works!

WRT NED:  We were very busy the last few months releasing our enhanced
web browser version of Backup and Restore, including the Virtual Tape
System.  Now that it's G/A, we've had time to listen and enhanced the
NED freeware:  We heard your suggestions to remove the licensing required
for each CPU.

Once you've registered with us, you're free to download and make as many
copies as you want within your organization.  If you've already registered,
login and get a new copy of NED.  If you have not, please register with us
and then download a copy.  We're on the honor system here.

Some users have started NED, and then seen the message
  "ned is supported only on 3270 terminals".
It has to do with /dev/tty sometimes being "wrong".  There's a way to
get NED to work, though; just start it with the -T option.
If, for example, your console's at address 0009:
   ned -T /dev/3270/tub0009.

We hope you all like this new NED.


Dick Holic
UTS Global Customer Care

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


Re: Slack/390 3270 support

2004-11-12 Thread Richard Hitt
Thanks, Richard.
I like the phrase "fullscreen mode" better, because (1) "block mode" can
be confused with block special devices, and (2) the 3270 driver always
runs a 3270 in block mode; at least as I wrote it the 3270 is inherently
a block-mode device, whether used in line mode or in fullscreen mode;
there is no per-character I/O interrupt.
Note that in line mode, the driver does honor a
slightly-more-than-randomly-selected set of ESC sequences.  For
instance, try the wget command from a 3270 console and compare its
console output with that to a 3215 console.  The progress bar stays on
the same line with the 3270 console.
Richard Hitt[EMAIL PROTECTED]
Richard Pinion wrote:
ftp://ftp.kernel.org/pub/linux/docs/device-list/
227 charIBM 3270 terminal Unix tty access
 1 = /dev/3270/tty1  First 3270 terminal
 2 = /dev/3270/tty2  Seconds 3270 terminal
   ...
228 charIBM 3270 terminal block-mode access
 0 = /dev/3270/tub   Controlling interface
 1 = /dev/3270/tub1  First 3270 terminal
 2 = /dev/3270/tub2  Second 3270 terminal
Perhaps my terminology was wrong, it actually says block-mode.
   ...



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


Re: Slack/390 3270 support

2004-11-12 Thread Post, Mark K
Well, I'm the _only_ member of the Slack/390 team, so there's no one to get
back with.  The "4,64" values were standard back a ways.  I just looked, and
my SUSE 7.0 system has that specified.  I must have missed the change to
"5,1" whenever that happened.  I'll be updating my devs packages to reflect
this.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Troth
Sent: Friday, November 12, 2004 12:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


The latest Linux devices list may be found at
http://www.lanana.org/docs/device-list/ or
ftp://ftp.kernel.org/pub/linux/docs/device-list/
per my copy of "devices.txt".

On Fri, 12 Nov 2004, Richard Pinion wrote:
> I changed /dev/console
>
> crw-r--r--1 root root   5,   1 Nov 12 07:11 console
> crw---1 root root   4,  64 Sep 28 05:51 consoleold

I think you did the right thing.
Mark,  you might want to make a note of this and get back with
the rest of the Slack team.   Richard H.,  I haven't looked at
the 3270 console code,  but are you okay with 5,1?   It is the
current choice for /dev/console,  per the kernel doc.

-- R;

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
ftp://ftp.kernel.org/pub/linux/docs/device-list/ 

227 charIBM 3270 terminal Unix tty access
  1 = /dev/3270/tty1  First 3270 terminal
  2 = /dev/3270/tty2  Seconds 3270 terminal
...

228 charIBM 3270 terminal block-mode access
  0 = /dev/3270/tub   Controlling interface
  1 = /dev/3270/tub1  First 3270 terminal
  2 = /dev/3270/tub2  Second 3270 terminal

Perhaps my terminology was wrong, it actually says block-mode.
...


>>> [EMAIL PROTECTED] 11/12/04 04:21PM >>>
Hi, Richard

As to /dev/3270/tub* being block devices, that's new to me.  Could you
point me more exactly to where you saw this?

The 3270 driver uses two major numbers, 227 and 228, for line-mode and
fullscreen operations.  Both are character devices.  The script
/usr/src/linux{,-2.4}/Documentation/s390/config3270.sh generates
/tmp/mkdev3270, which generates character device special files
/dev/3270/ttyfoo and /dev/3270/tubfoo respectively, foo a 4-character
device address.  Minor number 0 is used only with major 228 and defines
the generic fullscreen device /dev/3270/tub; 0 is not used with major 227.

To find for yourself what devices the 3270 driver knows about, give
these two commands:
echo what=config > /proc/tty/driver/tty3270
cat /proc/tty/driver/tty3270
Use the address at the CONSOLE line for your console device.  The line
will read:
  CONSOLE  

If you use the above scripts to configure your 3270s, you should expect
to see /dev/3270/tub as major 228, minor .
If you don't want to, or don't have them available, do this:
mkdir /dev/3270
mknod /dev/3270/tub c 228 

Hope this helps.

Richard Hitt  [EMAIL PROTECTED] 



Richard Pinion wrote:

>Are you saying my device should be tub0700 rather than tty0700?
>
>I looked at the device list on kernel.org and saw that /dev/3270/tty* is a 
>character device and /dev/3270/tub* is a block device.
>
>
>

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


Re: Slack/390 3270 support

2004-11-12 Thread Richard Hitt
Hi, Richard
As to /dev/3270/tub* being block devices, that's new to me.  Could you
point me more exactly to where you saw this?
The 3270 driver uses two major numbers, 227 and 228, for line-mode and
fullscreen operations.  Both are character devices.  The script
/usr/src/linux{,-2.4}/Documentation/s390/config3270.sh generates
/tmp/mkdev3270, which generates character device special files
/dev/3270/ttyfoo and /dev/3270/tubfoo respectively, foo a 4-character
device address.  Minor number 0 is used only with major 228 and defines
the generic fullscreen device /dev/3270/tub; 0 is not used with major 227.
To find for yourself what devices the 3270 driver knows about, give
these two commands:
   echo what=config > /proc/tty/driver/tty3270
   cat /proc/tty/driver/tty3270
Use the address at the CONSOLE line for your console device.  The line
will read:
 CONSOLE  
If you use the above scripts to configure your 3270s, you should expect
to see /dev/3270/tub as major 228, minor .
If you don't want to, or don't have them available, do this:
   mkdir /dev/3270
   mknod /dev/3270/tub c 228 
Hope this helps.
Richard Hitt  [EMAIL PROTECTED]

Richard Pinion wrote:
Are you saying my device should be tub0700 rather than tty0700?
I looked at the device list on kernel.org and saw that /dev/3270/tty* is a 
character device and /dev/3270/tub* is a block device.

[EMAIL PROTECTED] 11/12/04 03:16PM >>>

Richard Troth wrote:

[snip]
Mark,  you might want to make a note of this and get back with
the rest of the Slack team.   Richard H.,  I haven't looked at
the 3270 console code,  but are you okay with 5,1?   It is the
current choice for /dev/console,  per the kernel doc.
-- R;


Hi, Richard et al
Major/minor 5,1 for /dev/console seems okay, but I'd be surprised if you
are able to use /dev/tty with that; I bet "echo foo > /dev/tty" fails.
To run ned nevertheless on a 3270 console, use the undocumented -T
option.  For instance, if your console's at 0009, use "ned -T
/dev/3270/tub0009".  Ordinarily ned uses /dev/3270/tub, the full-screen
analogue of /dev/tty.
handy hint --> Note that, unlike vi, ned can be used at the end of a
pipe:  "ps -ef | ned -T /dev/3270/tub0009".  <-- handy hint
Richard Hitt   [EMAIL PROTECTED]
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Troth
I love ned!
First saw it something like 15 years ago.
Probably adore it so much because it is quite like XEDIT
but still not a total "knock off",  has its own personality.

> handy hint --> Note that, unlike vi, ned can be used at the end of a
> pipe:  "ps -ef | ned -T /dev/3270/tub0009".  <-- handy hint

Oh,  just one of many,  I'm sure.
How many times have I hacked a shell script
to beat an editor into functioning like  'more'.

-- R;

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


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
Are you saying my device should be tub0700 rather than tty0700?

I looked at the device list on kernel.org and saw that /dev/3270/tty* is a 
character device and /dev/3270/tub* is a block device.

>>> [EMAIL PROTECTED] 11/12/04 03:16PM >>>
Richard Troth wrote:

> [snip]
>
>Mark,  you might want to make a note of this and get back with
>the rest of the Slack team.   Richard H.,  I haven't looked at
>the 3270 console code,  but are you okay with 5,1?   It is the
>current choice for /dev/console,  per the kernel doc.
>
>-- R;
>
>
Hi, Richard et al

Major/minor 5,1 for /dev/console seems okay, but I'd be surprised if you
are able to use /dev/tty with that; I bet "echo foo > /dev/tty" fails.
To run ned nevertheless on a 3270 console, use the undocumented -T
option.  For instance, if your console's at 0009, use "ned -T
/dev/3270/tub0009".  Ordinarily ned uses /dev/3270/tub, the full-screen
analogue of /dev/tty.

handy hint --> Note that, unlike vi, ned can be used at the end of a
pipe:  "ps -ef | ned -T /dev/3270/tub0009".  <-- handy hint

Richard Hitt   [EMAIL PROTECTED] 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Hitt
Richard Troth wrote:
[snip]
Mark,  you might want to make a note of this and get back with
the rest of the Slack team.   Richard H.,  I haven't looked at
the 3270 console code,  but are you okay with 5,1?   It is the
current choice for /dev/console,  per the kernel doc.
-- R;

Hi, Richard et al
Major/minor 5,1 for /dev/console seems okay, but I'd be surprised if you
are able to use /dev/tty with that; I bet "echo foo > /dev/tty" fails.
To run ned nevertheless on a 3270 console, use the undocumented -T
option.  For instance, if your console's at 0009, use "ned -T
/dev/3270/tub0009".  Ordinarily ned uses /dev/3270/tub, the full-screen
analogue of /dev/tty.
handy hint --> Note that, unlike vi, ned can be used at the end of a
pipe:  "ps -ef | ned -T /dev/3270/tub0009".  <-- handy hint
Richard Hitt   [EMAIL PROTECTED]
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Adam Thornton
On Nov 12, 2004, at 12:38 PM, Richard Pinion wrote:
Why don't you send me the executable and the CPUID you use?  It's
Friday afternoon and I'm feeling lazy!
Because I think that UTS Global might object if I did so.  I mean, I
*did* license it from them after all.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
Why don't you send me the executable and the CPUID you use?  It's Friday 
afternoon and I'm feeling lazy!

>>> [EMAIL PROTECTED] 11/12/04 12:47PM >>>
On Nov 12, 2004, at 11:37 AM, Richard Pinion wrote:

> No, but I can try.  Where do I get ned?
>
www.utsglobal.com 

You have to apply for a license key based on your CPUID, but it's free.
  So just take the CPUID that Herc is running as and apply with that.

The program, the license manager, and the key all come as RPM files.
So you need to use "alien" to convert the first two to tgzs you can
install, and then you can actually just use a hex editor on the key RPM
to find the bit where it calls lms_add with your key.

I wonder if the UTS Global guys would (hint, hint) make a straight-up
tarball available.

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Adam Thornton
On Nov 12, 2004, at 11:37 AM, Richard Pinion wrote:
No, but I can try.  Where do I get ned?
www.utsglobal.com
You have to apply for a license key based on your CPUID, but it's free.
 So just take the CPUID that Herc is running as and apply with that.
The program, the license manager, and the key all come as RPM files.
So you need to use "alien" to convert the first two to tgzs you can
install, and then you can actually just use a hex editor on the key RPM
to find the bit where it calls lms_add with your key.
I wonder if the UTS Global guys would (hint, hint) make a straight-up
tarball available.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
No, but I can try.  Where do I get ned?

>>> [EMAIL PROTECTED] 11/12/04 12:29PM >>>
On Nov 12, 2004, at 10:14 AM, Richard Pinion wrote:
>
> What does this prove?  Not much but I got it to work with a little
> help from my friends on Linux-390.
>
Have you got ned running yet?  It's sort of neat.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Troth
The latest Linux devices list may be found at
http://www.lanana.org/docs/device-list/ or
ftp://ftp.kernel.org/pub/linux/docs/device-list/
per my copy of "devices.txt".

On Fri, 12 Nov 2004, Richard Pinion wrote:
> I changed /dev/console
>
> crw-r--r--1 root root   5,   1 Nov 12 07:11 console
> crw---1 root root   4,  64 Sep 28 05:51 consoleold

I think you did the right thing.
Mark,  you might want to make a note of this and get back with
the rest of the Slack team.   Richard H.,  I haven't looked at
the 3270 console code,  but are you okay with 5,1?   It is the
current choice for /dev/console,  per the kernel doc.

-- R;

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


Re: Slack/390 3270 support

2004-11-12 Thread Adam Thornton
On Nov 12, 2004, at 10:14 AM, Richard Pinion wrote:
What does this prove?  Not much but I got it to work with a little
help from my friends on Linux-390.
Have you got ned running yet?  It's sort of neat.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
I changed /dev/console

crw-r--r--1 root root   5,   1 Nov 12 07:11 console 
crw---1 root root   4,  64 Sep 28 05:51 consoleold  
bash-2.05b# 

Here are the 3270 defs in /dev/3270

bash-2.05b# ls -al
total 20  
drwxr-xr-x2 root root 4096 Nov  9 06:51 . 
drwxr-xr-x   10 root root16384 Nov 12 06:18 ..
crw---1 root root 227,   1 Nov 12 06:03 tty0770   

>>> [EMAIL PROTECTED] 11/12/04 12:06PM >>>
Richard,

Which entry in /dev did you change?


Mark Post

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


Re: Slack/390 3270 support

2004-11-12 Thread Post, Mark K
Richard,

Which entry in /dev did you change?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Friday, November 12, 2004 11:15 AM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


One more thing concerning 3270 console support.  During initial boot up
messages would be directed to the 3270 device, but after the ctc device was
initialized no more messages were directed to the 3270 device.  I'm not
saying the ctc had anything to do with this, just that was the last message
I saw.  I could enter commands at the 3270 but it didn't appear they were
being read/used by anything.

I did a little googling and found an entry from utsglobal about changing the
console's major and minor numbers to 5 and 1.  I did this and now the 3270
divice is a fully functional console device.

What does this prove?  Not much but I got it to work with a little help from
my friends on Linux-390.

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


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
One more thing concerning 3270 console support.  During initial boot up 
messages would be directed to the 3270 device, but after the ctc device was 
initialized no more messages were directed to the 3270 device.  I'm not saying 
the ctc had anything to do with this, just that was the last message I saw.  I 
could enter commands at the 3270 but it didn't appear they were being read/used 
by anything.

I did a little googling and found an entry from utsglobal about changing the 
console's major and minor numbers to 5 and 1.  I did this and now the 3270 
divice is a fully functional console device.

What does this prove?  Not much but I got it to work with a little help from my 
friends on Linux-390.

>>> [EMAIL PROTECTED] 11/10/04 01:20PM >>>
Hmm.  I just did some checking, and apparently the file that is supposed to
be getting pulled in is
/usr/lib/gcc-lib/s390-slackware-linux/3.3/include/stddef.h, not
/usr/include/linux/stddef.h

That's provided by the gcc-3.3-s390-1.tgz package, but your grep output
doesn't show that being installed.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 12:36 PM
To: [EMAIL PROTECTED] 
Subject: Re: Slack/390 3270 support


I ran the grep and got this back,

[EMAIL PROTECTED]:/# grep  stddef.h /var/log/packages/*
/var/log/packages/kernel-headers-2.4.21-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.21-s390-1:usr/src/linux-2.4.21/include/l
inux/stddef.h
/var/log/packages/mozilla-1.4-s390-1:usr/include/mozilla-1.4/js/jsstddef.h

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-12 Thread Richard Pinion
Oh boy, better than you know what

I just got a 3270 Linux console!!!

>>> [EMAIL PROTECTED] 11/10/04 01:20PM >>>
Hmm.  I just did some checking, and apparently the file that is supposed to
be getting pulled in is
/usr/lib/gcc-lib/s390-slackware-linux/3.3/include/stddef.h, not
/usr/include/linux/stddef.h

That's provided by the gcc-3.3-s390-1.tgz package, but your grep output
doesn't show that being installed.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 12:36 PM
To: [EMAIL PROTECTED] 
Subject: Re: Slack/390 3270 support


I ran the grep and got this back,

[EMAIL PROTECTED]:/# grep  stddef.h /var/log/packages/*
/var/log/packages/kernel-headers-2.4.21-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.21-s390-1:usr/src/linux-2.4.21/include/l
inux/stddef.h
/var/log/packages/mozilla-1.4-s390-1:usr/include/mozilla-1.4/js/jsstddef.h

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-11 Thread Richard Pinion
Well here it is 15:22 EST and I'm still building the kernel.  At least it's 
building!

>>> [EMAIL PROTECTED] 11/10/04 01:20PM >>>
Hmm.  I just did some checking, and apparently the file that is supposed to
be getting pulled in is
/usr/lib/gcc-lib/s390-slackware-linux/3.3/include/stddef.h, not
/usr/include/linux/stddef.h

That's provided by the gcc-3.3-s390-1.tgz package, but your grep output
doesn't show that being installed.


Mark Post

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


Re: Slack/390 3270 support

2004-11-11 Thread Richard Pinion
I pulled down gcc 3.3 and installed it. make menuconfig is running, looks like 
that was the problem.  Thanks!

>>> [EMAIL PROTECTED] 11/10/04 01:20PM >>>
Hmm.  I just did some checking, and apparently the file that is supposed to
be getting pulled in is
/usr/lib/gcc-lib/s390-slackware-linux/3.3/include/stddef.h, not
/usr/include/linux/stddef.h

That's provided by the gcc-3.3-s390-1.tgz package, but your grep output
doesn't show that being installed.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 12:36 PM
To: [EMAIL PROTECTED] 
Subject: Re: Slack/390 3270 support


I ran the grep and got this back,

[EMAIL PROTECTED]:/# grep  stddef.h /var/log/packages/*
/var/log/packages/kernel-headers-2.4.21-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.21-s390-1:usr/src/linux-2.4.21/include/l
inux/stddef.h
/var/log/packages/mozilla-1.4-s390-1:usr/include/mozilla-1.4/js/jsstddef.h

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Hitt
Indeed Linux does TERM CONMODE.  See
linux/arch/s390/kernel/setup.c:conmode_default().  The s390 kernel has
had a cpcmd() function since the beginning, and it's used for a few
other CP commands too. e.g.  SET PAGEX ON in traps.c.
Richard Hitt[EMAIL PROTECTED]
Adam Thornton wrote:
On Nov 10, 2004, at 12:07 PM, Richard Troth wrote:
On Wed, 10 Nov 2004, Adam Thornton wrote:
In the directory entry, it's a 3215.  I don't do a TERM CONMODE 3270
before IPLing Linux, but I do have conmode=3270 in parmline.

But remember that IPL CMS will force it back to 3215.
Will "conmode=3270" trick Linux into doing an under-the-covers
TERM CONMODE command?

Yes, I think so.
I don't see how you can run 'ned' on it
if it's still in 3215 mode.   Weird.
I don't think it is.  I think the Linux IPL does an implicit TERM
CONMODE.
This doesn't seem weird, really, since I'm making it do it by putting
"conmode=3270" in the parmline.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
Yes Hercules can present a 3270 as a console.

>>> [EMAIL PROTECTED] 11/10/04 01:13PM >>>
> Thanks but I'm running Slack/390 under the Hercules emulator.

Didn't know that Herc
supported 3270 for the *console*.

To my knowledge,
the console Hercules presents for ESA/390 mode is the
"Hardware Console"  emulation,  which is neither 3270 nor 3215
but is more of a messaging service between the (emulated) support
element and the operating system (being hosted by Hercules).
That's the only form of console I ever used with Hercules.

But older operating systems  (eg: OS/360)
would use a "device" for the console,  so I may be missing something.

-- R;

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Adam Thornton
On Nov 10, 2004, at 12:13 PM, Richard Troth wrote:
Thanks but I'm running Slack/390 under the Hercules emulator.
Didn't know that Herc
supported 3270 for the *console*.
To my knowledge,
the console Hercules presents for ESA/390 mode is the
"Hardware Console"  emulation,  which is neither 3270 nor 3215
but is more of a messaging service between the (emulated) support
element and the operating system (being hosted by Hercules).
That's the only form of console I ever used with Hercules.
But older operating systems  (eg: OS/360)
would use a "device" for the console,  so I may be missing something.
I would think that you could use condev and conmode, plus appropriate
herc config statements, to force the console to be a 3215 or a 3270.
The Herc HMC console is basically very much like a 3215, in that it's a
glass linemode tty.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Adam Thornton
On Nov 10, 2004, at 12:07 PM, Richard Troth wrote:
On Wed, 10 Nov 2004, Adam Thornton wrote:
In the directory entry, it's a 3215.  I don't do a TERM CONMODE 3270
before IPLing Linux, but I do have conmode=3270 in parmline.
But remember that IPL CMS will force it back to 3215.
Will "conmode=3270" trick Linux into doing an under-the-covers
TERM CONMODE command?
Yes, I think so.
I don't see how you can run 'ned' on it
if it's still in 3215 mode.   Weird.
I don't think it is.  I think the Linux IPL does an implicit TERM
CONMODE.
This doesn't seem weird, really, since I'm making it do it by putting
"conmode=3270" in the parmline.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Post, Mark K
Hmm.  I just did some checking, and apparently the file that is supposed to
be getting pulled in is
/usr/lib/gcc-lib/s390-slackware-linux/3.3/include/stddef.h, not
/usr/include/linux/stddef.h

That's provided by the gcc-3.3-s390-1.tgz package, but your grep output
doesn't show that being installed.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 12:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


I ran the grep and got this back,

[EMAIL PROTECTED]:/# grep  stddef.h /var/log/packages/*
/var/log/packages/kernel-headers-2.4.21-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.21-s390-1:usr/src/linux-2.4.21/include/l
inux/stddef.h
/var/log/packages/mozilla-1.4-s390-1:usr/include/mozilla-1.4/js/jsstddef.h

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Troth
> Thanks but I'm running Slack/390 under the Hercules emulator.

Didn't know that Herc
supported 3270 for the *console*.

To my knowledge,
the console Hercules presents for ESA/390 mode is the
"Hardware Console"  emulation,  which is neither 3270 nor 3215
but is more of a messaging service between the (emulated) support
element and the operating system (being hosted by Hercules).
That's the only form of console I ever used with Hercules.

But older operating systems  (eg: OS/360)
would use a "device" for the console,  so I may be missing something.

-- R;

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


Re: Slack/390 3270 support

2004-11-10 Thread Richard Troth
On Wed, 10 Nov 2004, Adam Thornton wrote:
> In the directory entry, it's a 3215.  I don't do a TERM CONMODE 3270
> before IPLing Linux, but I do have conmode=3270 in parmline.

But remember that IPL CMS will force it back to 3215.
Will "conmode=3270" trick Linux into doing an under-the-covers
TERM CONMODE command?


This is silly.
One can forgive CMS for issuing CP commands without telling us.
But Linux should stay the heck outta that game.


I don't see how you can run 'ned' on it
if it's still in 3215 mode.   Weird.

-- R;

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


Re: Slack/390 3270 support

2004-11-10 Thread Adam Thornton
On Nov 10, 2004, at 11:36 AM, Richard Troth wrote:
Richard ...
If you are new to VM,  then there is another important point
you need to be aware of.   The virtual machine's console device can be
presented either as a 3215 (line-mode) or as a 3270 (full-screen).
There's a third option,  but to give details would go beyond
what I can say with confidence.
You want "conmode=3270" but you also want
TERM CONMODE 3270
You need for both VM and Linux to agree
that your virtual console is working like a 3270.
Actually, Linux will switch to TERM CONMODE 3270 automagically at IPL
if it knows its console is supposed to be a 3270.
Hunh, though.
Maybe that's what's going wrong with /proc/subchannels.
In the directory entry, it's a 3215.  I don't do a TERM CONMODE 3270
before IPLing Linux, but I do have conmode=3270 in parmline.
When I log in, it's a 3215 (in CMS).  Then I IPL and it becomes a 3270
(I know this because I can run ned on it)...but maybe /proc/subchannels
still thinks it's a 3215?
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
Thanks but I'm running Slack/390 under the Hercules emulator.

>>> [EMAIL PROTECTED] 11/10/04 12:36PM >>>
Richard ...

If you are new to VM,  then there is another important point
you need to be aware of.   The virtual machine's console device can be
presented either as a 3215 (line-mode) or as a 3270 (full-screen).
There's a third option,  but to give details would go beyond
what I can say with confidence.

You want "conmode=3270" but you also want

TERM CONMODE 3270

You need for both VM and Linux to agree
that your virtual console is working like a 3270.

Linux happily uses a 3270 presented as a 3215 for its console.
You're asking for a 3270 presented roughly as-is,  correct?
So you need to get VM and Linux to agree about the kind of
data stream traffic that will be passed via that "console".

What will happen is that Linux will do the emulation
of line-mode activity.   Linux will perform that task of making the
3270 look like plain text on /dev/console.   But when you're in
TERM CONMODE 3215,  VM does the job of making the 3270 look like a
3215,  for which Linux has much less conversion work.   (Mostly just
the character set;  otherwise it's ordinary line-mode I/O.)

-- R;

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
I ran the grep and got this back,

[EMAIL PROTECTED]:/# grep  stddef.h /var/log/packages/*
/var/log/packages/kernel-headers-2.4.21-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.21-s390-1:usr/src/linux-2.4.21/include/linux/stddef.h
/var/log/packages/mozilla-1.4-s390-1:usr/include/mozilla-1.4/js/jsstddef.h

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


Re: Slack/390 3270 support

2004-11-10 Thread Richard Troth
Richard ...

If you are new to VM,  then there is another important point
you need to be aware of.   The virtual machine's console device can be
presented either as a 3215 (line-mode) or as a 3270 (full-screen).
There's a third option,  but to give details would go beyond
what I can say with confidence.

You want "conmode=3270" but you also want

TERM CONMODE 3270

You need for both VM and Linux to agree
that your virtual console is working like a 3270.

Linux happily uses a 3270 presented as a 3215 for its console.
You're asking for a 3270 presented roughly as-is,  correct?
So you need to get VM and Linux to agree about the kind of
data stream traffic that will be passed via that "console".

What will happen is that Linux will do the emulation
of line-mode activity.   Linux will perform that task of making the
3270 look like plain text on /dev/console.   But when you're in
TERM CONMODE 3215,  VM does the job of making the 3270 look like a
3215,  for which Linux has much less conversion work.   (Mostly just
the character set;  otherwise it's ordinary line-mode I/O.)

-- R;

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


Re: Slack/390 3270 support

2004-11-10 Thread Post, Mark K
grep  stddef.h /var/log/packages/*
/var/log/packages/gcc-3.3-s390-1:usr/lib/gcc-lib/s390-slackware-linux/3.3/in
clude/stddef.h
/var/log/packages/gcc-3.3-s390-1:usr/lib/gcc-lib/s390-slackware-linux/3.3/in
stall-tools/include/stddef.h
/var/log/packages/kernel-headers-2.4.26-s390-1:usr/include/linux/stddef.h
/var/log/packages/kernel-source-2.4.26-s390-1:usr/src/linux-2.4.26/include/l
inux/stddef.h
/var/log/packages/mozilla-1.4.3-s390-1:usr/include/mozilla-1.4.3/js/jsstddef
.h


I would say that you need to have the kernel-headers package installed, but
don't.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


If I perform make menuconfig from the /usr/src/linux directory I get the
following messages,

[EMAIL PROTECTED]:/usr/src/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-s390 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.21/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
-I/usr/include/ncurses -DCURSES_LOC="" -c -o checklist.o
checklist.c In file included from /usr/include/sys/types.h:31,
 from dialog.h:22,
 from checklist.c:24:
/usr/include/bits/types.h:31:20: stddef.h: No such file or directory In file
included from dialog.h:22,
 from checklist.c:24:
/usr/include/sys/types.h:147:20: stddef.h: No such file or directory In file
included from /usr/include/sys/types.h:266,
 from dialog.h:22,
 from checklist.c:24:

I found stddef.h in /usr/src/linux-2.4.21/include/linux/stddef.h and
/usr/include/linux/stddef.h

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Adam Thornton
On Nov 10, 2004, at 10:29 AM, Richard Pinion wrote:
If I perform make menuconfig from the /usr/src/linux directory I get
the following messages,
(stddef.h not found)
Dunno.  My guess is that you're missing some fairly important chunks of
the development toolchain, but I really don't know for sure.  Maybe
Mark Post has a better idea?
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
If I perform make menuconfig from the /usr/src/linux directory I get the 
following messages,

[EMAIL PROTECTED]:/usr/src/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-s390 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.21/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  
-I/usr/include/ncurses -DCURSES_LOC="" -c -o checklist.o checklist.c
In file included from /usr/include/sys/types.h:31,
 from dialog.h:22,
 from checklist.c:24:
/usr/include/bits/types.h:31:20: stddef.h: No such file or directory
In file included from dialog.h:22,
 from checklist.c:24:
/usr/include/sys/types.h:147:20: stddef.h: No such file or directory
In file included from /usr/include/sys/types.h:266,
 from dialog.h:22,
 from checklist.c:24:

I found stddef.h in /usr/src/linux-2.4.21/include/linux/stddef.h and 
/usr/include/linux/stddef.h

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


Re: Slack/390 3270 support

2004-11-10 Thread Adam Thornton
On Nov 10, 2004, at 8:52 AM, Richard Pinion wrote:
Our email was acting this morning so I'll resend.
In order to enable the 3270 console support do I need to update the
config options to  enable 3270 console support and disable 3215
console support.   After that maybe you could give me some step by
step instructions for rebuilding the kernel
Don't disable 3215 support!  Just enable 3270 support as well (it's
pretty clearly marked in the kernel choices menu), and then append
"conmode=3270" to zipl.conf before you rerun zipl.
This is actually a perfect application for the boot menu stuff in the
most recent s390-tools; my Sargedev machine has two targets, "3215" and
"3270", whose parmlines differ by "conmode=3215" or "conmode=3270", and
I can select between them at IPL.
I don't know if there are any specific tricks for rebuilding the kernel
on Slackware.  In the general case, you do a "make menuconfig && make
dep && make && make modules && make install && make modules_install".
I haven't actually done that in a long time, because Debian offers some
additional tools for kernel packaging, so I really run "make-kpkg" with
some other options.
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
Thanks Mark!

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


Re: Slack/390 3270 support

2004-11-10 Thread Post, Mark K
I'll use this as a call for papers for the web site.  Anyone who wants their
presentations from the zSeries Expo in Miami Beach to be included, please
email them to me off-list.

Richard, try looking at http://linuxvm.org/present/ for "Rebuilding your
Linux/390 Kernel from Source."  Pay particular attention to the first slide
on "Documentation."  That should get you through.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Wednesday, November 10, 2004 9:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


Our email was acting this morning so I'll resend.

In order to enable the 3270 console support do I need to update the config
options to  enable 3270 console support and disable 3215 console support.
After that maybe you could give me some step by step instructions for
rebuilding the kernel

>>> [EMAIL PROTECTED] 11/09/04 04:51PM >>>
But 3270 console support is only available if the 3270 driver is part of the
static kernel, not if it's a loadable module.

Dick Hitt

Post, Mark K wrote:

>I should mention that the 3270 support should already be available as
>kernel module, so you shouldn't need to do the recompile.  Try doing an
>"insmod tub3270" and see what happens.
>
>
>Mark Post
>
>-Original Message-
>From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
>Richard Pinion
>Sent: Tuesday, November 09, 2004 4:29 PM
>To: [EMAIL PROTECTED]
>Subject: Slack/390 3270 support
>
>
>I've managed to get a 3270 session going with Slack 9.1.  I would like
>to try the 3270 console support.  Mark, do you have any  procedures for
>doing this.  From what I can piece together from
>/usr/src/linux/Documentation/s390 I need to enable 3270 console support
>in the kernel config file and issue several make's.  I don't have much
>experience with this kernel rebuild stuff.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
Our email was acting this morning so I'll resend. 

In order to enable the 3270 console support do I need to update the config 
options to  enable 3270 console support and disable 3215 console support.   
After that maybe you could give me some step by step instructions for 
rebuilding the kernel

>>> [EMAIL PROTECTED] 11/09/04 04:51PM >>>
But 3270 console support is only available if the 3270 driver is part of
the static kernel, not if it's a loadable module.

Dick Hitt

Post, Mark K wrote:

>I should mention that the 3270 support should already be available as kernel
>module, so you shouldn't need to do the recompile.  Try doing an "insmod
>tub3270" and see what happens.
>
>
>Mark Post
>
>-Original Message-
>From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
>Richard Pinion
>Sent: Tuesday, November 09, 2004 4:29 PM
>To: [EMAIL PROTECTED] 
>Subject: Slack/390 3270 support
>
>
>I've managed to get a 3270 session going with Slack 9.1.  I would like to
>try the 3270 console support.  Mark, do you have any  procedures for doing
>this.  From what I can piece together from /usr/src/linux/Documentation/s390
>I need to enable 3270 console support in the kernel config file and issue
>several make's.  I don't have much experience with this kernel rebuild
>stuff.

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


Re: Slack/390 3270 support

2004-11-10 Thread Richard Pinion
>From reading in the /usr/src/linux/Documentation/3270.txt I got the impression 
>I would have to change some of the options, enable 3270 console and disable 
>3215 console, and rebuild the kernel.   

How would I include the 3270 driver in the static kernel?

>>> [EMAIL PROTECTED] 11/09/04 04:51PM >>>
But 3270 console support is only available if the 3270 driver is part of
the static kernel, not if it's a loadable module.

Dick Hitt

Post, Mark K wrote:

>I should mention that the 3270 support should already be available as kernel
>module, so you shouldn't need to do the recompile.  Try doing an "insmod
>tub3270" and see what happens.
>
>
>Mark Post
>
>-Original Message-
>From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
>Richard Pinion
>Sent: Tuesday, November 09, 2004 4:29 PM
>To: [EMAIL PROTECTED] 
>Subject: Slack/390 3270 support
>
>
>I've managed to get a 3270 session going with Slack 9.1.  I would like to
>try the 3270 console support.  Mark, do you have any  procedures for doing
>this.  From what I can piece together from /usr/src/linux/Documentation/s390
>I need to enable 3270 console support in the kernel config file and issue
>several make's.  I don't have much experience with this kernel rebuild
>stuff.
>
>--
>For LINUX-390 subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Adam Thornton
On Nov 9, 2004, at 6:31 PM, Post, Mark K wrote:
Maybe it's just late in the day, but I don't see what's wrong.  The "q
001f"
shows it's a console, and the cat /proc/subchannels shows 001f as a
3215.
What am I missing?
The "hcp q console" shows that it's really a 3270.  (Which it is.)
sargedev:~# grep -i 001f /proc/subchannels
001F   3215/00  yes 80  80  FF   
sargedev:~# hcp q 001f
CONS 001F ON LDEV L0004   TERM START HOST TCPIPFROM 192.168.1.4
  001F CL T NOCONT NOHOLD COPY 001READY FORM STANDARD
  001F TO ADAM RDR DIST SARGEDEV  FLASHC 000 DEST OFF
  001F FLASH   CHAR   MDFY   0 FCB   LPP OFF
  001F 3270   NOEOF OPEN 0085 NOKEEP NOMSG NONAME
  001F SUBCHANNEL = 
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Richard Hitt
 001F 3270   NOEOF OPEN 0085 NOKEEP NOMSG NONAME

Post, Mark K wrote:
Maybe it's just late in the day, but I don't see what's wrong.  The "q 001f"
shows it's a console, and the cat /proc/subchannels shows 001f as a 3215.
What am I missing?
Mark Post
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam
Thornton
Sent: Tuesday, November 09, 2004 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support
On Nov 9, 2004, at 3:52 PM, Post, Mark K wrote:

You should be able to grep /proc/subchannels and look for some kind of
console type device.

Fascinating: it's wrong.
sargedev:~# grep -i 001f /proc/subchannels
001F   3215/00  yes 80  80  FF   
sargedev:~# hcp q 001f
CONS 001F ON LDEV L0004   TERM START HOST TCPIPFROM 192.168.1.4
 001F CL T NOCONT NOHOLD COPY 001READY FORM STANDARD
 001F TO ADAM RDR DIST SARGEDEV  FLASHC 000 DEST OFF
 001F FLASH   CHAR   MDFY   0 FCB   LPP OFF
 001F 3270   NOEOF OPEN 0085 NOKEEP NOMSG NONAME
 001F SUBCHANNEL = 
sargedev:~# uname -a
Linux sargedev 2.4.27-1-s390 #1 SMP Tue Aug 17 12:18:33 CEST 2004 s390
GNU/Linux
(Debian "Sarge")
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Post, Mark K
Maybe it's just late in the day, but I don't see what's wrong.  The "q 001f"
shows it's a console, and the cat /proc/subchannels shows 001f as a 3215.
What am I missing?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam
Thornton
Sent: Tuesday, November 09, 2004 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


On Nov 9, 2004, at 3:52 PM, Post, Mark K wrote:

> You should be able to grep /proc/subchannels and look for some kind of
> console type device.
>
Fascinating: it's wrong.

sargedev:~# grep -i 001f /proc/subchannels
001F   3215/00  yes 80  80  FF   

sargedev:~# hcp q 001f
CONS 001F ON LDEV L0004   TERM START HOST TCPIPFROM 192.168.1.4
  001F CL T NOCONT NOHOLD COPY 001READY FORM STANDARD
  001F TO ADAM RDR DIST SARGEDEV  FLASHC 000 DEST OFF
  001F FLASH   CHAR   MDFY   0 FCB   LPP OFF
  001F 3270   NOEOF OPEN 0085 NOKEEP NOMSG NONAME
  001F SUBCHANNEL = 

sargedev:~# uname -a
Linux sargedev 2.4.27-1-s390 #1 SMP Tue Aug 17 12:18:33 CEST 2004 s390
GNU/Linux

(Debian "Sarge")

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Post, Mark K
Linux

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Ranga
Nathan
Sent: Tuesday, November 09, 2004 5:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


I have always used xterm or vt100 via ssh (putty) to log into Linux. Is this
3270 support to interact with Linux or to interact with z/VM? Thanks
__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840





Richard Pinion <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
11/09/2004 01:29 PM
Please respond to Linux on 390 Port

To: [EMAIL PROTECTED]
cc:
Subject:    Slack/390 3270 support


I've managed to get a 3270 session going with Slack 9.1.  I would like to
try the 3270 console support.  Mark, do you have any  procedures for doing
this.  From what I can piece together from /usr/src/linux/Documentation/s390
I need to enable 3270 console support in the kernel config file and issue
several make's.  I don't have much experience with this kernel rebuild
stuff.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Ranga Nathan
I have always used xterm or vt100 via ssh (putty) to log into Linux.
Is this 3270 support to interact with Linux or to interact with z/VM?
Thanks
__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840





Richard Pinion <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
11/09/2004 01:29 PM
Please respond to Linux on 390 Port

To: [EMAIL PROTECTED]
cc:
Subject:    Slack/390 3270 support


I've managed to get a 3270 session going with Slack 9.1.  I would like to
try the 3270 console support.  Mark, do you have any  procedures for doing
this.  From what I can piece together from
/usr/src/linux/Documentation/s390 I need to enable 3270 console support in
the kernel config file and issue several make's.  I don't have much
experience with this kernel rebuild stuff.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Adam Thornton
On Nov 9, 2004, at 3:52 PM, Post, Mark K wrote:
You should be able to grep /proc/subchannels and look for some kind of
console type device.
Fascinating: it's wrong.
sargedev:~# grep -i 001f /proc/subchannels
001F   3215/00  yes 80  80  FF   
sargedev:~# hcp q 001f
CONS 001F ON LDEV L0004   TERM START HOST TCPIPFROM 192.168.1.4
 001F CL T NOCONT NOHOLD COPY 001READY FORM STANDARD
 001F TO ADAM RDR DIST SARGEDEV  FLASHC 000 DEST OFF
 001F FLASH   CHAR   MDFY   0 FCB   LPP OFF
 001F 3270   NOEOF OPEN 0085 NOKEEP NOMSG NONAME
 001F SUBCHANNEL = 
sargedev:~# uname -a
Linux sargedev 2.4.27-1-s390 #1 SMP Tue Aug 17 12:18:33 CEST 2004 s390
GNU/Linux
(Debian "Sarge")
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Post, Mark K
You should be able to grep /proc/subchannels and look for some kind of
console type device.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam
Thornton
Sent: Tuesday, November 09, 2004 4:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Slack/390 3270 support


On Nov 9, 2004, at 3:35 PM, Post, Mark K wrote:

> I should mention that the 3270 support should already be available as
> kernel module, so you shouldn't need to do the recompile.  Try doing
> an "insmod
> tub3270" and see what happens.
>
In the next couple weeks, if I get time, I'll try to write up a short HOWTO
for getting ned working on non-RPM based distributions.  It's not very hard,
and it is kind of fun to play with.

Does anyone know a way of determining what and where the console device is
that does *not* involve cpint?

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Richard Hitt
But 3270 console support is only available if the 3270 driver is part of
the static kernel, not if it's a loadable module.
Dick Hitt
Post, Mark K wrote:
I should mention that the 3270 support should already be available as kernel
module, so you shouldn't need to do the recompile.  Try doing an "insmod
tub3270" and see what happens.
Mark Post
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Tuesday, November 09, 2004 4:29 PM
To: [EMAIL PROTECTED]
Subject: Slack/390 3270 support
I've managed to get a 3270 session going with Slack 9.1.  I would like to
try the 3270 console support.  Mark, do you have any  procedures for doing
this.  From what I can piece together from /usr/src/linux/Documentation/s390
I need to enable 3270 console support in the kernel config file and issue
several make's.  I don't have much experience with this kernel rebuild
stuff.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Adam Thornton
On Nov 9, 2004, at 3:35 PM, Post, Mark K wrote:
I should mention that the 3270 support should already be available as
kernel
module, so you shouldn't need to do the recompile.  Try doing an
"insmod
tub3270" and see what happens.
In the next couple weeks, if I get time, I'll try to write up a short
HOWTO for getting ned working on non-RPM based distributions.  It's not
very hard, and it is kind of fun to play with.
Does anyone know a way of determining what and where the console device
is that does *not* involve cpint?
Adam
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Post, Mark K
I should mention that the 3270 support should already be available as kernel
module, so you shouldn't need to do the recompile.  Try doing an "insmod
tub3270" and see what happens.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Tuesday, November 09, 2004 4:29 PM
To: [EMAIL PROTECTED]
Subject: Slack/390 3270 support


I've managed to get a 3270 session going with Slack 9.1.  I would like to
try the 3270 console support.  Mark, do you have any  procedures for doing
this.  From what I can piece together from /usr/src/linux/Documentation/s390
I need to enable 3270 console support in the kernel config file and issue
several make's.  I don't have much experience with this kernel rebuild
stuff.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slack/390 3270 support

2004-11-09 Thread Post, Mark K
Just what is documented at http://linuxvm.org/info/howtos/3270.html  Other
people have used that to get this working, since it's pretty distribution
independent.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Tuesday, November 09, 2004 4:29 PM
To: [EMAIL PROTECTED]
Subject: Slack/390 3270 support


I've managed to get a 3270 session going with Slack 9.1.  I would like to
try the 3270 console support.  Mark, do you have any  procedures for doing
this.  From what I can piece together from /usr/src/linux/Documentation/s390
I need to enable 3270 console support in the kernel config file and issue
several make's.  I don't have much experience with this kernel rebuild
stuff.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Slack/390 3270 support

2004-11-09 Thread Richard Pinion
I've managed to get a 3270 session going with Slack 9.1.  I would like to try 
the 3270 console support.  Mark, do you have any  procedures for doing this.  
From what I can piece together from /usr/src/linux/Documentation/s390 I need to 
enable 3270 console support in the kernel config file and issue several make's. 
 I don't have much experience with this kernel rebuild stuff.

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


Re: 3270 support

2002-05-15 Thread Mark Darvodelsky

Hi Craig,
Yes, its just convenience really - we already have a 3270 screen which is
normally used as a console when we're running an OS/390 test image in that
LPAR. I've read somewhere about UTS Global developing a Linux/390 3270
driver but I'm not sure if that can be exploited for what we want. You're
right we're not a VM shop so we're just using LPAR mode to evaluate the
capabilities. Ultimately we may become one (a VM shop!) if we want to run
multiple Linux images in production. So I guess its not an issue for
production.

Regards, Mark Darvodelsky,
Royal SunAlliance Australia - Data Centre.
Phone: +61-2-99789081
Email: [EMAIL PROTECTED]

You wrote:
Mark,

if you have VM it is easy but without it, that makes it difficult. The
first Redbook "Linux for S/390" has chapter 6 dedicated to VM and its set
up, the second Redbook "Linux for zSeries and S/390: Distributions" covers
this in chapter 3.

I'm guessing but I don't think you have VM and you are trying to avoid HMC
access issues. Until you have installed Linux and set up an IPL volume, I
can't see any way around it. After you've done this it might be possible to
direct the var/log/messages file automatically to a 3270 device but I don't
know how. Basically you want to know when Linux is up and you can login,
right?

Regards, Craig



CAUTION - This message is intended for the addressee named above
It may contain privileged or confidential information. If you are not the
intended recipient of this message you must not use, copy, distribute or
disclose it to anyone other than the addressee. If you have received
this message in error please return the message to the sender by
replying to it and then delete the message from your computer.

Internet emails are not necessarily secure. Royal & SunAlliance does not
accept responsibility for changes made to this message after it was sent



Re: 3270 support

2002-05-15 Thread Craig Vernon

Mark,

if you have VM it is easy but without it, that makes it difficult. The
first Redbook "Linux for S/390" has chapter 6 dedicated to VM and its set
up, the second Redbook "Linux for zSeries and S/390: Distributions" covers
this in chapter 3.

I'm guessing but I don't think you have VM and you are trying to avoid HMC
access issues. Until you have installed Linux and set up an IPL volume, I
can't see any way around it. After you've done this it might be possible to
direct the var/log/messages file automatically to a 3270 device but I don't
know how. Basically you want to know when Linux is up and you can login,
right?

Regards, Craig

+61-2-9354-7283 tel +61-2-9354-7797 fax
Craig Vernon B.App.Sc. LL.B.
IBM Support Centre FB41
55 Coonara Ave
West Pennant Hills 2125
Sydney NSW Australia
Visit us at http://www.ibm.com/services/au/its

"You can not find a solution using the same thinking that created the
problem." - Albert Einstein

If received in error please delete and notify the sender immediately. No
other use permitted. Neither confidentiality, privilege nor copyright
waived.



  Mark Darvodelsky
  cc:
      Sent by: Linux on 390  Subject:  3270 support
  Port
  <[EMAIL PROTECTED]
  U>


  16/05/2002 11:17 AM
  Please respond to Linux
  on 390 Port





We're doing a Linux/390 POC with SuSE 7.2 in an LPAR.

Is it possible to use a 3270 terminal as the console instead of the HMC,
for the boot messages? If so where would I find information/instructions?

Regards, Mark Darvodelsky,
Royal SunAlliance Australia - Data Centre.
Phone: +61-2-99789081
Email: [EMAIL PROTECTED]




CAUTION - This message is intended for the addressee named above
It may contain privileged or confidential information. If you are not the
intended recipient of this message you must not use, copy, distribute or
disclose it to anyone other than the addressee. If you have received
this message in error please return the message to the sender by
replying to it and then delete the message from your computer.

Internet emails are not necessarily secure. Royal & SunAlliance does not
accept responsibility for changes made to this message after it was sent



3270 support

2002-05-15 Thread Mark Darvodelsky

We're doing a Linux/390 POC with SuSE 7.2 in an LPAR.

Is it possible to use a 3270 terminal as the console instead of the HMC,
for the boot messages? If so where would I find information/instructions?

Regards, Mark Darvodelsky,
Royal SunAlliance Australia - Data Centre.
Phone: +61-2-99789081
Email: [EMAIL PROTECTED]




CAUTION - This message is intended for the addressee named above
It may contain privileged or confidential information. If you are not the
intended recipient of this message you must not use, copy, distribute or
disclose it to anyone other than the addressee. If you have received
this message in error please return the message to the sender by
replying to it and then delete the message from your computer.

Internet emails are not necessarily secure. Royal & SunAlliance does not
accept responsibility for changes made to this message after it was sent