* paste in dosemu 1.4 under Ubuntu Jaunty
@ 2009-11-25 21:55 Bonnie Dalzell
2010-01-11 12:52 ` aja_by_steely_dan
0 siblings, 1 reply; 4+ messages in thread
From: Bonnie Dalzell @ 2009-11-25 21:55 UTC (permalink / raw)
To: linux-msdos
I have an odl dos application I use dosemu to run. It is a sort of
database and it runs very well with dosemu.
however cut and paste is very very erratic and it is very useful for me
to be able to cut from text displayed under ubuntu and be able to
paste into the dosemu window.
pasting by pushing both left and right mouse buttons at the same time is
consistant for me in a linux shell window but very unpredictable with
dosemu.
any suggestions would be appreciated as retyping things takes more time
and introduces typos.
Thanks again.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bonnie Dalzell, MA
mail:5100 Hydes Rd PO Box 60, Hydes,MD,USA 21082-0060|EMAIL:bdalzell@qis.net
Freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
HOME www.batw.net ART bdalzellart.batw.net BUSINESS www.boardingatwedge.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* paste in dosemu 1.4 under Ubuntu Jaunty
@ 2009-12-01 15:55 Raphael Tennenbaum
0 siblings, 0 replies; 4+ messages in thread
From: Raphael Tennenbaum @ 2009-12-01 15:55 UTC (permalink / raw)
To: linux-msdos
>
> I have an odl dos application I use dosemu to run. It is a sort of database and it runs very well with dosemu.
>
> however cut and paste is very very erratic and it is very useful for me to be able to cut from text displayed under ubuntu and be able to paste into the dosemu window.
>
> pasting by pushing both left and right mouse buttons at the same time is consistant for me in a linux shell window but very unpredictable with dosemu.
>
> any suggestions would be appreciated as retyping things takes more time and introduces typos.
>
> Thanks again.
what kind of problems are you encountering? you know there's a
difference between DOS text and Unix text, right?
for my own purposes, I've created a batchfile while converts the
contents of the clipboard from Unix to DOS format, and then writes the
reformatted clipboard contents to a textfile, which I then merge into
the desired place in my DOS app. I can point you in the right direction
if you're curious.
-rafe t.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: paste in dosemu 1.4 under Ubuntu Jaunty
2009-11-25 21:55 Bonnie Dalzell
@ 2010-01-11 12:52 ` aja_by_steely_dan
2010-01-11 14:47 ` aja_by_steely_dan
0 siblings, 1 reply; 4+ messages in thread
From: aja_by_steely_dan @ 2010-01-11 12:52 UTC (permalink / raw)
To: linux-msdos
On Wed, 25 Nov 2009 16:55:43 -0500 (EST)
Bonnie Dalzell <bdalzell@qis.net> wrote:
> any suggestions would be appreciated as retyping things takes more time
> and introduces typos.
Hi
If your database has macro and if can execute command line program,
maybe you can cut and paste the text on dosemu <-> X-Window applications.
I use my favorite dos text editor on debian lenny dosemu,
and make a macro to do cut and paste without using the mouse.
Like this macro (execute on text window of my editor)
(1)"save to clip"
Make a temporary file of the text I want to paste to the X applis
(ex. d:\tmp\cilp.tmp = ~/tmp/clip.tmp )
On dos command line, execute the unix.com of the dosemu
"Unix ~/tmp/clip.sh"
clip.sh
------------------------------------------------------------------------
#!/bin/bash
iconv -f Shift_JISX0213 -t UTF-8 -c ~/tmp/clip.tmp -o ~/tmp/clip.utf
cat ~/tmp/clip.utf | tr -d "\r" | xsel -i -b > err.txt 2>&1
echo "#!/bin/bash" > ~/tmp/killxsel
ps | grep -i ' xsel$' | sed -e "s/^ \([0-9]\+\).\+$/kill -9 \1/" >> ~/tmp/killxsel
chmod +x ~/tmp/killxsel
~/tmp/killxsel
------------------------------------------------------------------------
And I can paste the text on gedit or Firefox or ....
(2)"insert from clip"
copy or cut the text on gedit or Firefox or ...
On dos command line, execute the unix.com of the dosemu
"Unix xsel -p > d:\tmp\clip.utf"
or
"Unix xsel -b > d:\tmp\clip.utf"
"Unix iconv -f UTF-8 -t Shift_JISX0213 -c ~/tmp/clip.utf -o ~/tmp/clip.tmp"
And insert the temporary file to the text of the editor window
* xsel is a linux command
...........
Thak you for all who have developed this wonderful dosemu program,
I can still use my favorite dos text editor !!
--
- aja_by_steely_dan -
VZ Editor / DOS / DOSBox http://aja.seesaa.net/
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: paste in dosemu 1.4 under Ubuntu Jaunty
2010-01-11 12:52 ` aja_by_steely_dan
@ 2010-01-11 14:47 ` aja_by_steely_dan
0 siblings, 0 replies; 4+ messages in thread
From: aja_by_steely_dan @ 2010-01-11 14:47 UTC (permalink / raw)
To: linux-msdos
On Mon, 11 Jan 2010 21:52:34 +0900
aja_by_steely_dan <aja_by_steely_dan@yahoo.co.jp> wrote:
> (1)"save to clip"
> clip.sh
I forgot to tell one thing.
To use unix.com and xsel like this,
you need to install glliper into gnome.
--
- aja_by_steely_dan -
VZ Editor / DOS / DOSBox http://aja.seesaa.net/
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-11 14:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 15:55 paste in dosemu 1.4 under Ubuntu Jaunty Raphael Tennenbaum
-- strict thread matches above, loose matches on Subject: below --
2009-11-25 21:55 Bonnie Dalzell
2010-01-11 12:52 ` aja_by_steely_dan
2010-01-11 14:47 ` aja_by_steely_dan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox