From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 12 Feb 2003 04:53:19 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 42 ************************************************** Tuesday 11 February 2003 Number 42 ************************************************** Subjects for today 1 wxOS2 2.4.0 is now on Hobbes. : Dave Webster 2 Re: Terminal colours : Thomas E. Dickey" 3 rdesktop : Ted Sikora 4 Re: Getting to grips with Texinfo : John Poltorak 5 Re: Getting to grips with Texinfo : Stefan Neis 6 Re: Terminal colours : Thomas E. Dickey" 7 Re: XMOVE ? : Kenn Yuill" 8 Re: TERMCAP.DAT : Thomas E. Dickey" 9 Re: Terminal colours : Thomas E. Dickey" 10 Re: Getting to grips with Texinfo : John Poltorak 11 Re: Getting to grips with Texinfo : Stefan Neis 12 Terminal colours : John Poltorak 13 BZIP2 problem : John Poltorak 14 TERMCAP.DAT : John Poltorak 15 Re: Terminal colours : John Poltorak 16 Re: Getting to grips with Texinfo : Stefan Neis 17 Re: Terminal colours : Stefan Neis 18 Re: TERMCAP.DAT : Stefan Neis 19 Re: rdesktop : xyzyx" 20 Re: Getting to grips with Texinfo : John Poltorak **= Email 1 ==========================** Date: Wed, 12 Feb 2003 11:08:40 -0600 From: Dave Webster Subject: wxOS2 2.4.0 is now on Hobbes. FYI . The latest release of wxWindows, OS/2 native port is now in the /pub/incoming path at Hobbes. Will eventually work it's way to /pub/os2/dev/cplusplus. **= Email 2 ==========================** Date: Wed, 12 Feb 2003 11:19:52 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Terminal colours On Wed, 12 Feb 2003, John Poltorak wrote: > > How does one change colours for a given TERM? > > Do you need to create a new entry in termcap or terminfo for every colour > combination you want to use? not exactly. You set the foreground (text) and background colors by sending a string that has a color (0-7) selected, e.g., [30m where the the "0" is the 0th color. Most of the terminal descriptions for colors allow 8 independent foreground and background colors, allowing 64 combinations. -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 3 ==========================** Date: Wed, 12 Feb 2003 11:39:57 -0500 From: Ted Sikora Subject: rdesktop http://www.rdesktop.org/ Might be worth porting. Been playing with it for X Terminals. Seems to work real well. Are there any native OS/2 Win Terminal Services clients? -- Ted Sikora tsikora at ntplx.net **= Email 4 ==========================** Date: Wed, 12 Feb 2003 11:50:46 +0000 From: John Poltorak Subject: Re: Getting to grips with Texinfo On Wed, Feb 12, 2003 at 12:29:13PM +0100, Stefan Neis wrote: > On Tue, 11 Feb 2003, John Poltorak wrote: > > > Is there any way of updating this file to take account of all the INFO > > files in the directory? > > Sure, the dir file is a normally editable text file, essentially, you just > have to take care of the proper "magical" markers, It looks as though some apps automatically update the DIR file when installing new INFO files for the app. I just wondered how they did this... > i.e. entries have > the form > * TITLE(filename): description. > the important characters being "*" and "(", ")". > > Also, it IMHO makes much sense to reorder the entries a bit and try to > divide it into reasonable sections. Can you provide an example of what you mean? Is there any way to go back to the previous headig on a page? TAB takes you to the next one, but Shift-TAB doesn't go back as I would have expected... Is any of this keyboard mapping configurable? > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. > -- John **= Email 5 ==========================** Date: Wed, 12 Feb 2003 12:29:13 +0100 (CET) From: Stefan Neis Subject: Re: Getting to grips with Texinfo On Tue, 11 Feb 2003, John Poltorak wrote: > Is there any way of updating this file to take account of all the INFO > files in the directory? Sure, the dir file is a normally editable text file, essentially, you just have to take care of the proper "magical" markers, i.e. entries have the form * TITLE(filename): description. the important characters being "*" and "(", ")". Also, it IMHO makes much sense to reorder the entries a bit and try to divide it into reasonable sections. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 6 ==========================** Date: Wed, 12 Feb 2003 12:49:42 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Terminal colours On Wed, 12 Feb 2003, John Poltorak wrote: > On Wed, Feb 12, 2003 at 11:19:52AM -0500, Thomas E. Dickey wrote: > > On Wed, 12 Feb 2003, John Poltorak wrote: > > > > > > > > How does one change colours for a given TERM? > > > > > > Do you need to create a new entry in termcap or terminfo for every colour > > > combination you want to use? > > > > not exactly. You set the foreground (text) and background colors by > > sending a string that has a color (0-7) selected, e.g., > > [30m > > How do I set these from a cmd file? well - you can, but probably don't want to bother: tput setaf 5 tput setab 4 The caveat is that any application can reset them. > > where the the "0" is the 0th color. Most of the terminal descriptions for > > colors allow 8 independent foreground and background colors, allowing 64 > > combinations. > > I thought there were other descriptors besides bg and fg... There's a non-ANSI pair (setf/setb), but it's not needed. The other parameters tell how to reset the colors, and how many are available. -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 7 ==========================** Date: Wed, 12 Feb 2003 13:10:57 -0500 From: "Kenn Yuill" Subject: Re: XMOVE ? ** Reply to note from "Steve Wendt" ** ** Dated Wed, 05 Feb 2003 at 09:40:16 -0800 (PST) **  On Wed, 5 Feb 2003 10:00:33 +0000, John Poltorak wrote:   >I'm trying to find an equivalent of XCOPY but for moving files instead of  >copying them from one directory tree to another...   I use mov from the fm2 utils... Normally, I do as well, MOV compiled: Jul 18 1995 23:11:26 Usage: MOV source [target [/o] [/f] [/h] [/t] [/r]] Same basic format as OS/2's MOVE command except it can move between different drives and can allow overwriting. /f means don't force-delete when moving between drives (allow UNDELETE recovery). /o means overwrite existing files. /h means move hidden files. /t means move system files. /r means move readonly files. Wildcards are supported in source and/or target. Hector wuz here. but often use Move.exe from JdeBP's CMD Interpreter. MOVE Move files and directories (c) Copyright 1999-2002 Jonathan de Boyne Pollard. All Rights Reserved. Usage: MOVE [/?] [/A[+|-]drash] [/S[+|-]drash] [/OLDSRCDIR[-|+]] [/E/N/Q/U/Z[-|+]] Filespecs... Filespec /A Select files by the given attribute rule /E Do not display non-fatal error messages /N Simulate operation without moving files /Q Operate quietly without displaying filenames /S Scan subdirectories recursively /U Do not display summary information after processing all files /NEW Only move if the target does not exist /UPDATE Move if the target is older than the source or the target does not exist /FRESHEN Move if the target exists and is older than the source /OLDSRCDIR Duplicate a wildcard search quirk of IBM's 16-bit command interpreter /Z Override read-only protection -- Ciao, Kenn __________________________________________________________ Always act as if life is a joyous journey. - Kenn Yuill Polarbar Team - Tester & Eternal Newbie OS/2 Warp4 FP15 DD2, IBM JDK 1.1.8, PbM 1.25rc5 (Bld.1955) __________________________________________________________ - A Thought for Today - 12 Feb 2003 Lessons I've Learned (by Andy Rooney): That you should never say no to a gift from a child. **= Email 8 ==========================** Date: Wed, 12 Feb 2003 13:13:03 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: TERMCAP.DAT On Wed, 12 Feb 2003, Stefan Neis wrote: > On Wed, 12 Feb 2003, John Poltorak wrote: > > > Is there a definitive TERMCAP.DAT that I should use for OS/2? > > > > EMX comes with one, and XFree86 provides another. It looks as though the > > one in XFree86 is a superset of the one in EMX. Should we use that? > > BTW, how exactly is interaction between ssh and termcap? While I have > something reasonably readable when using e.g. less on OS/2, I end up > with almost unreadable man pages (e.g. bold print gets rendered as > dark blue on black ...) when logging into a remote linux box via ssh. Is > that termcap's responsibility (and on which of the two boxes) or is this > an ssh problem? that's a recent (mis)feature of groff, e.g., as installed in redhat 8.0. I seem to recall that it's hardcoded (ignores termcap), but will have to check that. agree: the color choice is poor -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 9 ==========================** Date: Wed, 12 Feb 2003 13:15:04 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Terminal colours On Wed, 12 Feb 2003, Stefan Neis wrote: > On Wed, 12 Feb 2003, John Poltorak wrote: > > > > How do I set these from a cmd file? > > Just to get a feeling of what you can do, you could try my favourite > prompt in some cmd.exe window: > SET PROMPT=$e[35;1m$d $t$h$h$h$_$e[37;1m[$p]$e[0m > > In general, it's somewhat difficult to transmit the escape character to > the terminal which can be 'escaped' by "$e" in the prompt setting. > If a suitable editor, it might be possible to directly put the escape > character into an echo command within a .cmd file. I seem to remember > that I tried it several years ago, just for fun, and it worked... It's relatively simple to redirect the output from tput, e.g., set foo="something `tput setaf 1` colored`tput op`: " -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 10 ==========================** Date: Wed, 12 Feb 2003 14:07:47 +0000 From: John Poltorak Subject: Re: Getting to grips with Texinfo On Wed, Feb 12, 2003 at 11:50:46AM +0000, John Poltorak wrote: > On Wed, Feb 12, 2003 at 12:29:13PM +0100, Stefan Neis wrote: > > On Tue, 11 Feb 2003, John Poltorak wrote: > > > > > Is there any way of updating this file to take account of all the INFO > > > files in the directory? > > > > Sure, the dir file is a normally editable text file, essentially, you just > > have to take care of the proper "magical" markers, > > It looks as though some apps automatically update the DIR file when > installing new INFO files for the app. I just wondered how they did this... It seems to be done with a program called 'install-info' - part of Texinfo... > > i.e. entries have > > the form > > * TITLE(filename): description. > > the important characters being "*" and "(", ")". > > > > Also, it IMHO makes much sense to reorder the entries a bit and try to > > divide it into reasonable sections. > > Can you provide an example of what you mean? Install-info may be able to do this automatically. > > Regards, > > Stefan > > -- > > Micro$oft is not an answer. It is a question. The answer is 'no'. > > > > > -- > John > > **= Email 11 ==========================** Date: Wed, 12 Feb 2003 15:04:41 +0100 (CET) From: Stefan Neis Subject: Re: Getting to grips with Texinfo On Wed, 12 Feb 2003, John Poltorak wrote: > It looks as though some apps automatically update the DIR file when > installing new INFO files for the app. I just wondered how they did this... Their makefile might grep for the entry and append it to the dir file? I don't really now, I'm just guessing blindly... > Can you provide an example of what you mean? For my personal use, I'm using something like > EMACS-related > ============== > * emacs(emacs): ... > * elisp(elisp): ... > .... > * various emacs-modes (...): ... > .... > > GCC-related > =========== > * gcc(gcc): ... > * binutils(binutils): ... > .... > > misc tools > =========== > Entries for bison, sh-utils, file-utils, text-utils, flex etc. I hope you get the idea. Personally, I find that it's much easier in this scenario to find something then if it's strictly alphabetically ordered or totally unordered like in the SuSE default file. > Is there any way to go back to the previous headig on a page? > > TAB takes you to the next one, but Shift-TAB doesn't go back as I would > have expected... No idea, I'm using arrow keys for navigation ... > Is any of this keyboard mapping configurable? Possibly only by patching the source code. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 12 ==========================** Date: Wed, 12 Feb 2003 15:14:00 +0000 From: John Poltorak Subject: Terminal colours How does one change colours for a given TERM? Do you need to create a new entry in termcap or terminfo for every colour combination you want to use? -- John **= Email 13 ==========================** Date: Wed, 12 Feb 2003 16:03:50 +0000 From: John Poltorak Subject: BZIP2 problem There appears to be a problem with the OS/2 port of BZIP2 v1.0.2... When a file is compressed, it does not retain the datestamp of the original file as it does on other platforms, but uses the current date as the date for the file. -- John **= Email 14 ==========================** Date: Wed, 12 Feb 2003 17:26:36 +0000 From: John Poltorak Subject: TERMCAP.DAT Is there a definitive TERMCAP.DAT that I should use for OS/2? EMX comes with one, and XFree86 provides another. It looks as though the one in XFree86 is a superset of the one in EMX. Should we use that? -- John **= Email 15 ==========================** Date: Wed, 12 Feb 2003 17:29:18 +0000 From: John Poltorak Subject: Re: Terminal colours On Wed, Feb 12, 2003 at 11:19:52AM -0500, Thomas E. Dickey wrote: > On Wed, 12 Feb 2003, John Poltorak wrote: > > > > > How does one change colours for a given TERM? > > > > Do you need to create a new entry in termcap or terminfo for every colour > > combination you want to use? > > not exactly. You set the foreground (text) and background colors by > sending a string that has a color (0-7) selected, e.g., > [30m How do I set these from a cmd file? > where the the "0" is the 0th color. Most of the terminal descriptions for > colors allow 8 independent foreground and background colors, allowing 64 > combinations. I thought there were other descriptors besides bg and fg... > -- > T.E.Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 16 ==========================** Date: Wed, 12 Feb 2003 18:36:31 +0100 (CET) From: Stefan Neis Subject: Re: Getting to grips with Texinfo On Wed, 12 Feb 2003, John Poltorak wrote: > > > divide it into reasonable sections. > > > > Can you provide an example of what you mean? > > Install-info may be able to do this automatically. Judging by all the auto-generated dir files that I have seen in the past, I suppose that it can't. :-( Regards, Stefan **= Email 17 ==========================** Date: Wed, 12 Feb 2003 18:48:11 +0100 (CET) From: Stefan Neis Subject: Re: Terminal colours On Wed, 12 Feb 2003, John Poltorak wrote: > > How do I set these from a cmd file? Just to get a feeling of what you can do, you could try my favourite prompt in some cmd.exe window: SET PROMPT=$e[35;1m$d $t$h$h$h$_$e[37;1m[$p]$e[0m In general, it's somewhat difficult to transmit the escape character to the terminal which can be 'escaped' by "$e" in the prompt setting. If a suitable editor, it might be possible to directly put the escape character into an echo command within a .cmd file. I seem to remember that I tried it several years ago, just for fun, and it worked... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 18 ==========================** Date: Wed, 12 Feb 2003 18:53:57 +0100 (CET) From: Stefan Neis Subject: Re: TERMCAP.DAT On Wed, 12 Feb 2003, John Poltorak wrote: > Is there a definitive TERMCAP.DAT that I should use for OS/2? > > EMX comes with one, and XFree86 provides another. It looks as though the > one in XFree86 is a superset of the one in EMX. Should we use that? BTW, how exactly is interaction between ssh and termcap? While I have something reasonably readable when using e.g. less on OS/2, I end up with almost unreadable man pages (e.g. bold print gets rendered as dark blue on black ...) when logging into a remote linux box via ssh. Is that termcap's responsibility (and on which of the two boxes) or is this an ssh problem? Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 19 ==========================** Date: Wed, 12 Feb 2003 19:02:45 -0600 (CST) From: "xyzyx" Subject: Re: rdesktop On Wed, 12 Feb 2003 11:39:57 -0500, Ted Sikora wrote: >http://www.rdesktop.org/ > >Might be worth porting. Been playing with it for X Terminals. Seems to >work real well. Are there any native OS/2 Win Terminal Services clients? There is an OS/2 port already by Jacco de Leeuw: http://www.jacco2.dds.nl/rdesktop/ Thanks, Paul **= Email 20 ==========================** Date: Wed, 12 Feb 2003 19:38:47 +0000 From: John Poltorak Subject: Re: Getting to grips with Texinfo On Wed, Feb 12, 2003 at 06:36:31PM +0100, Stefan Neis wrote: > On Wed, 12 Feb 2003, John Poltorak wrote: > > > > > divide it into reasonable sections. > > > > > > Can you provide an example of what you mean? > > > > Install-info may be able to do this automatically. > > Judging by all the auto-generated dir files that I have > seen in the past, I suppose that it can't. :-( If you run 'install-info --help' you will see a number of options such as:- --entry=TEXT --setion=SEC I think they could provide quite a degree of customisation of the DIR file... > Regards, > Stefan > -- John