seanp@amix.commodore.com (Sean Petty) (03/29/91)
All day at work I find myself typing things in at work using the
"real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come
home and have to type in filenames seperated by the out-of-the-way
psuedo-slash (\)...
My question is... Short of staying at work for the rest of my life,
is there a DOS patch, or a TSR, or any type of program or fix which
will allow me to seperate filenames with the (/) slash on my MS-DOS
PC?
Help!
Sean
----
Sean Petty |INTERNET: undrground!seanp@amix.commodore.com
| UUCP: uunet!cbmvax!amix!undrground!seanp
"In order to make anything from | ICBM: 39.58.1' North 75.61.1' West
scratch, you must first create | 50/50: seanp@undrground.UUCP
the universe." - Carl Sagan | seanp@amix.commodore.com
seanp@amix.commodore.com (Sean Petty) (03/29/91)
Ove gootion: A NeD.k Beneath the Earth - The Underg#1#0o Empire.
Lines: 23
All day at work I find myself typing thO$jdin at work using the
"real" backslash ( /etc/passwd, /usr/spool, etc.)..
I
n I come
home and have to type in filenames seperated by the out-of-the-way
psuedo-slash (\)..
My ded.is... Short of staying at work for the rest of my life,
is there a DOS patch, or a TSR, or any type of program or fix which
will allow me to seperate filenames with the (/) flash on my MS-DOS
PC?
Help!
Sean
----
Sean Petty |INTERNET: undrg#1#0o!seanp@amix.commodore.com
| UUCP: uunet!cbmvax!amix!undrg#ound!seanp
"In order to make anything from | ICBM: 39.58.1' North 75.61.1' West
scratch, you must first ul D!te | 50/50: seanp@undrg#ound.UUCP
the universe." - Carl Sagan | seanp@amix.commodore.com
#! rnews 1182e>nnac-tyo-news!ccut!sun-barr!olivea!samsung!zaas.ohio-sth ndu!rpi!news-server.csri.toronto.edu!utgpu!cunews!bnrgate!brtph3!b
chem194@csc.canterbury.ac.nz (John Davis) (04/03/91)
In article <D95JZ1w164w@undrground.UUCP>, undrground!seanp@amix.commodore.com (Sean Petty) writes: > All day at work I find myself typing things in at work using the > "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come > home and have to type in filenames seperated by the out-of-the-way > psuedo-slash (\)... > > My question is... Short of staying at work for the rest of my life, > is there a DOS patch, or a TSR, or any type of program or fix which > will allow me to seperate filenames with the (/) slash on my MS-DOS > PC? It's easier than that, DOS provides a call to set what the switch character actually is (the default is '/'). Hence, it's easy to change it to whatever you like (for example '-' if you're used to unix). Once the switch-char isn't '/', you're free to use '/' in path names (internally dos treats / and \ identically as far as path names are concerned). The only problem is a) some programs don't bother to ask dos what the switch character is, and simply assume /, so for those you need to use the old-style path names b) it seems DOS4.xx no longer supports the call - you can set the switch character, but it'll have no affect. suitable application of a binary editor can fix a), not much you can do about b) the following program will let you achieve what you want... begin 644 switch.zoo M6D]/(#(N,#`@07)C:&EV92X:``#<I\3]*@```-;___\"``$````````!W*?$+ M_0(!90<``'$```#%%+%9Y5V+"P``]`8```$```````````!S=VET8V@N9&]CS M`#E&"@!_=E4`````````````0"DC*```I]Q)0V<,&A=DWHQIH*"%PX<0&3)$K M$L9.&1!YWM0!4<:B'!!CWK2Y*";,F#4@Z+S!J/$C"CHIY-290R</""A#0(0Q@ M0Z?,QYEIW)S1Z<9F%3=I\#!L8Q)-T#(LB)(!,5*.G#1L;-:$4V;JB3%37\"1V M\T9-F3%TYIR0"N+.&S=D?'9MB\8F01!DTI!Q<X(.0[=R4/[X`:*(1Q!GRM`!< M869N'3AM":(!(:=,TZ!#S;SY2`?-13AO-F<%`8>-R;DGN*Q=4R;/7\]N4GH&W M<>+%VC1S0`352;6.0:J;+U9N&D8,F\^FQUP<+%$!%:>YV1"D<QQ$'3I8"=K-8 MW?EB&#=S[OAT`6)*F3)M<A-Y,D5WVC)LS("8\QBTG+0@Q+SI3%LUP^]>V<86N M'&'P-T<9!,I1X&8@H1&&''-$1=`)N:DQTV)A4%5@3Q^](9]!WYV!F6QE,+1>N M>V_`@=U;M(5'D$%K@:@@6CZEM-(<(BGFE%`@?+&?9W)\(=MWM`FHDDYLL/'&7 M'0QU9]V!('C(D60UYE496FFP.(=I<WB6FV8?$=C9'"XT]X0;RLTW4$&3X499$ M';&AP%9&=9Q@T7R*D:CFBY/):.-\.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]O&6P<"QX9R4EZA#)DY M>)\"BN`$(KA``P$!W*?$_0(`````````````````````````````````````] 7````````````````````````````_(,`3 `` end ----------------------------------------------------------- | o John Davis - CHEM194@canterbury.ac.nz o | | o (Depart)mental Programmer,Chemistry Department o | | o University of Canterbury, Christchurch, New Zealand o |
jerry@TALOS.UUCP (Jerry Gitomer) (04/09/91)
undrground!seanp@amix.commodore.com (Sean Petty) writes: | All day at work I find myself typing things in at work using the | "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come | home and have to type in filenames seperated by the out-of-the-way | psuedo-slash (\)... | My question is... Short of staying at work for the rest of my life, | is there a DOS patch, or a TSR, or any type of program or fix which | will allow me to seperate filenames with the (/) slash on my MS-DOS | PC? | Help! |Sean Add the following to your prompt: $e[047;092p$e[045;047p$e[092;045p This will convert / to \ - to / \ to - Note that these changes take effect at the command level and that many (most?) MS-DOS programs will ignore your assignments. Jerry -- Jerry Gitomer at National Political Resources Inc, Alexandria, VA USA I am apolitical, have no resources, and speak only for myself. Ma Bell (703)683-9090 (UUCP: (until 4/15) ...uupsi!pbs!npri6!jerry
steveha@microsoft.UUCP (Steve HASTINGS) (04/11/91)
In article <D95JZ1w164w@undrground.UUCP>, undrground!seanp@amix.commodore.com (Sean Petty) writes: > is there a DOS patch, or a TSR, or any type of program or fix which > will allow me to seperate filenames with the (/) slash on my MS-DOS PC? You can use programs that reset the MS-DOS internal switch character, but that can lead to incompatibility problems with some programs. Years ago, I used a public domain program called SWITCHAR.COM to set the internal switch character to '/', and certain programs that used overlays stopped working. My theory was that DOS now wanted forward slashes, and these programs were still using the backward slashes, so that's why it didn't work. Also, some programs parse the command line themselves, and don't check the MS-DOS internal switch char. The solution I have been using for years is the Thompson Toolkit (formerly known as PolyShell). Thompson Toolkit is a UNIX-compatible shell that attempts to blend the best of the DOS and the UNIX environments. IMHO, it succeeds. It comes with the utilities you would expect: mv, cp, rm, ls, find, more, and so on. All Thompson Toolkit utilities accept either '/' or '\', or any combination thereof, and the shell itself has a translation mode where it will map '/' to '\' for you. So you type the '/' you are comfortable with, but the program being run sees it as the '\'. It can also translate '-' to '/' if you wish. Note that using Thompson Toolkit instead of changing the internal switch character won't help you *inside* applications: any paths you type inside and application will have to use the normal '\' character. But I find that almost all the paths I type are in the shell. Thompson Toolkit is available from Thompson Automation, (503) 224-1639. It costs $149 for DOS alone, $179 for both OS/2 and DOS, and you can get Thompson AWK bundled with it for an extra charge. Thompson AWK is very useful and well worth having. I have no connection with Thompson Automation except that I am a very satisfied customer. -- Steve "I don't speak for Microsoft" Hastings ===^=== ::::: uunet!microsoft!steveha steveha@microsoft.uucp ` \\==|
landers@zeus.mgmt.purdue.edu (Christopher Landers) (04/11/91)
In article <1786@TALOS.UUCP> jerry@TALOS.UUCP (Jerry Gitomer) writes: >undrground!seanp@amix.commodore.com (Sean Petty) writes: >| All day at work I find myself typing things in at work using the >| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come >| home and have to type in filenames seperated by the out-of-the-way >| psuedo-slash (\)... In point of typographical puctational fact: / is a slash A computer mfg. at somepoint invented : \ a backwards slash or backslash There is nothing pseudo about it, it's a real symbol! Neither has intellectual or practical superiority as a directory seperator (except that the slash is in a constant place on the keyboard and various keyboard and computer mfgrs. keep moving the backslash). It's all a matter of which you first started learning to use. I can assure you that people who have used PC's for years and have only recently started using UNIX find the slash just as uncomfortable to use. And no one likes to switch back and forth. Scan your favorite FTP site for SETCHAR, to make your PC use the slash. -- <================================><===============================> || Christopher Landers || PURDUE UNIVERSITY - KRAN 708 || || Krannert Computing Center || West Lafayette, IN 47907 || <=================== landers@zeus.mgmt.purdue.edu ================>
bucacs@ux1.cts.eiu.edu (Chicago State) (04/12/91)
In article <1991Apr11.012821.3643@zeus.mgmt.purdue.edu> landers@zeus.mgmt.purdue.edu (Christopher Landers) writes: >In article <1786@TALOS.UUCP> jerry@TALOS.UUCP (Jerry Gitomer) writes: >>undrground!seanp@amix.commodore.com (Sean Petty) writes: >>| All day at work I find myself typing things in at work using the >>| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come >>| home and have to type in filenames seperated by the out-of-the-way >>| psuedo-slash (\)... > >Scan your favorite FTP site for SETCHAR, to make your PC use the slash. There is an undocumented DOS function to change the backslash directory seperator to the slash: switchchar - According to "UNIX System V Release 4: An Introduction", DOS was initially patterned after UNIX and remembers the original slash delimiter. Carlos "What's a file structure?" Butler
jerry@TALOS.UUCP (Jerry Gitomer) (04/15/91)
bucacs@ux1.cts.eiu.edu (Chicago State) writes: |In article <1991Apr11.012821.3643@zeus.mgmt.purdue.edu| landers@zeus.mgmt.purdue.edu (Christopher Landers) writes: ||In article <1786@TALOS.UUCP| jerry@TALOS.UUCP (Jerry Gitomer) writes: |||undrground!seanp@amix.commodore.com (Sean Petty) writes: |||| All day at work I find myself typing things in at work using the |||| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come |||| home and have to type in filenames seperated by the out-of-the-way |||| psuedo-slash (\)... || ||Scan your favorite FTP site for SETCHAR, to make your PC use the slash. | There is an undocumented DOS function to change the backslash directory |seperator to the slash: | switchchar - | According to "UNIX System V Release 4: An Introduction", DOS was |initially patterned after UNIX and remembers the original slash delimiter. |Carlos "What's a file structure?" Butler Unfortunately switchchar is not found in all versions of PS/MS DOS, but specifying the translation in the PROMPT *always* works. Jerry -- Jerry Gitomer at National Political Resources Inc, Alexandria, VA USA I am apolitical, have no resources, and speak only for myself. Ma Bell (703)683-9090 (UUCP: (until 4/15) ...uupsi!pbs!npri6!jerry
ntaib@silver.ucs.indiana.edu (Nur Iskandar Taib) (04/16/91)
> There is an undocumented DOS function to change the backslash directory >seperator to the slash: > switchchar - Hmmph.. doesn't seem to work for me. It says bad command or filename. DOS 4.01 PS/2 Model 50 -- ------------------------------------------------------------------------------- Iskandar Taib | The only thing worse than Peach ala Internet: NTAIB@AQUA.UCS.INDIANA.EDU | Frog is Frog ala Peach Bitnet: NTAIB@IUBACS ! -------------------------------------------------------------------------------
dbt3500@isc.rit.edu (D.B. Terpening ) (04/16/91)
In article <1991Apr11.203022.5407@ux1.cts.eiu.edu> bucacs@ux1.cts.eiu.edu (Chicago State) writes: >In article <1991Apr11.012821.3643@zeus.mgmt.purdue.edu> landers@zeus.mgmt.purdue.edu (Christopher Landers) writes: >>In article <1786@TALOS.UUCP> jerry@TALOS.UUCP (Jerry Gitomer) writes: >>>undrground!seanp@amix.commodore.com (Sean Petty) writes: >>>| All day at work I find myself typing things in at work using the >>>| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come >>>| home and have to type in filenames seperated by the out-of-the-way >>>| psuedo-slash (\)... >> > > There is an undocumented DOS function to change the backslash directory >seperator to the slash: > switchchar - What DOS function are we talking about here? Could someone e-mail me any information/documentation they might have? Thanks. -- Devon Blair dbt3500@ultb.isc.rit.edU
kens@hplsla.HP.COM (Ken Snyder) (04/17/91)
/ @nkkgwy.HP.COM asks: > My ded.is... Short of staying at work for the rest of my life, > is there a DOS patch, or a TSR, or any type of program or fix which > will allow me to seperate filenames with the (/) flash on my MS-DOS > PC? Mortise Kerns Systems has the answer to this problem and a whole lot more with their MKS toolkit. This will not only allow you to change your backslashes to slashes but provide you with a kshell complete with ls, grep, find, cpio, vi and about 80 other unix commands. As a unix hacker myself, the MKS toolkit makes my home PC a productive tool instead of the DOS toy I purchased! :-) I've even aliased the cd, cp and mkdir commands to the unix equivalents so wildcard characters work the way they are supposed to instead of the way DOS translates them. And for writing scripts to get the job done, let's see, do I have to do anything more than echo a message and start a program? If the answer is yes, time to use the kshell! OK, DOS isn't quite as powerless as I've portrayed but it sure is nice to have all my unix commands available on the PC. If you want to stay with DOS and still change your '\' to '/' you can try 4DOS which replaces COMMAND.COM. It has a much more powerful command set than DOS and the flexibility to change the separator and parameter chars. It's also shareware (so you can try it) and cheap (so you can buy it!) One unix/dos hacker's opinion, Ken
c60b-1eq@e260-1f.berkeley.edu (Noam Mendelson) (04/18/91)
In article <12990005@hplsla.HP.COM> kens@hplsla.HP.COM (Ken Snyder) writes: >/ @nkkgwy.HP.COM asks: >> is there a DOS patch, or a TSR, or any type of program or fix which >> will allow me to seperate filenames with the (/) flash on my MS-DOS >> PC? > If you want to stay with DOS and still change your '\' to '/' you can >try 4DOS which replaces COMMAND.COM. It has a much more powerful command >set than DOS and the flexibility to change the separator and parameter >chars. It's also shareware (so you can try it) and cheap (so you can >buy it!) A better idea: get the PICNIX package for the PC (available on many FTP sites). It has many UN*X equivalents such as ls, rm, cp, mv, du, df, more, cat, head, tail, etc. And these programs will accept slashes in filenames (in fact, they'll abort if you _don't_ use slashes). BTW, I'd recommend you switch to 4DOS anyway since it is an excellent replacement for COMMAND.COM. -- +==========================================================================+ | Noam Mendelson ..!agate!ucbvax!web!c60b-1eq | "I haven't lost my mind, | | c60b-1eq@web.Berkeley.EDU | it's backed up on tape | | University of California at Berkeley | somewhere." |
ts@uwasa.fi (Timo Salmi) (04/19/91)
In article <71799@microsoft.UUCP> steveha@microsoft.UUCP (Steve Hastings) writes: >In article <D95JZ1w164w@undrground.UUCP>, undrground!seanp@amix.commodore.com (Sean Petty) writes: >> is there a DOS patch, or a TSR, or any type of program or fix which >> will allow me to seperate filenames with the (/) slash on my MS-DOS PC? > >You can use programs that reset the MS-DOS internal switch character, but >that can lead to incompatibility problems with some programs. Years ago, I >used a public domain program called SWITCHAR.COM to set the internal switch >character to '/', and certain programs that used overlays stopped working. : Yes, that's right. Having written one of the many PD switchar programs (mine is in /pc/ts/tsutld18.arc at garbo.uwasa.fi) that are in public circulation, I have noticed that some programs do cause problems after the switch has been made. The difference of / and \ is fortunately rarely a problem. On some keyboards (like the Finnish one I'm using) both are awkward, since both are two keypresses away. Therefore, if have at my path a special batch for changing directories using c directory subdirectory rather than cd \directory\subdirectory ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
glennm@rover.enet.dec.com (Glenn Meyer) (04/21/91)
.> >In article <1991Apr11.012821.3643@zeus.mgmt.purdue.edu> landers@zeus.mgmt.purdue.edu (Christopher Landers) writes: > >>In article <1786@TALOS.UUCP> jerry@TALOS.UUCP (Jerry Gitomer) writes: > >>>undrground!seanp@amix.commodore.com (Sean Petty) writes: > >>>| All day at work I find myself typing things in at work using the > >>>| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come > >>>| home and have to type in filenames seperated by the out-of-the-way > >>>| psuedo-slash (\)... > >> > > > > There is an undocumented DOS function to change the backslash directory > >seperator to the slash: > > switchchar - Be careful about changing the switch character. Some utilities and applications, and Windows 3.0, don't recognize the change in switch character, and still expect '\' when they prompt you for pathnames, and expect '/' in command-line switches. If you don't believe that, try something like xcopy a:/somedir c:/otherdir -s -e after you've change the switch character to '-'